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 have broken my boot sequence on my XP/Vista/Ubuntu box. I wish to restore the system back to the way that Ubuntu 9.04 (last installed OS) had it setup. I want to do only the mbr and /boot on the ubuntu partition and leave the rest of the system alone. How can I do this using the ubuntu 9.04 live CD?

share|improve this question
add comment

3 Answers

up vote 5 down vote accepted

Follow the Ubuntu Community instructions on restoring or recovering from a boot-loader problem. Essentially, you'll have to chroot into your hard drive environment using your live CD and use grub-install to reinstall GRUB. There are multiple ways to do this as suggested by the document - choose your pick.

share|improve this answer
add comment

Use Ubuntu's Live CD. Restart your machine, and boot into the disk.

Choose the try ubuntu option ,make sure that your pc is connected to the network. If the connection was lost, right click on the Network Connection icon, and choose edit. Add a network by putting in ips, dns, etc then hit apply

Open the terminal by combination of the keys Control + alt + t. Type sudo apt-install grub then afterwards enter update-grub. Restart your machine, things should be fixed!

share|improve this answer
add comment

Open up a root terminal and type the following:

grub-install /dev/sda

sda being the hard drive you want to install grub onto.

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.