Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.sbin/installboot



>    On i386 it has to be the beginning of the BIOS boot partition.
>    That need not be at the start of (or even inside) the 'c' partition.
> 
> well, for i386, that'd be 'd', which i hope it fits inside :-)  that's
> why i said "RAW_PART" not just 'c'....

Usually 'd', but not always.
You can have a second bootable netbsd MBR partition, and use the bootselect
stuff to determine which one is the actual root partition.

fdisk on my disk gives:

Partition table:
0: NetBSD (sysid 169)
    bootmenu: net 1.5.
    start 4209030, size 8289540 (4048 MB, Cyls 262-778), Active
1: Primary DOS with 32 bit FAT (sysid 11)
    bootmenu: win98
    start 63, size 4208967 (2055 MB, Cyls 0-262)
2: NetBSD (sysid 169)
    bootmenu: current
    start 32515560, size 7517136 (3670 MB, Cyls 2024-2491/234/40)
3: Ext. partition - LBA (sysid 15)
    start 12498570, size 20016990 (9774 MB, Cyls 778-2024)
Extended partition table:
E0: NetBSD (sysid 169)
    bootmenu: test 0
    start 12498633, size 12305727 (6009 MB, Cyls 778-1544)
E1: NetBSD (sysid 169)
    bootmenu: test1
    start 24804423, size 4096512 (2000 MB, Cyls 1544-1799)
E2: NetBSD (sysid 169)
    bootmenu: test2
    start 28900998, size 3614562 (1765 MB, Cyls 1799-2024)
Bootselector enabled, infinite timeout.

(The netbsd label doesn't bear thinking about, since both 0 and 2
are split into multiple netbsd partitions)
But partition 0 had wd0a as root, and partition 2 wd0h.
E0, E1 and E2 are netbsd partitions i, j and k, they aren't actually root
filesystems - but could be.

        David

-- 
David Laight: david%l8s.co.uk@localhost



Home | Main Index | Thread Index | Old Index