LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-30-2008, 01:40 PM   #1
Iceman99one
LQ Newbie
 
Registered: Jul 2008
Distribution: Ubuntu, Vector
Posts: 19

Rep: Reputation: 0
Question Attempting to dual boot windows xp home and ubuntu on separate drives-help needed-


Ok so here is my dilemma--

I have two hard drives one running windows(40Gb seagate) and the other running ubuntu(40Gb Western Digital). I am trying to find the best configuration to allow me to boot from both drives but without altering the windows MBR. Is this even possible? If it is not possible what would be the simplest way to to configure my drives?.

When I installed ubuntu I unplugged the windows drive as to not get it mixed up with the drive that I wished to install ubuntu on. Ubuntu installed successfully and works fine. Now to boot into either OS I need open the case and switch the drive drive manually to "master".

I am new to Linux so any help is appreciated, or if someone could point me to a thread with a similair question that works as well.

Thanks a lot!
 
Old 07-30-2008, 01:52 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,983

Rep: Reputation: 6381Reputation: 6381Reputation: 6381Reputation: 6381Reputation: 6381Reputation: 6381Reputation: 6381Reputation: 6381Reputation: 6381Reputation: 6381Reputation: 6381
Quote:
Originally Posted by Iceman99one View Post
Ok so here is my dilemma--

I have two hard drives one running windows(40Gb seagate) and the other running ubuntu(40Gb Western Digital). I am trying to find the best configuration to allow me to boot from both drives but without altering the windows MBR. Is this even possible? If it is not possible what would be the simplest way to to configure my drives?.

When I installed ubuntu I unplugged the windows drive as to not get it mixed up with the drive that I wished to install ubuntu on. Ubuntu installed successfully and works fine. Now to boot into either OS I need open the case and switch the drive drive manually to "master".

I am new to Linux so any help is appreciated, or if someone could point me to a thread with a similair question that works as well.
How about just swapping the boot-order in BIOS?
 
Old 07-30-2008, 01:57 PM   #3
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
What kind drives are they .
I use 3 drives sata GRUB written on each MBR of each drive and only change the boot order of the drives in the BIOS to change OS
On the other hand if Ubuntu is on boot able drive change the bootloader of Ubuntu in that way that it also boot up windows
I am not a Ubuntu user but nearly all distro give the option where to write GRUB and mostly also recognize windows and
put automaticly the lines in the bootloader , but you unplugged the windows drive it did not notice windows
 
Old 07-30-2008, 02:06 PM   #4
Iceman99one
LQ Newbie
 
Registered: Jul 2008
Distribution: Ubuntu, Vector
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
How about just swapping the boot-order in BIOS?
With the ubuntu drive in the "master" position the windows drive does not even show up...
Im not sure if the ubuntu drive shows up when when the windows drive is in the master position though.. I will have to check

by the way I'm using a IDE system if that makes any difference
 
Old 07-30-2008, 02:09 PM   #5
Iceman99one
LQ Newbie
 
Registered: Jul 2008
Distribution: Ubuntu, Vector
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ronlau9 View Post
On the other hand if Ubuntu is on boot able drive change the bootloader of Ubuntu in that way that it also boot up windows
How would i do this?

Thanks

They are IDE drives, not SATA drives
 
Old 07-30-2008, 03:02 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,983

Rep: Reputation: 6381Reputation: 6381Reputation: 6381Reputation: 6381Reputation: 6381Reputation: 6381Reputation: 6381Reputation: 6381Reputation: 6381Reputation: 6381Reputation: 6381
Quote:
Originally Posted by Iceman99one View Post
With the ubuntu drive in the "master" position the windows drive does not even show up...
Im not sure if the ubuntu drive shows up when when the windows drive is in the master position though.. I will have to check

by the way I'm using a IDE system if that makes any difference
Set the drives to be 'cable select'.
 
Old 07-30-2008, 03:04 PM   #7
raptor2552
LQ Newbie
 
Registered: Jul 2008
Location: Melbourne, FL
Distribution: Ubuntu amd64
Posts: 2

Rep: Reputation: 0
Do you have two ide channels? Put one drive on ide0 as master and one on ide1 as master
 
Old 07-30-2008, 03:15 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,062

Rep: Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939
The easiest way to dual-boot is the way you chose not to do during installation. Ubuntu would have detected your windows OS and created and entry to boot windows in the Ubuntu/Grub/menu.lst file. Since you chose not to do that, there are several other ways to dual-boot.

1. The way you are currently doing it, moving drives.
2. Changing boot order in BIOS.
3. Having the Ubuntu drive as 1st boot/master and putting an entry in the Grub menu.lst for windows.
4. Having the windows drive as 1st boot/master and putting Grub in the mbr of the windows drive with entries in Grub for windows and Ubuntu (this would change your mbr on xp)
5. Having the windows drive as 1st boot/master and editing the boot.ini file for an entry for Ubuntu so you can boot both xp/ubuntu.
6. Creating a boot floppy/CD specifically for your system and using it to boot.

These are the most common methods so you need to decide which you would prefer as the methods are different for each solution. Options 3 and 4 would probably be easier than the other methods. Up to you. Post back and someone should be able to give you specific instructions. Before posting, I would suggest you boot into Ubuntu and run the command: sudo fdisk -l, and post the results.
 
Old 08-02-2008, 09:42 PM   #9
Iceman99one
LQ Newbie
 
Registered: Jul 2008
Distribution: Ubuntu, Vector
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks for all your help guys! Much appreciated!

I think I am going to reinstall Ubuntu with both drives plugged in and see if grub will automatically configure for a dual boot...if that essentially you are telling me to do...

Cheers,

Iceman99one
 
Old 08-03-2008, 05:10 AM   #10
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Ubuntu, Mint, Debian, Suse
Posts: 307

Rep: Reputation: 32
Yeah, that should work fine. I installed suse with windows installed on the same drive (different partition obviously) and suse found it just fine and put an entry for windows in the grub for me. I never had an issue.

I never went back to windows tho.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Attempting dual-boot Windows/Ubuntu - hard freeze?? eagle63 Ubuntu 18 07-29-2006 06:19 PM
Dual boot w separate SATA drives newguy55 Linux - Newbie 7 03-19-2006 01:44 PM
Dual boot with 2 separate hard drives and OS lfierro Linux - Newbie 8 12-11-2004 02:37 PM
Dual Boot on Separate Hard Drives? theonlylivinggo Linux - Newbie 6 02-26-2004 04:15 PM
How to dual boot XP and Linux in separate drives TomCruise2002 Linux - Newbie 1 09-22-2002 11:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration