Is it possible to move a folder to a new partition
I have set up slack10.2 on 1 partition but i was thinking of moving /var onto another partiton, is there an easy way of doing this without reinstalling?
|
unmount the partition, make sure the other partition is ready with a filesystem, edit your /etc/fstab file to reflect what partition of the drive /var is going to be located, and re-mount.
but of course there is stuff in /var that you'll want, so just mount the new (and/or existing) partition as whatever cp -R /var /newpartition/ and then follow the steps above. I wrote that quick, but I dont' think I missed anything. I'm sure someone will correct me if so. |
thanks, i will give that a try tonight :)
|
and also you can delete the stuff in the old place when you are done
|
All times are GMT -5. The time now is 12:41 PM. |