[593] in netbsd-help mailing list archive
Re: partitions
daemon@ATHENA.MIT.EDU (Greg Hudson)
Sat Jan 20 00:48:00 1996
To: netbsd-help@MIT.EDU
In-Reply-To: Your message of "Sat, 20 Jan 1996 00:12:24 EST."
<199601200512.AAA11575@livewire.MIT.EDU>
Date: Sat, 20 Jan 1996 00:43:53 EST
From: Greg Hudson <ghudson@MIT.EDU>
> 6 partitions:
> # size offset fstype [fsize bsize cpg]
> a: 40960 63 4.2BSD 1024 8192 16 # (Cyl. 0*- 40*)
> b: 65536 41023 swap # (Cyl. 40*- 105*)
> c: 1032129 63 unused 0 0 # (Cyl. 0*- 1023*)
> d: 2130912 0 unused 0 0 # (Cyl. 0 - 2113)
> e: 92160 106559 4.2BSD 1024 8192 16 # (Cyl. 105*- 197*)
> f: 833473 198719 4.2BSD 1024 8192 16 # (Cyl. 197*- 1023*)
For the MBR, you can use "fdisk -u /dev/rwd1d" under NetBSD or pfdisk
under DOS. You should be able to simply expand the NetBSD partition
with no ill effects, as long as the beginning stays in the same place.
For the disklabel, you can use "disklabel -e" to add a seventh g
partition with size 1098783 and offset 1032192. (You don't need to
ender the cylinder numbers). Be sure to change the line "6
partitions" to "7 partitions". After you finish editing, verify with
"disklabel wd1" to see that the generated cylinder numbers are "1023*-
2113".
Then you can "newfs /dev/rwd1g" and add it to your /etc/fstab.
There is a utility to change the size of an existing ffs filesystem,
but it's not part of NetBSD and we don't have any experience with it.