Repairing GRUB
Michael Fletcher — Fri, 18/07/2008 - 11:21

In an effort to continue evaluating and reviewing different Open Source Operating Systems, I downloaded and installed OpenSolaris 2008.05 onto the test partition of my notebook. FAIL
It was rather late in the evening and I was tired, so when I installed it, I forgot to keep an eye out for the grub options during the install. This means that when I ejected the CD and rebooted, all I got was the grub menu list from OpenSolaris, I had no way of getting back into my Ubuntu installation :-(
Google is your friend, and I found this....
http://www.sorgonet.com/linux/grubrestore/
Worked a charm! and I was back up and running in no time, a short summary follows:
From the OpenSolaris grub menu presented to me, I hit "c" to enter the grub command line interface. I know my Ubuntu was installed in (hd0,1) and so entered root (hd0,1) and the did setup (hd0) which reinstalled my Ubuntu grub on the master boot record of my harddrive - easy as pie!
If you are stuck without a grub menu (ie you had to reinstall Windows on your dual boot and it overwrote your grub install) you can use any live cd, open a terminal, type grub and continue from there.
Review of OpenSolaris will be up some time next week once I've had a chance to tinker.












Recent comments
2 days 19 hours ago
3 days 1 hour ago
1 week 3 days ago
1 week 3 days ago
1 week 4 days ago
1 week 4 days ago
1 week 5 days ago
1 week 5 days ago
2 weeks 1 day ago
2 weeks 1 day ago