1 |
Szénási István wrote: |
2 |
>> It should be mentioned that if you use this method then, after running |
3 |
>> parted to resize the partition(s), you will also need to resize the |
4 |
>> filesystem(s) on the partition(s). |
5 |
>> |
6 |
> |
7 |
> If I remember correctly, you're right and the resize of he filesystem required. |
8 |
> Of course if you shrink the partition, first you need to resize the |
9 |
> file system before the |
10 |
> resizing of the partition and if you grow the partition, first you |
11 |
> need to resize the partition |
12 |
> before the resizing the file system. (Maybe, you should turn off the |
13 |
> journalling when you |
14 |
> modify an ext3 file system, but i am not sure in it) |
15 |
> |
16 |
> |
17 |
>> This is well documented - google "resize ext3" or whatever. Not sure if this |
18 |
>> is necessary using GParted - probably not. |
19 |
>> |
20 |
> I strongly recommend the gparted, I have resized and moved partitions |
21 |
> (ext2, ext3 and ntfs) with it, |
22 |
> and i never had problem with it. It hase a nice GUI and it does every |
23 |
> necessary steps automatically. :-) |
24 |
> |
25 |
> |
26 |
I did this the other day for an experiment. I used a spare partition, |
27 |
and of course the partition concerned was unmounted: |
28 |
|
29 |
dd if=/dev/sda4 of=backup.iso |
30 |
|
31 |
then I did: |
32 |
|
33 |
dd if=backup.iso of=/dev/sda3 |
34 |
|
35 |
I also have done a complete backup using tar to save some space. |
36 |
|
37 |
tar cvfj backup.tar.bz2 /dev/sda4 |
38 |
|
39 |
when I decompress, I imagine I will mount the partition say /dev/sda3 |
40 |
and do the following |
41 |
|
42 |
tar xvvf backup.tar.bz2 |
43 |
|
44 |
(This might be not accurate, but I hope it gives you a fair idea of |
45 |
where to start) |