[xubuntu-users] [Bulk] Re: "Not enough space on disk /boot"

Ralf Mardorf ralf.mardorf at rocketmail.com
Sun May 24 07:47:20 UTC 2015


On Sun, 24 May 2015 09:02:42 +0200, Petter Adsen wrote:
>All that should really be in /boot are kernels (and related things,
>like initrd).

some folks might have bootloader related files in /boot/ too.

>"sudo apt-get autoremove"

>DO NOT START RANDOMLY DELETING KERNEL PACKAGES IF YOU ARE NOT TOTALLY
>SURE WHAT YOU ARE DOING!

Don't remove other packages either. "Autoremove" and "dist-upgrade" are
useful commands, but for several reasons they could fail. Autoremove
could e.g. fail, if once a package was installed automatically as
dependency of another package, that now isn't needed anymore by any
package, but it still could be needed by something you installed
without building a package.

It's safer to purge/remove kernels you don't use anymore. As others
already pointed out, most users should keep the two kernels that were
installed at last.

Note, kernel related files are not only stored in /boot/.
After uninstalling a kernel /lib/modules/ and the dkms dirs might
not be cleaned completely. You perhaps need to run dkms too to remove
everything and/or remove dirs by rm -r.

https://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support

Regards,
Ralf


-- 
It only looks like a tape-recorder. It's actually a pen.
So you can write with it and no one will know.




More information about the xubuntu-users mailing list