How To FDISK in order to remove/merge partitions?

Soo-Hyun Choi soohyunc at
Wed Jan 18 23:44:46 UTC 2006


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.

More information about the ubuntu-users mailing list