LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-07-2006, 04:37 PM   #1
andrew285
Member
 
Registered: Jun 2006
Posts: 45

Rep: Reputation: 15
Dual Booting SuSE 10.0/Win XP off of 2 different HDs


I'm sure this has been done before but my next linux expedition is to try and dual boot SuSE 10 and Windows XP Pro off of 2 different harddrives, a master and a slave. I tried the old "Switch it in the bios" and XP runs fine. However linux errors out asking for the second hdd. (at least that's what I believe is happening after it asked for "dev/hda2" and didn't find it....) Just to make things perfectly clear the windows drive is the master and the linux drive is the slave.
 
Old 07-07-2006, 04:59 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
dev/hda2 is the second partition on the primary drive, did you by change happen to have physically swapped the drives after you installed linux?

Linux can run on any drive and doesn't care about being on the first disk. So if its on the second leave it there if however it thinks it was installed on the first, there maybe problems. You can fix these using recovery mode ( Altering where grub thinks things are and changing fstab ).

If it is on the first disk leave it and boot Windows with grub swapping the drives for windows. Saves all the messing with the BIOS.

More details would be great, have you moved disks what the layout of the actual drives are, etc.
 
Old 07-07-2006, 05:13 PM   #3
andrew285
Member
 
Registered: Jun 2006
Posts: 45

Original Poster
Rep: Reputation: 15
Okay, when I initialy installed linux I installed it on my 30g HD. At the time of install there was no other drives hooked up. I then hooked up a 40g HD and installed XP on that. I've now got them in a master/slave configuration in which the linux drive is the slave and the windows drive is the master. I'm still a little noobish with linux so when you say "Recovery Mode" you mean the thing on the linux install disk?
 
Old 07-07-2006, 05:38 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Yes or a Knoppix disk. Then you'll probably have to reinstall grub so its looking at the right disk, and alter the configuration file for grub in /boot/grub/menu.lst so anything that says /dev/hdaX say /dev/hdbX. Then alter the /etc/fstab file and do the same thing. There is an alternative though...

Swap the drives so Linux is the master again. Boot into Linux, and add a section to the /boot/grub/menu.lst file at the bottom for Windows something like:

Code:
title  Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
This will automatically swap the drives for you and boot windows so you don't have to mess with the BIOS.
 
Old 07-08-2006, 08:46 PM   #5
andrew285
Member
 
Registered: Jun 2006
Posts: 45

Original Poster
Rep: Reputation: 15
Okay great! Thanks alot for the help! There was one problam in the my boot virus detector thought the script that linux ran was a virus but that's been taken care of. Thanks again.


Oh and btw. Would windows being installed on the slave HD have make it run differently? It seems that it runs a little slower than it does when set to master.
 
Old 07-09-2006, 06:59 PM   #6
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
It shouldn't make any real difference. If the master is a CD, DVD drive I have had that slow some things down. but to be honest that was rarely noticable.

Since windows is running the show when its booted the linux disk basically sits there doing nothing, so The windows disk should have all the bandwidth to itself.
 
  


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 booting Win xp on SATA RAID and Suse 9.2 on hda? Dave624 Linux - Newbie 2 04-10-2005 01:57 PM
Dual booting with Grub - installing Win 2000 from CD-Rom with an existing SuSe 9.1 Steve2001 Linux - Newbie 3 01-19-2005 10:15 AM
Dual Booting SuSe 9.1 and WIN XP? CrYpTiC N1Nj4 Linux - Software 5 09-16-2004 12:09 PM
Dual-booting SUSE 9.1 on Win 98se machine dauntless Linux - Newbie 3 06-10-2004 04:28 AM
Dual Booting Win XP and RH 8.0 Hippolilo Linux - Newbie 6 11-21-2002 12:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 08:59 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