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 have Windows Professional installed on the 1st hard drive with the NTFS file system.

I've just installed UBUNTU 11.10 on a second hard drive but didn't setup the dual boot during installation because I was confused that I might by accident, install on the wrong drive. So before the installation of UBUNTU, I dis-connected the 1st hard drive with WindowsXP from the power supply just to be safe.

So now I've been trying every thing to setup dual boot. WHAT CAN I DO TO SETUP DUAL BOOT?

share|improve this question

Set your PC BIOS to boot from the 2nd hard drive "Ubuntu"

Boot into Ubuntu and execute this command in terminal:

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

you are going to get this: enter image description here follow the instructions here

share|improve this answer
You need to ensure that the drive with Windows XP is plugged in when you do this - I see no reason why it wouldn't work and is one of the simplest GUI tools I've seen to do this. I recommend you install GRUB into the MBR of the Ubuntu drive- it will recognise the XP install and add it to GRUB. – Mark Rooney Feb 28 '12 at 5:58
Good point Mark – Ringtail Feb 28 '12 at 6:07
Hey BlueXrider, thank you for this great information, I have already been using my system bios to change drive start-up position. However I'm am new to Linux commands. I will use your advice "boot repair" but I will still need to figure out how to add "GRUB' to the MBR. – M Canaan Feb 28 '12 at 15:02
well usually when you do a major update in ubuntu that is when I randomly would get the grub to boot both my windows and ubuntu otherwise I would always go to my bios. I'm sure that when you do your regular run of updates you are going to be surprise with the grub when you restart your computer. Also usually when I do an update in ubuntu and then it tells me to restart my computer for the updates to take effect that is when I got the grub to choose which Operating system I wanted to boot from. I didn't have to do any terminal commands. – jart Feb 28 '12 at 21:33

Usually when you do an update in ubuntu the grub appears, but there is a command that you can put in so you can get the grub to dual boot. I have mine setup like you do. One hard drive for windows and another for ubuntu. Also for now you can just go to your computer BIOS and choose from there which hard drive to be the first to boot.

share|improve this answer
Thank you "Jart", I'm new to Linux system commands and still trying to learn in it's usage. I've been looking for a site that shows good examples of command-line usage. It seem that each version of Ubuntu from ver:10, 11.04 to 11.10, have different command-line approach. – M Canaan Feb 28 '12 at 15:00

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.