Subject: Re: disklabel outside of fdisk
To: David Laight <david@l8s.co.uk>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 07/21/2005 12:47:46
On Thu, 21 Jul 2005, David Laight wrote:
> Just run fdisk and modify 'a' to include the netbsd 'e' partition space.
I now see that my disklabel wd0c doesn't reference the entire partition,
so I need to do that also.
I am not sure exact numbers. I am just adding up all the disklabel
partition sizes (except c and d) and using that as the size for the fdisk
slice.
I now currently have:
Partition table:
0: NetBSD (sysid 169)
start 63, size 5069728 (2475 MB, Cyls 0-335/72/56), Active
I set that because
2048000+1024000+1024000+51408+922320=5069728
and disklabel:
# size offset fstype [fsize bsize cpg/sgs]
a: 922320 63 4.2BSD 1024 8192 46120 # (Cyl. 0*-
915*)
b: 51408 922383 swap # (Cyl. 915*-
966*)
c: 979902 63 unused 0 0 # (Cyl. 0*-
972*)
d: 80293248 0 unused 0 0 # (Cyl. 0 -
79655)
e: 1024000 973791 4.2BSD 1024 8192 46552 # (Cyl. 966*-
1981*)
f: 1024000 1997791 4.2BSD 1024 8192 46552 # (Cyl. 1981*-
2997*)
g: 2048000 3021791 4.2BSD 0 0 0 # (Cyl. 2997*-
5029*)
Notice my partition c above is wrong.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/