On 2/8/06, Peter <[EMAIL PROTECTED]> wrote: > > > On 09-Feb-2006 Peter wrote: > > > > I have a dual-boot arrangement with Win2k (on the first and second > > > > partition) and FreeBSD 5.4 (on the third partition). I am willing > > to > > > > sacrifice the second partition and give it over to FreeBSD as I am > > > > lacking space there. I'm just not sure how to proceed. . . . > Actually I changed a sysctl setting (sysctl kern.geom.debugflags=16) and I > was able to delete/create the partition. Now I am stuck trying to create > the slices. It keeps telling me the mount points do not exist when they > do. I rebooted after creating them. >
Command line tools are much easier. dd if=dev/zero of=/dev/ad0s2 bs=1024k count=1 glabel label -v l0 /dev/ad0s2 bsdlabel -w /dev/label/l0 bsdlabel -e /dev/label/l0 newfs -U -O2 -b 16384 -f 2048 /dev/label/l0[ad-g] mount . . . echo 'geom_label_load="yes"' >> /boot/loader.conf glabel is pretty spiffy, you can then dispense with the worry about having to change your /etc/fstab every time you move a hard drive, if you move hard drives from controller to controller, tossing notions of "fixed" disks to the wind. Note well: I have no idea how well geom_label and boot devices work together. Note also: sysinstall is silly for standard tasks like disk slicing and partitioning, and as well, it's not very geom-aware. -- -- _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"