Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Ubuntu in a Windows 7 PC in its G: partition. But after installation and restarting the PC, there is no option for boot to Ubuntu. I am not a computer expert. Please help me. During installation how do commands work.

share|improve this question
after that i run ubuntu without installing to hdd, it works, – anilkumar b Jul 17 '12 at 17:55
installed ubuntu , i like to keep windows, what will be sda – anilkumar b Jul 17 '12 at 18:59
I suggest you to enter the askubuntu general chat room in order to receive real time advice from connected users, click here: – Geppettvs D'Constanzo Jul 17 '12 at 19:10

Install it on your main drive, usually /dev/sda.

then use the command

sudo grub-install /dev/sda

It should automatically see your Windows partition, and you'll be rocking a dualboot.

Another option is to restore the Windows Bootloader after installing Ubuntu, and then proceeding to use EasyBCD to add a boot loader entry for Ubuntu.

I triple-boot OS X, Windows, and Ubuntu with the Chameleon Bootloader.

It automatically recognizes all my operating systems (all on separate drives within the same computer)! Plus it has a GUI. I love it!

share|improve this answer
It recognizes the Ubuntu partition as well?? – Akshit Baunthiyal Jul 17 '12 at 19:41
If you're talking about Chameleon, in my case, I have ubuntu installed on a separate DISK. – Connor McBrine-Ellis Jul 17 '12 at 19:51
EasyBCD does. GRUB does too, obviously. – Connor McBrine-Ellis Jul 17 '12 at 19:52

If you installed Ubuntu using a USB, try booting the computer with the USB connected.
If you see Grub and Ubuntu boots then follow the solution in this question.

EDIT : Extra info as requested

Hold "ctrl & Alt" then press "T" and that will open a terminal.
Grub is the bootloader, basically a screen which will allow you to select booting Windows or Ubuntu (using the up / down arrows and pressing enter).

As suggested above try booting with the installation USB connected and let me know what happens.

sdx will probably be sda assuming you are installing to an internal hard drive and only have 1 internal drive. Linux uses sda, sdb, sdc to identify drives and sda1, sda2, etc to identify partitions on those drives. Windows uses letters like C, D, E etc to identify drives, partitions and devices which can make things complicated for new Linux users.

share|improve this answer
ok very good i can follow u. in my pc the hdd is 320 gb. installed windows7 installed in its C drive. and d and e are ntfs. f is cd drivei, g is pendrive. in my hdd 80gb free unallocated area. i like to install ubuntu with out disturbing existing windows7. what i hAVE TO DO? CAN I USE SDA1 – anilkumar b Jul 17 '12 at 18:31
In that case, boot to a LiveCD or LiveUSB and select the "Something else" option and select the 80gb free space when prompted. You should read the answers from install Ubuntu on a PC with 4 partitions, it might help you. – Peachy Jul 18 '12 at 0:35

Boot into Windows and use EasyBCD to fix/adjust the boot setup.

Here is the website for EasyBCD.

Also, take a look at this answer on AskUbuntu. It describes how to setup EasyBCD for boot problems.

Edit: It could be a graphics driver problem, give this answer a read as well.

share|improve this answer

You should use the following command:

sudo grub-install /dev/sda
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.