Subject: Re: Dynamic Drive Overlay (DDO) MBR/IDE support possible?
To: None <port-i386@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: port-i386
Date: 04/16/2004 06:41:02
In article <20040412171147.GA5576@drowsy.duskware.de>,
	Martin Husemann <martin@duskware.de> writes:
> I don't know anything about i386, but I would have supposed that you can
> just create the correct disklabel manually. If we have found a disklabel
> (by looking at the MBR), we don't realy care for the MBR any more, right?

Yes, MBRs are really irrelevant to the NetBSD kernel. It's only the
BIOS which needs them to boot:

Disk: /dev/rwd0d
NetBSD disklabel disk geometry:
cylinders: 310101 heads: 16 sectors/track: 63 (1008 sectors/cylinder)

BIOS disk geometry:
cylinders: 1024 heads: 255 sectors/track: 63 (16065 sectors/cylinder)

Partition table:
0: <UNUSED>
1: <UNUSED>
2: <UNUSED>
3: sysid 169 (NetBSD)
    start 0, size 16 (0 MB), flag 0x80
        beg: cylinder    0, head   0, sector  1
        end: cylinder    0, head   0, sector 16

That's a MBR on a 160GB IDE disk which the BIOS boots of fine.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/