I installed Windows on dual boot machine with Ubuntu, so I lost Ubuntu.
I wanted to get that dual screen boot menu back so just followed this link https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows
and as explained, I executed the command
sudo grub-install --root-directory=/media/0d104aff-ec8c-44c8-b811-92b993823444 /dev/sda
instead of
sudo grub-install --root-directory=/media/0d104aff-ec8c-44c8-b811-92b993823444 /dev/sda6
On booting, my machine shows the screen with Grub commands like:
Grub>_
Please help me. What should I do? I think I installed grub on /dev/sda instead of /dev/sda6.
How do I remove grub from /dev/sda
?
SOLUTION: I did not read the above link completely, At the end of the page it is mentioned what should be done in this particular case. I just used Ubuntu 9.04 Live CD and got it working..Thanks every one for ur time.
/dev/sda
is ok, if you have only one disk, but the UUID of the root partition is surely wrong, because is the same that appears in the help page. You have to determine your particulare UUID following the instructions in the help page.