Commit Graph

190 Commits

Author SHA1 Message Date
wiz f60aa003a7 Fix Dd argument (no leading zeroes). New sentence, new line. 2010-04-06 22:41:41 +00:00
tnn a7963e184a The pxeboot manpage implies that boot.cfg gets loaded by default,
but this is no longer true following i386/stand/pxeboot/main.c v1.23.
2010-04-06 20:15:22 +00:00
wiz dc0cd1890b Properly remove w95boot(8).
Hi Ty!
2009-10-23 08:32:06 +00:00
tsarna 074b6b7f4d Remove w95boot(8) manpage, long past being useful. 2009-10-22 23:04:59 +00:00
apb a9dda51fb1 Add cross references to new boothowto(9) man page. 2009-09-04 23:29:02 +00:00
ahoka 2638650e6f Document the vesa command. 2009-09-01 21:30:17 +00:00
wiz 86c9c96e53 New sentence, new line. Use \e for a backslash.
Sort option descriptions.
2009-05-18 14:46:51 +00:00
wiz 083ea99d48 New sentence, new line. Mark up path with .Pa. 2009-05-18 12:26:15 +00:00
wiz dfc0d0bdf2 Drop trailing whitespace. 2009-04-10 23:22:30 +00:00
perry f6bc268dff Make this reflect reality more -- next-server is necessary, there is
now this boot.cfg thing, etc. Also add a reasonable hint on how to set
up dhcp for booting install kernels via tftp.
2009-04-10 21:11:28 +00:00
joerg 3a3d9fcecf Don't workaround ancient macro argument limit with .Xo/.Xc. 2009-03-11 19:26:09 +00:00
joerg 997634fe14 Fix preamble to match order set out by mdoc(7). Discussed with wiz. 2009-03-09 19:24:26 +00:00
apb b6f5a7e64f Improve the description of what the "-c" (RB_USERCONF) flag does. 2008-10-30 09:49:23 +00:00
sborrill fb3d071819 Correct existing Xen example and add Xen with serial console example.
Refer to boot.cfg(5) for Xen examples from boot(8).
2008-10-15 14:32:26 +00:00
wiz 34edb0b49f Typo fix and punctuation nit. 2008-10-14 09:29:40 +00:00
apb 76b1d72406 Update lists of options (sync with i386/boot(8) man page). 2008-10-13 20:41:21 +00:00
apb 055794e083 Update i386/boot(8) man page:
* Explain that the native boot protocol sets flags in boothowto,
  while multiboot passes args as strings.
* Add missing option letters.
* For each option letter, say which flag it sets in boothowto.
* Describe the "load" and "multiboot" commands.
* Xr multiboot(8).
* Some chnges in wording.
2008-10-13 20:40:25 +00:00
pgoyette 23970ca9fd OOooops, part of this had already been done. Remove duplicate descriptions
of -1 and -2 options.  Reorder the synopsis line to put the numeric options
before the alphabetic ones.
2008-10-06 21:04:51 +00:00
pgoyette 3b3e1e2687 Document the -1 and -2 options, and include this in amd64 as well as i386
Fixes my PR/38816
2008-10-06 20:25:42 +00:00
christos 0e56257433 Document the remaining boot flags. 2008-07-31 17:08:23 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
dsl 76952d779a Describe mbr_com0 and mbr_com0_9600
Include the filenames in the descriptive table entry.
2008-01-20 15:05:15 +00:00
apb 4ed89c84f0 Synchronise shared text between man8/boot.8, man8/man8.i386/boot.8,
man8/man8.i386/dosboot.8, and man8/man8.i386/pxeboot.8.

* In all:
  - First few lines of each man page should be .Dd, .Os, .Dt, .Nm;
  - Use Nx; new sentence, new line; serial comma;
  - Update comments about which files to keep in sync.
* In MI boot(8):
  - add reference to architecture-specific boot(8);
  - add commented-out reference to boot.cfg(5);
  - reinstate BUGS heading that was lost when the MI boot.8 was
    created from i386 boot.8.
* In i386 boot.8:
  - mention -x and -z flags;
  - we can boot from media other than floppy, or from the network;
  - remove first paragraph in BUGS section now that an MI boot(8)
    man page exists.
* In i386 dosboot.8 and pxeboot.8:
  - mention -c, -x, and -z flags.
2007-12-14 12:03:53 +00:00
sborrill d849e6b356 Add support for /boot.cfg configuration file in x86 boot loader.
This allows easy configuration of banner text, console device and timeout
as well as allowing menus of commands to be displayed. If /boot.cfg
is not present, then the existing behaviour does not change.

The sections in the boot loader source are surrounded by #ifdef SMALL
allowing this functionality to be removed if space is at a premium.
2007-11-20 15:37:36 +00:00
jmmv ccf856e4f9 Remove references to the GRUB patch required to load NetBSD kernels.
Finally they can be booted by mainstream GRUB-Legacy versions -- those
included with any Linux distribution!
2006-10-25 14:02:11 +00:00
christos 83fa6c2aad Explain that the terse error message descriptions can be found in mbr.8 2006-06-29 20:24:13 +00:00
jmmv 0b879f1cfc Implement support for 'The Multiboot Specification' so that i386 kernels
can be booted directly from Multiboot-compliant boot loaders (e.g. GRUB).
See the added multiboot(8) manual page for more information.

