Commit Graph

37 Commits

Author SHA1 Message Date
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
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
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
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
1ad8c0c58a No -> Ns (typo, I guess). 2003-06-27 23:12:09 +00:00
wiz
bc0cb610c5 Remove trailing whitespace. 2003-05-26 06:55:19 +00:00
fair
9c3cc1b1d4 Add pointers to pxeboot, dosboot, w95boot a little more explicitly.
Add pointer to diskless(8) from pxeboot(8) and a reference for the
PXE specification. Clarify the wording here & there.
2003-05-25 21:19:06 +00:00
lukem
5b7b2b655b Document that the flag that sets RB_ASKNAME (usually '-a') also asks
for the path to init(8).
Per discussion with Geoff Wing on the (unrelated) PR/21060.
Other consistency tweaks.
2003-04-08 03:49:44 +00:00
wiz
07d13217f3 Some e.g. cleanup: replace "eg" with "e.g.,". From Igor Sobrado in PR 19692. 2003-04-07 06:56:38 +00:00
jdolecek
4a6a2fe18b update to accompany removal of COMPAT_OLDBOOT, and no more 'wd' and 'sd'
aliases for 'hd'
2002-08-16 08:54:18 +00:00
gmcgarry
d5111c7802 Document -c flag. 2002-03-19 05:22:33 +00:00
ross
4fa402f116 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-13 08:17:26 +00:00
wiz
64f70da4c9 Drop some .Pp, use .Sx instead of .Em. 2001-12-26 01:39:09 +00:00
jdolecek
e1d5d53574 remove the mention of /usr/mdec/biosboot_ps2.sym, it no longer exist
(the support is part of standard bootblocks)
2001-10-25 21:34:30 +00:00
wiz
7baf597ac1 Punctuation fixes. 2001-09-08 01:34:37 +00:00
wiz
619b4bd7a8 Boring whitespace fixes. 2001-09-05 23:53:22 +00:00
bjh21
968546ded7 Typo fixes:
Remove an unmatched close-parenthesis.
appearently -> apparently
2000-10-01 13:45:46 +00:00
bjh21
2566becc58 Typo fix: bloxk -> block 2000-09-30 22:33:52 +00:00
jhawk
8423ae243a BUGS updates:
Observe this manpage documents biosboot, which is not i386-specific
  Note failure to parse filename after boot options.
2000-09-30 20:27:01 +00:00
hubertf
4ad90fabc3 Move description of /usr/mdec/biosboot*.sym from installboot.8 to boot.8,
pointed out by Jason Thorpe.^
2000-09-28 16:18:42 +00:00
jdolecek
b333be3980 document new -v, -q flags 2000-09-24 17:03:27 +00:00
jdolecek
c7457c964b g/c -r argument (RB_DFLTROOT is obsolete) 2000-07-30 08:36:06 +00:00
msaitoh
e880ff860e {add,remove} extra {comma,period} in SEE ALSO section 2000-07-05 16:13:43 +00:00
jhawk
47d4e03246 Fix SEE ALSO sorting error noted by mycroft. 2000-05-13 17:11:35 +00:00
jhawk
11c5aee5eb Rototill boot.8 and dosboot.8. Fix a pile of mandoc usage, sort
options, sort SEE ALSOs, etc.

Add support for on-the-fly switching of console devices interactively
from biosboot via the "consdev" command.
2000-05-13 05:27:21 +00:00
hubertf
b2b535f11d Mention netbsd.gz etc.
Fixes PR 9552 by John Hawkinson <jhawk@mit.edu>
2000-03-06 01:44:29 +00:00
drochner
fbb46bdd12 elaborate a bit more about the limited significance of hard disk type
names, mention the new boot-selecting MBR
1999-05-07 14:00:39 +00:00
drochner
80a45158ac add some xrefs, from PR port-i386/5063 (haszlaki@UAccess.NET) 1998-02-25 12:30:13 +00:00
perry
34a98169f0 macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:54:12 +00:00
drochner
b2fe7ac8d9 Update for new bootstrap. 1997-10-28 20:45:29 +00:00
mikel
143946ffbd xref ddb(4), not ddb(8) 1997-07-10 07:37:23 +00:00
perry
cb9a3a55fe Add substantial changes from Luke Mewburn submitted in pr-1386, with
some modifications. This will likely need to be rototilled again when
the new two stage boot stuff goes in.
1997-03-13 05:28:42 +00:00
cgd
555d4b510e slightly clean rcs ids, etc. 1995-04-23 10:33:03 +00:00
cgd
ce5ebe9911 pseudo-merge with Lite; man pages need to be merged seperately, but
that's really a port-specific thing.  They probably should be updated, too.
1995-03-18 16:11:33 +00:00
cgd
369451e46b from Lite 1995-03-18 15:17:32 +00:00