As a step in this I have to copy the /home partition to another one.
I plan to do following
Code: Select all
sudo mkdir /home1 ;sudo mount /dev/destination /home1; sudo chmod 644 /home1 ;sudo chown owner:owner /home1 [b]cp -rpd /home /home1 [/b]
Code: Select all
cp -rpd /home /home1
After verifying the sizes of /home and /home1 being the same with du -sm I would proceed as follows
Code: Select all
sudo umount /home /home1
Code: Select all
sudo mount /dev/destination /home
Please review once, especially the command
Code: Select all
cp -rpd /home /home1
Thanks all in anticipation