1

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?

karel
  • 122,292
  • 133
  • 301
  • 332
Izaya
  • 251

1 Answers1

1

Here a solution

Finally I reinstalled ubuntu following this example : How to use manual partitioning during installation? but the point is that you can create a root partition on SSD and a /home partition on HDD even if you have the device for boot selected as SSD - like the step 8 of this example.

For those how want to move /home the best solution is here : https://help.ubuntu.com/community/Partitioning/Home/Moving and keep in mind you can't rename /home when you are on your ubuntu session. To do it boot on an usb key and you can use udisksctl to mount the partition and go from there: https://www.makeuseof.com/tag/mounting-hard-disks-partitions-using-linux-command-line/

Thank you for your comments, they really help me to understand how it works.

I hope it will help someone !

Izaya
  • 251