I'm trying to install Ubuntu 18.04 on my computer. I have an SSD and an HDD. I want to install the Ubuntu root /
on my SSD (and my swap too), but install my /home
on my HDD.
I didn't find how to do it during the Ubuntu install, so I installed Ubuntu on my SSD and I'm trying to move /home
to my HDD.
What I have done:
Created an ext4 partition for my newHome with GParted.
Then sudo mount /dev/myNewPartition /media/stockFolder
Then sudo cp -av /home/. /media/stockFolder
I'm in trouble because Alt+F2 and gksudo nautilus
don't work (command not found
), but I need it to rename /home
in /oldHome
and then mkdir /home
and mount /dev/myNewPartition /home
and cp -av /media/stockFolder/. /home
If there is a solution to do it during installation it would be nice. Please help me to run gksudo nautilus
?
gksudo nautilus
, or that the home folder is busy? Or that you want to know how to set your destination$HOME
directory on another disk? Because your$HOME
will always be busy if you're logged in, so you'll need to try after booting from a "live cd" and opening a shell session withSuper
+Alt
+T
. Then you can runsudo apt-get install gksu
as root, you can install whatever you need and it won't affect your actual OS fyi. – Benjamin R Jan 20 '19 at 16:31/home
should be! You can useudisksctl
to mount the partition and go from there: https://www.makeuseof.com/tag/mounting-hard-disks-partitions-using-linux-command-line/ – Benjamin R Jan 21 '19 at 13:45