1

I have a Dell G5 notebook with two drives (256Gb SSD and 1Tb HDD). I use it only for Ubuntu 20.04 (no dual-boot) and intend to keep it that way. For the first installation, I was using the system entirely on the SSD and leaving the HDD only for data. However, I do need to use very demanding and space consuming applications such as Matlab and Xilinx Vivado, and I ran out of space very fast. However, they both use many system libraries, so I could not just install them in the HDD. So... I will need to do a new Ubuntu installation in such a way that I can profit a little more from the HDD space for this large apps. Since I am a newbie, I am asking for a little more insight of how should this be done and how should I build my system partitions so I don't need to do a fresh install again in the next few months

Thanks in advance

1 Answers1

0

If you really intend to reinstall the OS, you could create a separate partition on the HDD, dedicated for any system directory, let's say /usr (where the most libraries are) and mount it at its place. As I remember correctly you can do that via the installation dialogue.

You can achieve the same result without reinstalling the OS. Just use gparted in order to resize the existing partitions on the HDD and create a new one, then follow the accepted answer of this question: How to move /usr to a new partition?

Another way is to move the /usr directory into the HDD and then mount it by using the bind option of the mount command in order to mount it at its place - the steps are described here: How do I mount a folder from another partition?

pa4080
  • 30,621