No objections in tech-kern@; only positive comments.
2006-02-03 11:08:23 +00:00
wiz bd32aa6131 Sort sections. Uppercase BIOS. 2005-11-12 16:43:07 +00:00
dsl 391c56e7e1 Add a note that the console can be changed to a serial port by using
installboot to patch the binary.
Also note that and i386 pxeboot won't load an amd64 kernel.
2005-11-12 09:12:13 +00:00
wiz bc22bce866 Bump date for previous. 2005-01-27 18:38:20 +00:00
mycroft d2ca156552 Add a small note about the use of shift keys. 2005-01-27 18:35:41 +00:00
mycroft ace8694948 Attempt to make Perry less confused. 2004-07-03 20:04:03 +00:00
wiz 3f5a4c00b1 Bump date for previous; new sentence, new line. 2003-11-17 21:29:37 +00:00
drochner c357df8891 Update for the fact that the ':' is now required to specify an alternative
protocol:kernel to boot, explain the interpretation of boot file names
better, and add an example for setups where dhcpd's conditional
bahaviour is not deployed.
2003-11-17 20:27:45 +00:00
jdolecek 7381215ef1 switch to unified MAKEDEV(8) - the manpage now contains list of
all devices for all platforms
2003-10-24 20:26:57 +00:00
wiz 11639fb42c Bump date for previous. 2003-10-17 22:05:27 +00:00
lukem 1c33b4e6a4 Overhaul MBR handling (part 1):
<sys/bootblock.h>:
    *	Added definitions for the Master Boot Record (MBR) used by
	a variety of systems (primarily i386), including the format
	of the BIOS Parameter Block (BPB).
	This information was cribbed from a variety of sources
	including <sys/disklabel_mbr.h> which this is a superset of.

	As part of this, some data structure elements and #defines
	were renamed to be more "namespace friendly" and consistent
	with other bootblocks and MBR documentation.
	Update all uses of the old names to the new names.

<sys/disklabel_mbr.h>:
    *	Deprecated in favor of <sys/bootblock.h> (the latter is more
	"host tool" friendly).

amd64 & i386:
    *	Renamed /usr/mdec/bootxx_dosfs to /usr/mdec/bootxx_msdos, to
	be consistent with the naming convention of the msdosfs tools.

    *	Removed /usr/mdec/bootxx_ufs, as it's equivalent to bootxx_ffsv1
	and it's confusing to have two functionally equivalent bootblocks,
	especially given that "ufs" has multiple meanings (it could be
	a synonym for "ffs", or the group of ffs/lfs/ext2fs file systems).

    *	Rework pbr.S (the first sector of bootxx_*):
	    +	Ensure that BPB (bytes 11..89) and the partition table
		(bytes 446..509) do not contain code.
	    +	Add support for booting from FAT partitions if BOOT_FROM_FAT
		is defined.  (Only set for bootxx_msdos).
	    +	Remove "dummy" partition 3; if people want to installboot(8)
		these to the start of the disk they can use fdisk(8) to
		create a real MBR partition table...
	    +	Compile with TERSE_ERROR so it fits because of the above.
		Whilst this is less user friendly, I feel it's important
		to have a valid partition table and BPB in the MBR/PBR.

    *	Renamed /usr/mdec/biosboot to /usr/mdec/boot, to be consistent
	with other platforms.

    *	Enable SUPPORT_DOSFS in /usr/mdec/boot (stage2), so that
    	we can boot off FAT partitions.

    *	Crank version of /usr/mdec/boot to 3.1, and fix some of the other
	entries in the version file.

installboot(8) (i386):
    *	Read the existing MBR of the filesystem and retain the BIOS
    	Parameter Block (BPB) in bytes 11..89 and the MBR partition
	table in bytes 446..509.  (Previously installboot(8) would
	trash those two sections of the MBR.)

mbrlabel(8):
    *	Use sys/lib/libkern/xlat_mbr_fstype.c instead of homegrown code
	to map the MBR partition type to the NetBSD disklabel type.


Test built "make release" for i386, and new bootblocks verified to work
(even off FAT!).
2003-10-08 04:25:43 +00:00
pooka ed2f08d8a7 regen (isdnteld) 2003-09-19 11:14:28 +00:00
wiz 7aa5d5eb62 regen (+crypto) 2003-08-23 23:16:36 +00:00
dsl 16243ec6f5 Bring closer to reality - specify correct filenames for new boot code.
Fixes port-i386/22477
2003-08-14 09:55:29 +00:00
rafal 11595d9a7c Regen to match reality, mainly due to pf addition. 2003-08-08 16:45:14 +00:00
agc 075022b349 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22309, verified by myself.
2003-08-07 10:30:41 +00:00
wiz dc53e29867 Add i386 to Dt, now the page is arch-specific. 2003-07-16 12:06:07 +00:00
dsl 377bfc41c7 Build mbr.8 2003-07-16 11:12:43 +00:00
dsl baad6947d6 A better home than src/sbin/fdisk/mbr/mbr.8 2003-07-16 11:05:21 +00:00
wiz e4efe31690 Unused. 2003-07-09 09:35:38 +00:00
dsl f8a6eac868 Don't build the i386/installboot man page, i386 can use the MI
installboot.
2003-07-09 09:29:05 +00:00
wiz 1ad8c0c58a No -> Ns (typo, I guess). 2003-06-27 23:12:09 +00:00
wiz 2f658c2baa Remove superfluous macros or switch order of two macros. 2003-06-26 12:00:15 +00:00
wiz bc0cb610c5 Remove trailing whitespace. 2003-05-26 06:55:19 +00:00