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 installed Ubuntu from a usb, but when I rebooted my computer after the installer finished, my computer booted into Windows XP. I didn't see any menu for selecting the operating system during boot.

How do I boot into Ubuntu?

share|improve this question

1 Answer 1

As soon as you see the BIOS screen hold Shift. This will take you to the GRUB screen. From there you can select which operating system you want to boot to.

If this doesn't work then you might have to repair GRUB by booting into a live CD.

Then open a terminal and type:

//To find out in which partition Ubuntu is installed
sudo fdisk -l

Mount the partition:

sudo mount /dev/sda1 /mnt

Now install GRUB in that partition:

sudo grub-install --root-directory=/mnt/ /dev/sda
share|improve this answer
    
Or boot from a live cd and install boot repair and let the magic happen for you.link. See 2nd option for details. –  penner Mar 29 '13 at 5:03

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.