Szénási István wrote: >> It should be mentioned that if you use this method then, after running >> parted to resize the partition(s), you will also need to resize the >> filesystem(s) on the partition(s). >> > > If I remember correctly, you're right and the resize of he filesystem > required. > Of course if you shrink the partition, first you need to resize the > file system before the > resizing of the partition and if you grow the partition, first you > need to resize the partition > before the resizing the file system. (Maybe, you should turn off the > journalling when you > modify an ext3 file system, but i am not sure in it) > > >> This is well documented - google "resize ext3" or whatever. Not sure if this >> is necessary using GParted - probably not. >> > I strongly recommend the gparted, I have resized and moved partitions > (ext2, ext3 and ntfs) with it, > and i never had problem with it. It hase a nice GUI and it does every > necessary steps automatically. :-) > > I did this the other day for an experiment. I used a spare partition, and of course the partition concerned was unmounted:
dd if=/dev/sda4 of=backup.iso then I did: dd if=backup.iso of=/dev/sda3 I also have done a complete backup using tar to save some space. tar cvfj backup.tar.bz2 /dev/sda4 when I decompress, I imagine I will mount the partition say /dev/sda3 and do the following tar xvvf backup.tar.bz2 (This might be not accurate, but I hope it gives you a fair idea of where to start)