September 8, 2011

GRUB RESCUE after Ubuntu 10.10 -> 11.04 upgrade


So to start off I'm a complete Linux newb, and I originally installed Ubuntu 10.10 to learn a little more about it.

I have a laptop and a desktop. Both computers had Ubuntu 10.10 installed on them. On the laptop Ubuntu was installed in a dual boot configuration on a single partitioned hard drive. On my desktop Ubuntu had it's own separate drive. I have 4 other hard drives 1 TB each running in a RAID 10 setup. I upgraded from 10.10 -> 11.04 on my laptop first and it went off without any problem.

When I upgraded 10.10 -> 11.04 on my desktop all hell broke loose. I choose all the same options as the laptop upgrade, but it didn't work out as well, lol. I think the problem originated at the end of the upgrade when it asks you about the boot configuration. I chose the first option which was something like "use the manufacturers boot blah blah". When the computer restarted it went through the POST and I was left at a "grub rescue>" prompt. I messed around with a program called Rescatux. I think what I ended up doing was installing a MBR to the sde drive which is my separate hard drive for Ubuntu. I changed the boot order in my BIOS to the separate drive with Ubuntu first and now it will boot into Ubuntu fine but it has no boot loader.

My question and probably complicated is, how do I restore it to the way it was before? With the GRUB2 boot loader and the option to boot into Windows 7 (on my four hard drives in RAID 10 setup) along with the option of booting into Ubuntu 11.04 on the separate drive?? I have a boot script text file output that was generated from the Rescatux program. Should I post the output to this thread? Not even sure what's in the text file.

Thank you in advance for any help restoring my system to a working condition (mainly Windows 7)