Click to See Complete Forum and Search --> : fdisk in FreeBSD


pilotgi
07-17-2003, 01:53 PM
I've tried to figure this out on my own but no luck, so here goes. When I got to the fdisk part of the install, I couldn't figure out how to translate the numbers it uses with my other Linux partitions.

Where Linux says dev/hda1 3.4 GB, FBSD says size(st) 7164927. While I know this is roughly the same size, fdisk isn't telling me which partition the 7164927 is referring to.

I have 10 GB on my drive that I want to allocate to FreeBSD 4.8 but I can't figure out how to do this. I tried deleting the partitions that I wanted to use with YaST to free up the space, and now the Linux install I was trying to save won't boot, even from the cd.

I would appreciate some help on figuring out this fdisk utilty as man fdisk doesn't address my problem.

Meanwhile, I'll see if I can save my linux install.

HighOrbit
07-25-2003, 11:50 AM
Sorry, but I'm not exactly clear about what you are trying to do.

Are you trying to free space for FreeBSD by deleting linux partitions while keeping a bootable linux? Obviously, you can't delete the partions that that linux relies upon, but it sounds like you accidently did.

BSD uses a slightly different partitioning system and nomenclature than linux. hda1 on linux is *probably* going to be ad0s1a on FreeBSD. Check out the FreeBSD Handbook available for free reading at FreeBSD.org

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html


***** below ripped from FreeBSD Handbook found at FreeBSD.org*****
ad ATAPI (IDE) disk
da SCSI direct access disk
acd ATAPI (IDE) CDROM
cd SCSI CDROM
fd Floppy disk

Example 2-3. Sample Disk, Slice, and Partition Names

Name Meaning
ad0s1a The first partition (a) on the first slice (s1) on the first IDE disk (ad0).
da1s2e The fifth partition (e) on the second slice (s2) on the second SCSI disk (da1).
*********

Hope this helps