Subject: Re: how to make boot menu work
To: None <mcmahill@mtl.mit.edu>
From: Greywolf <greywolf@starwolf.com>
List: port-i386
Date: 08/03/2002 20:36:00
On Sat, 3 Aug 2002 mcmahill@mtl.mit.edu wrote:

# a few corrections.  its wd0 I'm trying to boot from.  Its F1 for windows
# and F3 for netbsd.  When I press F3, I get a '3' and then it hangs.  The
# sources say this means a magic number check failed.

#
# This is what fdisk and disklabel say.
#
# # fdisk wd0
[skip to] Partition table:
# 0: sysid 12 (Primary DOS with 32 bit FAT - LBA)
#     start 63, size 33559722 (16386 MB), flag 0x80
...
# 1: sysid 15 (Ext. partition - LBA)
#     start 33559785, size 28672560 (14000 MB), flag 0x0
...
# 2: sysid 169 (NetBSD)
#     start 62232345, size 15933015 (7779 MB), flag 0x0
...
# 3: <UNUSED>
#
# # disklabel wd0
#
# # /dev/rwd0d:
...
# total sectors: 78165360
# 8 partitions:
#          size   offset     fstype   [fsize bsize cpg/sgs]
...
#   a: 15410304 62755056     4.2BSD     1024  8192    16   # (Cyl. 62257 -
# 77544)
#   b:   522711 62232345       swap                        # (Cyl. 61738*-
# 62256)

Don't you need to offset by 63 sectors, or is this only for full-disk
installs?, i.e. shouldn't 'b' and 'c' both start at 62232408?

I note also you put swap at the beginning of the NetBSD partition; I've
always been leery of doing that for some reason (but it doesn't seem to
be adversely affecting the outcome of your system).

This _is_ odd.  It *looks* right....

...you sure you installed biosboot.sym?

#   c: 15933015 62232345     unused        0     0         # (Cyl. 61738*-
# 77544)
#   d: 78165360        0     unused        0     0         # (Cyl.    0 -
# 77544)
#   e: 33559722       63      MSDOS                        # (Cyl.    0*-
# 33293*)
#   f: 28672560 33559785      MSDOS                        # (Cyl. 33293*-
# 61738*)

				--*greywolf;
--
NetBSD: a server in every port.