Free disk space - uninstall old kernels
- Anmelden oder Registrieren um Kommentare zu schreiben
If you're short of disk space, like many people seem to be, one easy way to recover hundreds of megs is to remove old kernels. Looks like the Trisquel default kernels are about 150 megs a pop and they never get automatically uninstalled as new ones pour in. This is an easy maintenance job.
Open the Synaptic package manager. In the lower left select Status (to look at packages depending on their status on your system) and top left select installed status. Then write to the Quick filter (top middle) linux-image and you will get a list of installed kernels.
The package management will warn you if you try to uninstall the kernel you're currently using, don't do it. :) You can see which one you're using by opening a terminal and inputting uname -r
. When you reboot the newest kernel is automatically selected by GRUB by default.
The default kernels will work very likely well, so if you're only using the default kernels, you can uninstall all the older ones and just leave the latest. If on the other hand you're running and testing custom kernels, then you'll probably want to leave the latest default kernel as well, for situations the custom kernel might not handle.
You can use e.g. this command to see how much disk space is available.
df -h
Or use one of the fancy graphical tools.
Isn't the "safe" approach to have one older kernel as a backup? I can see having 2-3 older and unused kernels being overkill, but just having 1 older should do fine just in case the current one acts up.
That makes sense, while I doubt they make very radical changes with the default kernels.
- Anmelden oder Registrieren um Kommentare zu schreiben