Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just upgraded to version Ubuntu 12.04 LTS and everything was fine until the restart and entered the grub. I give the first option to enter the menu and I get a screen with two errors that would be these:

  • error: cannot read the Linux headers
  • error: you need to load the kernel first

From there it returns to the menu and I have no idea what to do.

share|improve this question
    
@RicardoAltamirano now that we've got it translated to English, this question is appropriate for here. Not every Ubuntu/Mac/etc. question needs to be migrated. See When should questions be moved to AskDifferent/AskUbuntu/…? –  techie007 Nov 30 '12 at 19:10
    
add comment

1 Answer

In the menu it drops you back to, it should have a prompt underneath that says "Hit e to edit before boot".

Hit that, and then on the next page you should see the grub commands, make sure the kernel is above the initrd. Something like:

set root=(hd0,1)             #Just leave this one for now
linux /boot/vmlinuz          # This should be here, initrd should be below it.
initrd /boot/initrd.img

After that, I think you hit escape and B or something (a prompt should show you).

Let us know if your grub menu already looks that way.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.