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 wanted to try out the Burg boot loader, so I typed in the following commands: sudo add-apt-repository ppa:ingalex/super-boot-manager sudo apt-get update sudo apt-get install burg That was just slowing down my boot, and I didn't have any control about the ubuntu recovery manager, besides, it was booting up ubuntu safe mode. I re-installed grub2 by entering: sudo mount /dev/sda5 /mnt sudo grub-install --root-directory=/mnt /dev/sda That didn't work too well... It ended up making my machine put up a grub command line. I'm trying to restore the grub OS choice menu, but don't know the commands to do that.

share|improve this question

1 Answer 1

Try this for the second command:

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

And you're sure your Ubuntu is on sda5, I assume. Use

sudo fdisk -l

to be sure.

I also assume you're running this from a LiveCD.

share|improve this answer
    
I typed those into grub, but all it gives me is "unknown command sudo". PS: What's the live cd? –  OscarT Apr 22 '12 at 12:52

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.