Results 1 to 4 of 4

Thread: Removing old kernel entries

  1. #1
    Join Date
    Dec 2007
    Location
    Mohali (Punjab), India
    Beans
    4
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Question Removing old kernel entries

    I recently upgraded the kernel to 2.6.24-21 through the Update Manager. After the upgrade a entry for the new kernel was added to /boot/grub/menu.1st. I checked in /boot and noticed that there were files with prefixes "System.map", "initrd.img" and "vmlinuz" bearing versions all the way from 2.6.24-16 to 2.6.24-21.

    Apart from the latest version (2.6.24-21), can I safely delete the older files to free up disk space ?

  2. #2
    Join Date
    Jan 2006
    Location
    MA, USA
    Beans
    137
    Distro
    Kubuntu 17.04 Zesty Zapus

    Re: Removing old kernel entries

    Kubuntu 17.04 64bit on a Toshiba C55-B5170 with SSD & 12GB Ram
    Ubuntu Server 17.04 64bit, plus various VirtualBox ubuntus for testing stuff out on.....

  3. #3
    Join Date
    Mar 2008
    Location
    City of Pines
    Beans
    3,585

    Re: Removing old kernel entries

    You can use Synaptics Package Manager to safely delete those files. You only have to search for the 'linux-image' string (w/o quote) and mark the kernels you want remove for "Complete Removal". Click on the Apply option when you're done selecting what kernels you want to remove. This will automatically update your /boot/grub/menu.lst file for you.

    Note: It's better if you leave an older kernel for a backup just in case.
    Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.

  4. #4
    Join Date
    Jan 2007
    Location
    Connecticut
    Beans
    1,650
    Distro
    Ubuntu Development Release

    Re: Removing old kernel entries

    apart from those methods...you can use synaptic to remove the old kernels. once i am sure that the latest is stable, i usually keep that and the one previous to it....then delete the rest.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •