Subject: Re: NetBSD's swap partition ID
To: Greg Troxel <gdt@ir.bbn.com>
From: David Laight <david@l8s.co.uk>
List: netbsd-users
Date: 02/24/2006 20:45:23
On Fri, Feb 24, 2006 at 08:41:23AM -0500, Greg Troxel wrote:
> 
> Assuming you have an IDE disk
> 
> $ fdisk wd0 
> 
> show the i386 BIOS partition table.  typically first 63 are reserved,
> and 63-end are in one partition, labeled 0xA9 or 169. which is NetBSD.
> 
> On my machine:
> 
> Partition table:
> 0: NetBSD (sysid 169)
>     start 63, size 234441585 (114473 MB, Cyls 0-14593/81/1), Active
> 1: <UNUSED>
> 2: <UNUSED>
> 3: <UNUSED>

And I have:

Partition table:
0: NetBSD (sysid 169)
    bootmenu: netbsd
    start 63, size 40965687 (20003 MB, Cyls 0-2550), Active
1: NetBSD (sysid 169)
    start 40965750, size 83891430 (40963 MB, Cyls 2550-7772)
2: <UNUSED>
3: Ext. partition - LBA (sysid 15)
    start 124857180, size 187724628 (91662 MB, Cyls 7772-19457/81/1)
Extended partition table:
E0: NetBSD (sysid 169)
    bootmenu: netbsd 3
    start 124857243, size 10249407 (5005 MB, Cyls 7772-8410)
E1: NetBSD (sysid 169)
    bootmenu: 3 i386
    start 135106713, size 10249407 (5005 MB, Cyls 8410-9048)
E2: NetBSD (sysid 169)
    bootmenu: 3 amd64
    start 145356183, size 10249407 (5005 MB, Cyls 9048-9686)
Bootselector enabled, timeout 10 seconds.

mbr partition '0' contains a swap partition, / and /home, '1' is /bsd.
The extended partitions are all bootable using the mbr bootselect code.

	David

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