My laptop has two hard drives in it. And I want to install Ubuntu. Here's the thing, I want my SSD to be the hard drive that boots my system and allows it to run. I want the OS and system things there for the speed. Then, I want any downloads, documents, etc. To be on my separate HDD. Does anyone know how I could do this. Yes this is similar to my other question but that one was about how Ubuntu handles separate drives and this one is about how I could install Ubuntu with two.
1 Answers
A lot of the desktop applications in Ubuntu offer by default to save things in subdirectories of your home directory, such as Documents, Photos, Videos, etc.
You could do your install so that /home is mounted on your HDD with everything else on SSD. That way you don't need to think about how things are laid out.
Alternatively, you can do a simple install entirely to the SSD and then afterwards mount the HDD somewhere like /srv, and just remember to save your stuff in there.
There are pros and cons to each method. I would probably go with the second because I'd want things in my home directory to perform well and could use my own judgement about where large files get stored.
So assuming you will go that way, do your install and get the desktop up and running how you like. Then open the "Disks" application and see what device name corresponds to your HDD. It will probably be either /dev/sda or /dev/sdb.
Now you know what device you want to mount, follow the community instructions on installing a new hard drive. Just mount it somewhere like /srv/media or /srv/documents or whatever. Don't forget that after mounting the filesystem you will have to change its ownership to your own user so that you can write to it without having to become root.

- 1,006
/home
– Jan 27 '21 at 22:39