0

Possible Duplicate:
How can I repair grub? (How to get Ubuntu back after installing Windows?)

I have installed Ubuntu 12.04 on Windows 7 PC on seperate disk partition (that is E:\ drive). Installation is complete. Now the system is always booting in windows 7. I opted for dual boot at the time of installation. But system directly booting windows without asking anything.

What is to be done next ?

2 Answers2

0

It sounds like your BIOS is set to boot from the Windows 7 partition/drive and not the partition that has GRUB / Ubuntu.

Jay
  • 11
  • 3
0

you need to boot up the live ubuntu CD/DVD and rewrite the MBR.

This is a simple task, but is best be done with some fundamental understanding of partitions, partitioning and how booting works basically.

Just steps:

  • boot in live mode via ubuntu live CD
  • open up a terminal (Ctrl+Alt+T)
  • run following command:

    sudo grub-setup /dev/sdX

where X is the letter for the Hard Disk to write the MBR to. Usually this is sda, but it could be sdb or sdc in your case.

If you installed your System with the WUBI installer, be aware that this solution might not work. I am not familiar with WUBI.

mondjunge
  • 3,336