Subject: Re: start of the partition c
To: None <netbsd-users@NetBSD.ORG>
From: None <sigsegv@rambler.ru>
List: netbsd-users
Date: 07/17/2004 05:25:58
David Laight wrote:
> <>It will cause least confusion to any other OS that might find the disk
> if the disk has an mbr (aka fdisk) partition table, and that any NetBSD
> filesystems are entirely with the NetBSD (type 169) mbr partition (or
> some other mbr partition).
> Some system BIOS may also refuse to boot disks that don't look 'right'.
>
I've read somewhere that all partitions should start and end on cylinder
boundaries. How come disklabel does not do that automatically?
Here is what disklabel does by default:
# size offset fstype [fsize bsize cpg/sgs]
a: 524475 63 4.2BSD 1024 8192 43712 # (Cyl.
0*- 555*)
b: 524475 524538 swap # (Cyl.
555*- 1110*)
c: 6335217 63 unused 0 0 # (Cyl.
0*- 6703)
d: 6335280 0 unused 0 0 # (Cyl. 0
- 6703)
e: 5286267 1049013 4.2BSD 1024 8192 46376 # (Cyl.
1110*- 6703)
And here is what I did manually on another disk, to align partitions to
cylinder boundaries:
# size offset fstype [fsize bsize cpg/sgs]
a: 523152 1008 4.2BSD 1024 8192 32704 # (Cyl. 1
- 519)
b: 1048320 524160 swap # (Cyl. 520
- 1559)
c: 78164352 1008 unused 0 0 # (Cyl. 1 -
77544)
d: 78165360 0 unused 0 0 # (Cyl. 0 -
77544)
e: 76592880 1572480 4.2BSD 2048 16384 28792 # (Cyl. 1560 -
77544)