Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: Cannot read the Linux header

  1. #11
    Join Date
    Jun 2007
    Location
    Newcastle, UK
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Cannot read the Linux header

    Hi,

    When you reach the blank screen press Ctrl-Alt-any(F1-F6) key, you should be presented with another screen with terminal access you may also be asked to login, do so, at the prompt type or copy this command:

    sudo apt-get install linux-headers -`uname -r'

    Once installed restart and boot as normal.

    Regards, Ellgor.

  2. #12
    Join Date
    Jun 2007
    Location
    Newcastle, UK
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Cannot read the Linux header

    Hi,

    When you reach the blank screen press Ctrl-Alt-any(F1-F6) key, you should be presented with another screen with terminal access you may also be asked to login, do so, at the prompt type or copy this command:

    sudo apt-get install linux-headers -`uname -r'

    Once installed restart and boot as normal.

    Regards, Ellgor.

  3. #13
    Join Date
    Jun 2007
    Location
    Newcastle, UK
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Cannot read the Linux header

    Hi,

    When you reach the blank screen press Ctrl-Alt-any(F1-F6) key, you should be presented with another screen with terminal access you may also be asked to login, do so, at the prompt type or copy this command:

    sudo apt-get install linux-headers -`uname -r'

    Once installed restart and boot as normal.

    Regards, Ellgor.

  4. #14
    Join Date
    Jun 2007
    Location
    Newcastle, UK
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Cannot read the Linux header

    Hi,

    When you reach the blank screen press Ctrl-Alt-any(F1-F6) key, you should be presented with another screen with terminal access you may also be asked to login, do so, at the prompt type or copy this command:

    sudo apt-get install linux-headers -`uname -r'

    Once installed restart and boot as normal.

    Regards, Ellgor.

  5. #15
    Join Date
    Jan 2011
    Beans
    8
    Distro
    Ubuntu

    Re: Cannot read the Linux header

    Quote Originally Posted by Rubi1200 View Post
    Thanks for the results. Are you able to boot one of the other kernel entries or recovery mode?

    As the computer starts, hold down Shift to bring up the GRUB menu and try booting an older kernel.
    Thanks for the help. using Shift to get the GRUB menu allowed me to boot into the previous version 2.6.32-26 which worked fine.

    I have tried using synaptic to remove 2.6.32-27, and it seems to do it, but then it stays as the default entry in GRUB so I have to do the Shift thing every time I want to boot. I have also tried reinstalling 2.6.32-27 from synaptic, thinking that a clean reinstall might fix it, but always the same problem.

    Any hints on how to get 2.6.32-26 to be the default, would be appreciated. Then I may just wait till 2.6.32-28 comes along before trying again
    cheers again for all the help everyone.

  6. #16
    Join Date
    Jan 2011
    Beans
    8
    Distro
    Ubuntu

    Re: Cannot read the Linux header

    Quote Originally Posted by Rubi1200 View Post
    Thanks for the results. Are you able to boot one of the other kernel entries or recovery mode?

    As the computer starts, hold down Shift to bring up the GRUB menu and try booting an older kernel.
    Thanks for the help. using Shift to get the GRUB menu allowed me to boot into the previous version 2.6.32-26 which worked fine.

    I have tried using synaptic to remove 2.6.32-27, and it seems to do it, but then it stays as the default entry in GRUB so I have to do the Shift thing every time I want to boot. I have also tried reinstalling 2.6.32-27 from synaptic, thinking that a clean reinstall might fix it, but always the same problem.

    Any hints on how to get 2.6.32-26 to be the default, would be appreciated. Then I may just wait till 2.6.32-28 comes along before trying again
    cheers again for all the help everyone.

  7. #17
    Join Date
    Jan 2011
    Beans
    8
    Distro
    Ubuntu

    Re: Cannot read the Linux header

    Quote Originally Posted by Rubi1200 View Post
    Thanks for the results. Are you able to boot one of the other kernel entries or recovery mode?

    As the computer starts, hold down Shift to bring up the GRUB menu and try booting an older kernel.
    Thanks for the help. using Shift to get the GRUB menu allowed me to boot into the previous version 2.6.32-26 which worked fine.

    I have tried using synaptic to remove 2.6.32-27, and it seems to do it, but then it stays as the default entry in GRUB so I have to do the Shift thing every time I want to boot. I have also tried reinstalling 2.6.32-27 from synaptic, thinking that a clean reinstall might fix it, but always the same problem.

    Any hints on how to get 2.6.32-26 to be the default, would be appreciated. Then I may just wait till 2.6.32-28 comes along before trying again
    cheers again for all the help everyone.

  8. #18
    Join Date
    Mar 2010
    Location
    /home
    Beans
    9,397
    Distro
    Xubuntu

    Re: Cannot read the Linux header

    Sorry for the delayed response; forum issues.

    You also need to remove the headers for the kernel in question.

    So, in Synaptic search for and remove
    linux-headers
    with the appropriate kernel number (should be 2 files if I remember correctly).

    That should take care of it, but if not run
    Code:
     sudo update-grub
    in the terminal.

  9. #19
    Join Date
    Jan 2011
    Beans
    8
    Distro
    Ubuntu

    Re: Cannot read the Linux header

    Hi
    Sorry about the triple post, I didnt try to post it more than once, must have been a connection bug or something.

    I have tried 'complete uninstall' for all of the items with linux-headers-2.6.32-27 in them. There were only two
    linux-headers-2.6.32-27 and
    linux-headers-2.6.32-27-generic
    The complete removal goes fine.

    then when I run sudo update-grub it says
    Code:
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-2.6.32-27-generic
    Found initrd image: /boot/initrd.img-2.6.32-27-generic
    Found linux image: /boot/vmlinuz-2.6.32-26-generic
    Found initrd image: /boot/initrd.img-2.6.32-26-generic
    Found linux image: /boot/vmlinuz-2.6.32-24-generic
    Found initrd image: /boot/initrd.img-2.6.32-24-generic
    so for some reason it is still finding it there.

  10. #20
    Join Date
    Mar 2010
    Location
    /home
    Beans
    9,397
    Distro
    Xubuntu

    Re: Cannot read the Linux header

    Hi,
    so when you boot you still see the entry?

    Can you post the contents of /boot/grub/grub.cfg please?

Page 2 of 3 FirstFirst 123 LastLast

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
  •