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.

Possible Duplicate:
Dual boot. Install 2nd OS on separate drive

What I would like to do is buy 2 HDs. Then I can have one formatted for Ubuntu 12.04 and install Windows XP Pro SP1 on the other HD for which I have the original installation CD. Then I would like to have a dual boot option so that when I power up the computer, I can choose whether to use Windows XP or Ubuntu.

Is this possible? If so, how would I do it, that is, arrange it so a dual boot option presents itself on power up.

share|improve this question

marked as duplicate by Uri Herrera, jrg Aug 14 '12 at 1:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Take a look at this: help.ubuntu.com/community/DualBoot/Windows –  Mitch Jul 7 '12 at 19:25

1 Answer 1

Yes, you can do this easily.

The easiest way is to first install Windows on one drive and get it working. Then, install Ubuntu with that drive present but choose the second hard drive (probably sdb), using the entire drive as one partition (sdb1). The install will automatically detect the Windows OS on the first drive (sda), and create a dual-boot menu (using GRUB).

share|improve this answer
    
Thanks for your quick response. I am not familiar with sdb or GRUB but I'm sure a little google searching will turn up some answers. Thanks again. –  Frank Jul 7 '12 at 20:19
    
GRUB is the bootloader that lives in the boot record of the bootable disk. And I disks are referenced by codes such as /dev/sda (1st disk), /dev/sdb (2nd), /dev/sdg for USB, /dev/sr0 for CD, and various other weird names. I should have used the full /dev/sdb, etc. They are all accessed as raw data in the /dev directory, and mounted from there along with a "template" that describes the organization. Makes for interesting reading. :) –  Marty Fried Jul 7 '12 at 21:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.