1

I want to install Linux on my main PC but it has an SSD and a 1TB HDD, i want to know how to use the SSD only for the OS and some programs and the HDD for everything else (i use it this way on Windows 10), is this possible? If it is can someone tell me how to install it that way? Thank you

1

Of course.

  • create unallocated space on the SSD, 20GB is more than enough.
  • create unallocated space on the HDD, as much as you feel is needed.
  • Create a partition on the SSD as ext4 on the unallocated space and name the mountpoint /.
  • Create a partition on the HDD as ext4 with a mount point you create yourself.
  • after install open a terminal and set the mountpoint to your user.
  • after install open a termimal and remove all the visible directories in /home/$USER/ (so not the hidden files).
  • edit ~./config/users-dirs.dirs and change it to your mountpoint.
  • put a copy of users-dirs.dirs on your HDD.

This way you keep all system related files and settings on the SSD and all personal data on the HDD.

When you re-install: format / and mount the mountpoint without formatting. Remove dirs in /home/$USER/ and copy users-dirs.dirs on the HDD to ~./config/

  • +1 though depending on how many applications you have installed 20GB is not always more than enough. On my desktop where I have a similar setup / consumes about >30GB – Bruni May 2 '18 at 13:25
  • I have a server with a 10Gb / with apache and a 500Gb+ mysql database: basically user data is stored elsewhere. Just with software that you actually use you will never hardly reach 20Gb. – Rinzwind May 2 '18 at 13:37

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.