0

I installed 12.04(64bit) alongside Windows 7 (64bit) through a USB drive.

Earlier I couldn't load Ubuntu without a USB drive until I ran sudo grub-install --force /dev/sda2.

But now I can't load Windows 7 (loader)(on/dev/sda2) in GRUB. When I select that, it displays a black screen and then returns to GRUB.

Help me to solve this. I read "Installing GRUB 2" article but I cannot understand what I should do.

Peachy
  • 7,117
  • 10
  • 38
  • 46
Samith
  • 11

2 Answers2

0

Boot into Ubuntu, open up a terminal (shortcut Ctrl+Alt+T), and type update-grub and press Enter. You'll need to enter your root password. After it's done, reboot your system.

green
  • 14,306
0

Give this a try:

Boot into Ubuntu and open the terminal(Press Ctrl+Alt+T on your keyboard) or look for it in the dash. Once opened, try the following commands:

sudo grub-install "(hd0)"
sudo update-grub

That should do it. When you run that last command, make sure to see Windows. Take a look at this example. See Windows at the bottom:

Example of what sudo update-grub renders

If you do not see Windows, then you might have installed your dual boot wrong.

Tell me if it works. Hope this helps you.

Max Tither
  • 1,364