Re: need help setting up a new partition
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]
need help setting up a new partition
Hi everybody, 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. $ fdisk ad0 *** Working on device /dev/ad0 *** parameters extracted from in-core disklabel are: cylinders=77545 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=77545 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) start 63, size 40965687 (20002 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) start 40965750, size 12289725 (6000 Meg), flag 0 beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 53255475, size 24900750 (12158 Meg), flag 80 (active) beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 4 is: UNUSED The second partition is FAT32 because I was mounting it from within FreeBSD. Any help is appreciated. -- Peter __ Find your next car at http://autos.yahoo.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: need help setting up a new partition
On 09-Feb-2006 Peter wrote: Hi everybody, 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. Use sysinstall to delete the partition and then re-create it as ufs. -- Conrad J. Sabatier [EMAIL PROTECTED] -- In Unix veritas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: need help setting up a new partition
--- Conrad Sabatier [EMAIL PROTECTED] wrote: On 09-Feb-2006 Peter wrote: Hi everybody, 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. Use sysinstall to delete the partition and then re-create it as ufs. I tried your suggestion but I cannot write to disk. I posted a screenshot here: http://metawire.org/~petermatulis/ad0_error.png I tried booting into single-user mode but still no dice. __ Find your next car at http://autos.yahoo.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: need help setting up a new partition
--- Peter [EMAIL PROTECTED] wrote: --- Conrad Sabatier [EMAIL PROTECTED] wrote: On 09-Feb-2006 Peter wrote: Hi everybody, 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. Use sysinstall to delete the partition and then re-create it as ufs. I tried your suggestion but I cannot write to disk. I posted a screenshot here: http://metawire.org/~petermatulis/ad0_error.png I tried booting into single-user mode but still no dice. 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. __ Find your next car at http://autos.yahoo.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]