Questions before installing Salix

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Questions before installing Salix

Post 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.
Image
Image
User avatar
Themis
Posts: 72
Joined: 27. Feb 2016, 22:17
Location: France

Re: Questions before installing Salix

Post 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.
Post Reply