Click to See Complete Forum and Search --> : Resize parition


psycheauc
12-07-2003, 07:26 AM
Hi.
I have four partitions:
/dev/hda1 -> boot (ext2)
/dev/hda2 -> swap (ext2)
/dev/hda3 -> / (ext3)
and 13 Gb of free space

I want to merge / and the free space to a new / partition without losing any data....is this possible??

lagitus
12-07-2003, 09:22 AM
I'm no expert on this but it should be possible to move the end of the partition (or delete it and re-add it with the same type flag and beginning) using fdisk and then resize the file system using resize2fs or a similar tool. I have no idea if this tool which is meant for ext2 works for ext3 as well. You must do this from a bootable linux disc (such as Knoppix) because the partition must not be mounted at the same time.

je_fro
12-07-2003, 09:44 AM
I haven't had much success resizing partitions, but when I did I used GNU/Parted. I'd recommend using parted if possible.