Subject: fdisk madness in 1.6.1_STABLE
To: NetBSD/i386 Discussion List <port-i386@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: port-i386
Date: 10/19/2003 13:59:56
Fdisk on 1.6.1_STABLE is, as it always does, driving me bonkers.
I'm trying to script a simple "use the whole disk" procedure for
creating a new, bootable, disk.
So far here's what I've got:
# eval $(fdisk -S sd1)
# fdisk -f -i -b $BCYL/$BHEAD/$BSEC sd1
# fdisk -f -u -0 -s 169/63/$DLSIZE sd1
# fdisk -f -a -0 sd1
This seems to work, but it's a bit painful and getting this far took a
great deal of experimentation.
Is this the most "correct" method for netbsd-1-6? Is it optimal?
I'm assuming from what I've read on the lists that this will be much
easier in 2.0, and I really hope it is true!
--
Greg A. Woods
+1 416 218-0098 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com> Secrets of the Weird <woods@weird.com>