There's an easier way - use Synaptic or Aptitude to select the old kernels
and remove them. That will automatically remove the kernel image, the boot
option from Grub, the modules and everything else related to them.

Ramon Casha


2009/3/19 paul morley <[email protected]>

> Since Ubuntu 8.10 (Intrepid) was first released to the present there has
> been quite a few Kernel upgrades.
> Just thought it may help some of our Ubuntu users, if I explain how to
> remove the old redundant Kernels which can save up to 3 GB of system
> disk space.
>
> Uses Alt>F2 and type in 'sudo nautilus' for root access [now be care
> full as you are in permanent root]
>
> The latest Kernel release is currently  2.6.27-14
>
> 1) Goto  the root boot folder, open and delete all the Kernel releases
> EXCEPT the 2.6.27-14 items.
>
> 2) Goto /lib/modules  and again delete all the Kernel releases EXCEPT
> the 2.6.27-14 items.
>
> 3) Goto /usr/src/  again delete all the Kernel releases EXCEPT the
> 2.6.27-14 items.
>
> Note: the deleted items will not appear in the Desktop Trash bin they
> are in another trash bin in root.
>         To locate: Goto /root/.local/share/trash they are in two
> folders named 'files' and 'info' where they can be deleted. [DO NOT
>         delete the 'files' and 'info' folders]
>
> 4) Close Nautilus.
>
>
> Tip: I use GNOME Commander it makes life easer.  It can be downloaded
> from Applications>Add/remove
>
> Have fun  8-)
> _______________________________________________
> MLUG-list mailing list
> [email protected]
> http://linux.org.mt/cgi-bin/mailman/listinfo/mlug-list
>
_______________________________________________
MLUG-list mailing list
[email protected]
http://linux.org.mt/cgi-bin/mailman/listinfo/mlug-list

Reply via email to