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.

Possible Duplicate:
Repair grub mbr and /boot using ubuntu 9.04 live CD

Hello,

Ubuntu 9.10

I have Ubuntu 9.10 installed on one of my partitions. However, I needed to install Redhat 5.3 on a separate partition. However, doing this broke my GRUB for Ubuntu.

However, I can't boot into my Ubuntu. And I don't have my Live CD.

Is there another way I can restore my GRUB for Ubuntu?

Many thanks,

share|improve this question

marked as duplicate by quack quixote, Diago Jan 3 '10 at 19:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
RHEL 5.3 or the really old Redhat 5.3 (that probably would've installed LILO)? the most important thing: can you boot into RedHat? –  quack quixote Jan 3 '10 at 8:38
    
Yes. I can boot into redhat. However. I have finished with redhat now. And want my Ubuntu back. I have found my Ubuntu LiveCD and have booted from it. However, how do I restore from the LiveCD? –  ant2009 Jan 3 '10 at 11:03

1 Answer 1

Since you have the LiveCD, follow the process documented at Recovering Ubuntu After Installing Windows.

Make sure you're using a LiveCD that matches the version of Ubuntu installed on the computer. Especially do not use an Ubuntu 9.10 LiveCD to recover an older version of Ubuntu installed on the drive.

Essentially, the instructions boil down to the comand grub-install --root-directory=/path/to/boot /dev/sdX. They go into good detail about preparing the system for that command, what options to use, and how to verify that you got it right, so I won't reproduce any more of the process here.

share|improve this answer
    
Hmmm, seems like the question title should be changed to match the answer, or vice versa :\ –  therefromhere Jan 3 '10 at 18:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.