Here is a small tutorial on how to recover grub and ubuntu after installing windows . Usually its always recommended to install ubuntu after installing windows , but just incase you've done it the other way round , you would notice that you would not get to choose ubuntu from the boot menu as grub would no longer be used , instead windows would use its own bootloader which would fail to recognize ubuntu . So here's how you fix that :

Step 1 : Insert the Ubuntu Live cd and boot the live cd and open the Terminal
Step 2 : Now in the terminal , type sudo grub
Step 3 : Then type find /boot/grub/stage1 , now take a note of the output , this is where grub is located , in my case it is (hd0,3)

Step 4 : Then type root (hd0,3) , now replace (hd0,3) with whatever output you received in the previous step
Step 5 : Then type setup (hd0)
Step 6 : Thats it , now type quit
Step 7 : Now restart your computer and remove the live cd and it should boot normally :)

1 comments

KARTHIK said... @ September 10, 2009 at 6:22 PM

Yes! .I have tried this,Thanks for the info buddy!

Post a Comment