Click to See Complete Forum and Search --> : need to modify partitions (and not lose anything)


nipperdj
01-26-2003, 02:08 AM
I have a 30GB hard disk. This is my first linux machine (the second machine is fine!) and when I partioned I did not give enough room for the partion that holds /var.

Anyway I made some room by brute force (deleting old log files) but I want to modify the partitions. I have plenty of room but its in the partions hda3-5 and /var is at hda7.

Any suggestions for graphical tool? (I know everyone will suggest fdisk and cfdisk). Thanks in advance.

Dun'kalis
01-26-2003, 02:19 AM
We will recommend fdisk/cfdisk? Why would we? It doesn't do what you want!

Try either ranish or parted. Both are command line utilities, though.

nipperdj
01-26-2003, 09:44 AM
Originally posted by Dun'kalis
We will recommend fdisk/cfdisk? Why would we? It doesn't do what you want!

Try either ranish or parted. Both are command line utilities, though.

From the documentation of parted:
1. For ext2, ext3 and reiserfs: the start of the partition must stay fixed.
2. For ext2, ext3: the partition you copy to must be bigger or exactly the same size as the partition you copy from.
3. For ext2 and ext3: the checking is limited to ensuring the resize and copy commands will be ok.

Also parted is said to be buggy and problematic (RH documentation & RH 8.0 Bible) For those reasons I discounted using parted.

I have not heard of ranish and will investigate.

fdisk WILL do what I want but is unforgiving if you make a mistake in the command line (typo, etc.). cfdisk is not included on RH distro's but may be my best tool.

Has anyone tried Acronis PartionExpert ?

nipperdj
01-26-2003, 10:37 AM
fdisk requires free space and/or unallocated space.. (I think the smae is true of cfdisk) Dun'kalis was not inaccurate.