LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums HCL Reviews Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-06-2005, 09:05 PM   #1
xVern
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Rep: Reputation: 0
Ubuntu: Dual boot with xp on a different disk


okay. i un-plugged all my hard drives, besides the one i wanted ubuntu on.

reasoning; i have 4 of the same drive. so i couldnt tell the difference between them, so i unplugged the ones i knew i didnt want ubu on.


installed everything fine.

i can boot up into it, when i dont have my xp drive plugged in. haha.

would it just be something i put in the boot.ini in windows?
something in the grub in ubu?
or something else?

if so, what would i add?



this is my first time playing with linux, so sorry if this is dumb.

thanks!
 
Old 09-06-2005, 09:23 PM   #2
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 86
Honestly, I can't really make head or tails of most of your post.

I do know that if you install Grub on the MBR, Ubuntu 99% of the time will add Windows to the Grub boot menu, allowing you to dual-boot.

If you don't... good luck trying to get Grub to fit into the boot.ini configuration file!
 
Old 09-06-2005, 09:27 PM   #3
xVern
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by aysiu
Honestly, I can't really make head or tails of most of your post.

I do know that if you install Grub on the MBR, Ubuntu 99% of the time will add Windows to the Grub boot menu, allowing you to dual-boot.

If you don't... good luck trying to get Grub to fit into the boot.ini configuration file!

well from what i've heard, since i didnt have my windows drive hooked up when i installing ubuntu, it didnt do that.
 
Old 09-06-2005, 09:35 PM   #4
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 86
Quote:
Originally posted by xVern
well from what i've heard, since i didnt have my windows drive hooked up when i installing ubuntu, it didnt do that.
Look at this:

http://ubuntuforums.org/showthread.php?t=24113
 
Old 09-06-2005, 09:36 PM   #5
SirAeryn
LQ Newbie
 
Registered: Sep 2005
Location: Port Hedland, Western Australia
Distribution: Fedora Core 4
Posts: 18

Rep: Reputation: 0
I have a dual boot setup with Windows XP on a separate hard disk. The problem with windows is that it requires that the drive it is on is the master. Mine is the slave with the Linux drive set as master.
It's not hard to fool windows though.

In your /boot/grub/grub.conf file you need to add something like this:

title Windoze XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader +1
boot

hd0 is the primary master, hd1 is the primary slave
(hd1,0) is the first partition on the primary slave (windows)

I'm not 100% sure of the drive labelling system, but I guess that your secondary master would be hd2 and secondary slave, hd3. Not sure what they're called for serial ATA. I found the above somewhere on the internet... not sure where though.

You may need to change the jumpers on your drives, particularly if windows was previously the main boot drive. The grub will be installed on the Linux drive, so it has to be the Master. Change the win drive to Slave.

going the other way... booting to the windows drive etc, then loading a boot menu... I'm not sure how you'd do it.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual-boot Ubuntu/Win2k pixellany Ubuntu 8 11-30-2005 12:01 PM
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 10:20 PM
dual boot win 98 and ubuntu analogg59 Linux - Software 3 07-22-2005 12:44 PM
booting Ubuntu fro boot disk.. sturla Linux - General 2 05-02-2005 02:59 AM
Ubuntu setup boot disk anyone? rclodfelter Linux - Distributions 1 10-05-2004 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:43 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration