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've accidentially overwritten my bootloader. I was prepping some live USB sticks and think I accidentially wrote to my local disk instead of my USB stick. Now my machine will only boot in to Fedora and only in a live boot environment.

I've downloaded http://www.supergrubdisk.org/ and installed that to a USB stick and am looking at that, but have never used it before and don't even know if this will work.

Can anyone help me get my bootloader back?

share|improve this question
add comment

2 Answers

You should be able to boot your hard disk if you plug in the USB stick that grub was written to.

Once booted do an update-grub.

share|improve this answer
add comment
up vote 1 down vote accepted

I couldn't find an answer to this and ended up reinstalling :(

Lesson - be careful when prepping live USB sticks to put a destination as if you don't it'll target your local HDD.

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.