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
    Southern England
    Beans
    118
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Removing old kernel entries

    Ubuntu 9.10 64bit on a Gigabyte GA-965G-DS4 with
    E6700 2.66GHz / 1066 MHz / 4MB L2 Cache Intel Core 2 Duo Processor & 8GB ECC Corsair DDR2 800. GeForce 210, 512MB DDR2.

  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,626
    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
  •