When installing OpenSuse alongside windows (as a dual boot system), I went with the default settings for the size of the root partition. This turned out to be a major mistake, and the root partition is now full.
I have 3.1 GiB out of 40.0GiB space left, so it’s 92% full. Yesterday I had to delete some files from the root partition, because OpenSuse could not boot anymore. Isn’t this 40.0 GiB disk space for the root partition already way too small in the first place. I’m using quite a lot of 3rd party software, and R/python/Latex packages for scientific computing, etc., and have not even installed all the software I wanted to.
I’m now wondering what I should do to fix this problem, and have some questions.
- Is there a way to change the default directory for new installations in YaST, so that the programs don’t end up being install to the root partition in the first place?
- I’ve moved some files from /opt to my home directory, and then created symbolic links to these files, and so far these programs are working fine. Can I just move /usr/share/ to the home directory as well, and then create symbolic links to the files? Would YaST then install programs that would usually end up in /usr/share automatically into e.g. /home/share?
- Is there a way to boost the size of the root partition, without having to backup the data, format the partitions, and reinstall everything from scratch?
- If I end up having to format and reinstall, what would be a reasonable size for the root partition, given that I’m doing some scientific computing, and need a variety of software tools that are not part of the default installation, and that I’m mainly using YaST for software management (with its defaults).
I had a look at several websites and forums so far, some of the information there was probably dated, but could not really find a solution to my problem. For example, I found the suggestion to reduce the number of snapshots in snapper, but then these snapshots are useful, when having to restore a system that has been screwed up, so I’m not sure if this is a good idea in the first place.
Any help and further ideas about what I could do?