Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just installed Ubuntu alongside Windows 7 from a flash drive. It said it installed properly and that I needed to restart. But when I did I never got the option to boot to Ubuntu and even when I pull up the boot list on start up it only shows Windows 7 with no option for Ubuntu.

edit: Added what I installed it from.

share|improve this question
    
Does it directly boot into windows or atleast the grub shows up? –  i08in Mar 6 '13 at 17:13
    
It directly boots into windows. –  Brian Green Mar 6 '13 at 17:15
    
what happen when you hold shift key at booting ? –  Raja Mar 6 '13 at 17:54

3 Answers 3

Try to install grub again. This can be done using a live Ubuntu on a USB disk. After loging into live Ubuntu run this:

 sudo grub-install --boot-directory=/media/pathToYourUbuntuParition sda
share|improve this answer

Start ubuntu live from CD. Run:

sudo fdisk -l

This will list all the drives in your system. Mount the partition that contains ubuntu installation,

sudo mount /dev/sda1 /mnt

sda1 is just an example. Use your ubuntu partition. Then install grub

sudo grub-install --root-directory=/ /dev/sda

and, update grub

sudo update-grub

This will work! Try it..

share|improve this answer
    
running this command returns that the install device wasnt specified. –  Brian Green Mar 6 '13 at 17:42
    
which of these command? –  Yedhu Krishnan Mar 6 '13 at 17:45
    
sudo grub-install --root-directory=//dev/sda –  Brian Green Mar 6 '13 at 17:46
    
In the second command, you need to specify the partition sda1 or sda2 or whatever it is. In the third command, you need to give sda itself. No changes –  Yedhu Krishnan Mar 6 '13 at 17:47
    
and there is a space between the two / –  Yedhu Krishnan Mar 6 '13 at 17:47

There is also a bug in the installer that does not delay when the install reports as done and when grub is also written. It does not flush file writes immediately, so if you restart AS SOON as the install says it is done, it kills all processes and sometimes grub has not been written yet.

next time, when the install says it is done, wait half a minute. Then click restart and that doesn't happen. This elusive bug got me, and I meant to report it but never have.

share|improve this answer

Your Answer

 
discard

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.