Quote:
Um, it worked, I think...
If I go into QtParted (on rescue CD), it shows that the partition is big... but df (from CD or from my system) says it's still small! Why??
|
Resizing the partition is half the job and resizing the filesystem to fit the new partition size is the rest of your job. That is done with the resize2fs command while booted up in the rescue cd.
For example....
If you enlarged /dev/hda2 , you need to resize the filesystem to match....
In this case, because you are enlarging the filesystem, you can leave out the size argument and let the command automatically resize correctly.
e2fsck -f /dev/hda2
resize2fs -f /dev/hda2
If you where going to shrink the partition size, then you need to shrink the filesystem first and specify the size which you want it to be.
For example..
e2fsck -f /dev/hda2
resize2fs /dev/hdb2 8000M will set the filesystem size to 8GB inside a partition. Then I would recreate the partition and re- run the resize command with no size argument to make sure it fits correctly.
e2fsck -f /dev/hda2
resize2fs -f /dev/hda2