Page 7 of 7

Re: Questions before installing Salix

Posted: 18. Oct 2017, 15:27
by gapan
At that point you should have selected the other partition. It would then ask where you wanted to mount it.

Is sda3 formatted? If it already is, you can still move your home into it and start using it. If it is not, you can use mkfs.xfs on it to format it:

Code: Select all

sudo mkfs.xfs /dev/sda3
First edit your fstab and add the following line to it:

Code: Select all

/dev/sda3        /home            xfs         defaults         1   2
(assuming it's xfs formatted).

Then go into init 3, it's safer that way:

Code: Select all

sudo init 3
log in and become root:

Code: Select all

sudo su
make a temporary directory, mount sda3 to it and move everything in /home to it:

Code: Select all

mkdir /temp-home
mount /dev/sda3 /temp-home
mv /home/* /temp-home
Unmount and remove the temporary directory:

Code: Select all

umount /temp-home
rmdir /temp-home
You can mount the new partition now and your home should be in sda3:

Code: Select all

mount /dev/sda3
or you can reboot and have the same effect.

Re: Questions before installing Salix

Posted: 18. Oct 2017, 17:18
by Themis
Awesome! Thank you very much. :)
I feel like I’m going to learn a lot of things, here. It’s like rediscovering Linux.