|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Tried to create new partition using sysinstall but change is not permanent
Hi everyone
I have a 500 Gb HDD that has 40 Gb dedicated to FreeBSD. This means that I have the rest 460 Gb that I am going to use for Data storage. I read the menu and tried to use sysinstall to create a new partition and followed all the procedures. However, when I exit sysinstall to go to the disk labellor, my newly created partition is gone! This frustrates me greatly. How can I go about creating a new partition then? |
|
|||
Yes I have. I tried even after restarting but the changes are not permanent.
does applying # sysctl kern.geom.debugflags=16 affect this outcome? Do you have any partition software to recommend. |
|
|||
What is the equivalent of Gparted under FreeBSD???
|
|
|||
OK Let me post some stats then:
I will type out exactly what I have typed. ->indicates that I have chosen an option #su #sysinstall ->Configure ->Fdisk "WARNING: A geometry of 969021/16/63 for ad4 is incorrect. Using a more likely geometry. If this geometry is incorrect or you are unsure as to whether or not it's correct, please consult the Hardware Guide in the Documentation submenu or use the (G)eometry command to change it now. Remember: you need to enter whatever your BIOS thinks the geometry is! For IDE, it's what you were told in the BIOS setup. For SCSI, it's the translation mode your controller is using. Do NOT use a ``physical geometry''. " ->OK " Disk name: ad4 FDISK Partition Editor DISK Geometry: 60801 cyls/255 heads/63 sectors = 976768065 sectors (476937MB) Offset Size(ST) End Name PType Desc Subtype Flags 0 63 62 - 12 unused 0 63 80262 80324 ad4s1 4 ext2fs 131 80325 8193150 8273474 ad4s2 4 linux_swap 130 8273475 81915435 90188909 ad4s3 4 ext2fs 131 90188910 122865120 213054029 ad4s4 8 freebsd 165 213054030 763719138 976773167 - 12 unused 0 The following commands are supported (in upper or lower case): A = Use Entire Disk G = set Drive Geometry C = Create Slice F = `DD' mode D = Delete Slice Z = Toggle Size Units S = Set Bootable | = Wizard m. T = Change Type U = Undo All Changes W = Write Changes Use F1 or ? to get more help, arrow keys to select. " Typed C Typed Enter (Use all the space) Typed 131 (for ext2) now " 0 63 62 - 12 unused 0 63 80262 80324 ad4s1 4 ext2fs 131 80325 8193150 8273474 ad4s2 4 linux_swap 130 8273475 81915435 90188909 ad4s3 4 ext2fs 131 90188910 122865120 213054029 ad4s4 8 freebsd 165 213054030 763714035 976768064 X 4 ext2fs 131 976768065 5103 976773167 - 12 unused 0 " where X is newly created Pressed W -> Confirmed OK -> None for boot manager prompt "Wrote FDISK partition information out successfully. " Pressed Q ->Exit -> Exit Install now when I go to Fdisk again, "Disk name: ad4 FDISK Partition Editor DISK Geometry: 60801 cyls/255 heads/63 sectors = 976768065 sectors (476937MB) Offset Size(ST) End Name PType Desc Subtype Flags 0 63 62 - 12 unused 0 63 80262 80324 ad4s1 4 ext2fs 131 80325 8193150 8273474 ad4s2 4 linux_swap 130 8273475 81915435 90188909 ad4s3 4 ext2fs 131 90188910 122865120 213054029 ad4s4 8 freebsd 165 213054030 763719138 976773167 - 12 unused 0 " No X. WHY? |
|
||||
Don't use sysinstall once the OS is installed.
Instead install sysutils/sfdisk. Then run it like % sfdisk /dev/ad4 Or, use fdisk directly % fdisk /dev/ad4 Trying to do it via sysinstall will only cause problems, aggravations, and insanity. Oh, and you'll need to set the kern.geom.debugflags sysctl to 16 first. |
|
|||
How do you use fdisk?
Where do I find sfdisk? Is it located under ports? What are the commands that I should do for fdisk? I don't quite understand the procedure here. So do I delete my Linux swap partition first, then create an extended partition for the remaining 400 gb of space and then recreate a linux swap partition? Will the labelling of my partitions be the same? Will this cause my gentoo to be unable to mount to the new swap partition? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FreeBSD Install Without Sysinstall | corey_james | Guides | 6 | 19th December 2009 12:03 PM |
Can gmirror be configured during sysinstall? | PeterSteele | FreeBSD Installation and Upgrading | 3 | 13th November 2008 12:46 AM |
Create a script to rmove oldest files | disco | Programming | 5 | 14th July 2008 09:25 PM |
Source code of coreutils to create Incident Response Disk | audio | FreeBSD General | 6 | 5th July 2008 11:00 AM |
Are certain kernel modules permanent? | davidgurvich | FreeBSD General | 3 | 6th June 2008 06:14 PM |