There are quite a lot of questions like this but they are either unanswered or aren't enough to make me fully understand how to do this.
I just bought parts for a new computer, so I have a fresh and empty SSD (128 GB) and HDD (1 TB). My plan is to install both Linux and Windows on the SSD as well as some games from Windows, and the rest of the data in the HDD.
From my understading, the process is:
- Install Windows on SSD
- Move the content of the User folder to the HDD
- Make a partition in both the SSD and HDD for Linux
- Install Linux in SSD with
/home
(and maybe/var
) in HDD
And my questions are:
- Is that process correct?
- In order to put
/home
in the HDD, should I do it during the installation, or later with symbolic links? - Are
/var
or/tmp
worth moving away from the SSD? - Windows programs usually install in a
Program Files
folder outside of the User folder. When installing a program, will I have to change directory to the HDD every time, or am I suposed to move theProgram Files
folder in the same way I move the contents of User? - 40 GB seems to be enough for the Linux SSD partition. Is that right?
- Can I place the
swap
partition in the HDD even if/
is in the SSD?
Best Answer
Your approach is right.
At the time of install - choose something else for custom partitioning. It's not symbolic link but /home will be in it's own partition.
Depends on your current and future needs but it's okay to do so.
In Linux most of the programs are installed under /usr so you can create a separate partition for /usr also. A lot of folks install apps and programs under /opt. It's also a good candidate for it's own partition.
"40 GB seems to be enough for the Linux SSD partition. Is that right?"
"Can I place the swap partition in the HDD even if / is in the SSD?" Yes you can. Swap is not used to a great extent unless you put your computer under hibernation or you are low on memory.
Note : I will advise you to use gparted for partitioning and LVM for logical volumes as they give you a lot of flexibility. You can refer to my earlier question about LVM at here. It has a lot of pointers/references for other resources.