I've moved my /home, /var, etc. on the fly simply by
1) mounting the new partition somewhere
2) copying the files from old partition with "cp -a <source> <destination>" to the new one
3) unmounting old and new partitions
4) mounting the new partition to the old's mountpoint
Of course, you have to update your fstab also, and before everything, if needed, to fdisk and mkfs.ext2.
This method has worked for me several times without problems.
The -a switch in cp means "archive" - preserve file permissions and links.
|