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 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

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 See 2nd option for details. – penner Mar 29 '13 at 5:03

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.