I have been using Ubuntu on my laptop for a while and in love with it and now I want to use it on my main PC. I have a 240 GB SSD and a 1 TB HDD. I have windows10 installed on the SSD and use the HDD for general files. I want to freshly install Ubuntu on my system. How should I use my SDD as mount/ and HDD as /Home?
How should I use my SDD as mount/ and HDD as /Home?
/home on the SSD. The configuration files benefit from the speed off the SSD and if the HDD is too slow to spin up during boot, it could end up not mounting your HDD (not likely this is an issue anymore on modern Linux though).
What is better: there is a configuration file on
/home/$USER/.config called user-dirs.dirs where you can set where the location is for your personal files. Alter that to point to the HDD.
This file holds lines like this:
That means on every login it will check if
/home/$USER/Desktop exists and create it if not. If you change it to
discworld is the mount point for the HDD it will create that directory and all applications will assume that is where your Desktop is. Works for all the directories in this file and the ONLY accepted directories are
$HOME/ and an absolute directory (so starting with
If you are doing a completely new installation, then you can just use the manual partitioning process. Make sure to boot in UEFI mode, and that you create an EFI System Partition (ESP) and enough swap space (which is also used for hibernation).
How to use manual partitioning during installation? has a few details.
Adding the harddisk as
/home in the installer will create the necessary setup to automatically mount it during boot, and this setup is completely transparent to all applications.
This could fail if the HDD is an external USB disk, as these take a while to be detected, but I have a low opinion of external harddisks anyway.
Given that you have experience with Ubuntu on your laptop, you may be able to estimate if this scenario is feasible.
/home on the SSD. Use the HDD for big and relatively rarely used files, such as pictures and videos.
You can mount the HDD as (something like)
That way, you get fast boot, fast access to your configuration files and fast access to regularly-used files.
Simon’s answer shows the ‘how’.