Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed Ubuntu 12.04 on my computer. The install went fine but now I have the next error while booting: grub stage 1.5 - error 2

I'm posting from the live CD and I didn't find an useful answer in Google.

share|improve this question
1  
Adding the output of the boot info script to your question would help, but stage1.5 is part of grub-legacy and 12.04 uses grub2, so you must have some other disk that has an old broken grub install on it that you are booting rather than the one you installed 12.04 on. –  psusi Dec 1 '12 at 20:50
    
Thanks for your help ! I understand what you wrote, but I'm a newbie with Ubuntu. Where is this boot info script ? I didn't find it. Before installing Ubuntu I was running Kubuntu (don't remember the version). Maybe am I still lauching the old grub... But how to check it ? I tried "sudo grub" on my Live cd, but i get a "command not found"... –  Gabriel Dec 1 '12 at 23:49
    
Google for boot info script and it should be the first thing that comes up. Do you have more than one hard drive? –  psusi Dec 2 '12 at 1:24
add comment

1 Answer

Boot from LiveCD and from a terminal run 'grub-install /dev/hda' command and then boot from the hard disk. The command will do a fresh install of grub on your hard disk and overwrite any previous versions of grub. Hopefully this will fix it.

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.