Announcement

Collapse
No announcement yet.

Latest kernel erased - how to get it back? SOLVED

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Latest kernel erased - how to get it back? SOLVED

    After the latest update of 10.04 I wanted to clean up and update grub. In preparing to do so I accidentally erased vmlinuz-2.6.321-18-generic.

    Ever since I have been attempting to get it back, reinstall it or simply do a system upgrade. The latest kernel is installed (synaptic shows it as installed) but the latest vmlinuz is not. Updating grub does not find the new kernel.

    Now what? Do I have to wait for another kernel update or is there another way that allows me to get back to the latest update?

    This issue is all my doing and has nothing to do with a flaw in Kubuntu.
    tinkered again one time to many with my working installation.

    #2
    Re: Latest kernel erased - how to get it back?

    The vmlinuz-2.6.32-18-generic is from the package > linux-image-2.6.32-18-generic:
    You have searched for files named vmlinuz-2.6.32-18-generic in suite lucid, all sections, and all architectures. Found 1 results.
    Do you have ?
    - linux-headers-2.6.32-18
    - linux-headers-2.6.32-18-generic
    - linux-image-2.6.32-18-generic

    After that try:
    Code:
    sudo update-initramfs -u && sudo update-grub
    Earlier > Re: very basic questions on upgrades
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: Latest kernel erased - how to get it back?

      If I understood you correctly, you deleted the image file?

      If so, reinstalling linux-image-2.6.32-18-generic package should do the trick:

      Code:
      sudo apt-get --reinstall install linux-image-2.6.32-18-generic

      Comment


        #4
        Re: Latest kernel erased - how to get it back?

        Thank you kubicle and rog131 for the suggestions. Indeed, reinstalling the linux-image-2.6.31-18 and then updating grub did the trick.
        I had previously reinstalled all other linux-header files and anything else that looked like I should have it. Overlooked the image.

        I am now running linux-2.6.32-18 again.



        Originally posted by kubicle
        If I understood you correctly, you deleted the image file?

        If so, reinstalling linux-image-2.6.32-18-generic package should do the trick:

        Code:
        sudo apt-get --reinstall install linux-image-2.6.32-18-generic

        Comment

        Working...
        X