How To FDISK in order to remove/merge partitions?
Sasha Tsykin
stsykin at gmail.com
Thu Jan 19 04:31:15 UTC 2006
Soo-Hyun Choi wrote:
>Hi,
>
>I have a system which has three operatioin systems (WinXP, FreeBSD,
>and Ubuntu). Nowadays, I found myself that I'm not using FreeBSD very
>much in this machine, so I would like to delete FreeBSD partition to
>give more HDD space for Ubuntu.
>
>This is my fdisk print out.
>
>Disk /dev/hda: 122.9 GB, 122942324736 bytes
>255 heads, 63 sectors/track, 14946 cylinders
>Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
>/dev/hda1 * 1 3824 30716248+ 7 HPFS/NTFS
>/dev/hda2 3825 7740 31455270 a5 FreeBSD
>/dev/hda3 7741 14758 56372085 83 Linux
>/dev/hda4 14759 14946 1510110 5 Extended
>/dev/hda5 14759 14946 1510078+ 82 Linux swap / Solaris
>
>
>How do I remove FreeBSD partition and give that space for Ubuntu's
>use? (I barely knows some of the steps, but would like to hear from
>some experienced people because I do not want to screw up my machine.)
>
>Thank you.
>
>
>
Type:
sudo cfdisk /dev/hda2
From there, everythign is pretty self explanatory. I prefer cfdisk to
fdisk because you don't have to remember any keys. Really it is very
much like the partitioner in the breezy installer.
After that, change the entry in /etc/fstab to match the new filesystem.
Sasha
More information about the ubuntu-users
mailing list