How much GB do you want to assign to FreeBSD?
The first thing you must do before install is to backup your important stuff, just in case something goes wrong.
Then, save the MBR (the first 512 bytes of a drive which keeps LILO and the partition table) and save it to a floppy or CD-R[W]
Code:
dd if=/dev/hda of=mbr bs=512 count=1
md5sum mbr > mbr.md5
cp mbr* /mnt/floppy
md5sum -c /mnt/floppy/mbr.md5
If something goes wrong, it's easier to restore the MBR with:
Code:
dd if=/mnt/floppy/mbr of=/dev/hda bs=512 count=1
Keep a rescue CD with you. It may be knoppix... I believe that FC4 provides one, though.
Write down the C/H/S info from fdisk:
16 heads, 63 sectors/track, 38792 cylinders
I believe you're using the BIOS numbering because of the high number of cylinders. It's 80% likely that FreeBSD will use these...
To resize your partition, see the manpage of resize2fs. If possible, download the last non-beta version of e2fsprogs and read the documentation.
Resizing and reassigning partitions could be done in a right way if you're careful. It's very much like surgery...
When you resize, data (if any) at the last portions of a filesystem is moved and the filesystem superblock is changed to reflect the new size. When you touch the partition table, only the MBR changes. So you must do it in a right way to ensure that a filesystem is always within the boundaries established on the partition table.
A common "error message" you may get with fdisk(8) after writing the partition tables is:
Quote:
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
|
It's no big deal. Just reboot.
Another question: where's your swap partition?