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'm using 12.04 and few minutes ago I tried to install burg according to this guide.

I followed everything till the line burg-emu and there, I saw this minimal bash-like line editing is supported.

I installed burg to hda (because there was an error message [bad idea] when I tried this to the partition reserved for grub2.

share|improve this question
add comment

1 Answer

Boot into the Ubuntu Live CD and run a few commands in a new Terminal window.

First, identify which is the Ubuntu partition:

sudo fdisk -l

Next, mount it (replacing sda2 with the appropriate partition number):

sudo mount /dev/sda2 /mnt

And finally, reinstall Grub (replacing sda with the appropriate hard drive):

sudo grub-install --root-directory=/mnt /dev/sda

Now, run this:

sudo update-grub

This should detect your Ubuntu installation and add it to the Grub menu.

Reboot without the CD, and Grub should now load Ubuntu!

share|improve this answer
    
Yeah, worked perfectly :D –  darkwood Sep 20 '12 at 19:57
    
Great! Please consider accepting the answer or upvoting it, in order to prevent it from showing up in the Unanswered section of the site. Thank you! –  SirCharlo Sep 20 '12 at 20:01
    
Thanks! Found this as a solution to something unrelated through Google - good work! –  WindowsEscapist Nov 25 '12 at 19:21
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.