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.
- 119,640
- 37
4 Answers
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!
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.
- 3,899
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.
You should use the following command:
sudo grub-install /dev/sda
- 119,640
- 4,942