LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-21-2003, 01:55 AM   #1
R3N3G4D3
LQ Newbie
 
Registered: Apr 2003
Distribution: Ubuntu 7.04, RedHat 4.4
Posts: 22

Rep: Reputation: 15
dual boot on dual hdds


I used a 120 gig harddrive for my windows XP Pro and linux before (windows being hda1 and linux hda2-hda4) with dual boot before using Lilo, and everything worked fine. Now I decided to add a 30 gig hardrive from my old pc so I could have linux and windows each having a separate harddrive. So I put the 120 gig harddrive as primary slave and the 30 gig one as primary master. I want to install linux on the 30 gig one and keep windows on 120 gig one (and use partitionmagic or somehting to remove old linux partitions from the 120 gig harddrive later on). Since I put my 120 gig harddrive as slave, it now became hdb instead of hda (but that shouldn't effect windows, right?).
I added these lines to my Lilo so it can boot up windows:
other = /dev/hdb1 (since my windows is now on hdb1 instead of hda1)
table = /dev/hdb
label = Windows_XP
And tried booting up windows through Lilo (Lilo is on hda) this gave some message for a millisecond (obviously I didn't have time to read it in 1 millisecond) and then went back to the Lilo with the Timer (until default Linux partition is picked) reset back to the beginning time.
I tried getting rid of the table=/dev/hdb part but that still had same results. Then I tried changing it to table=/dev/hda and rebooted it and tried starting up Windows again and after I selected windows it said "Loading Windows_XP" (Windows_XP is the label for that partition) but after that it didn't do anything, just kept displaying that "Loading Windows_XP" message, and I waited for at least 5 minutes. And yes, after every single time I added changes to my lilo.conf I ran "lilo" command as root. I have no clue what's wrong, maybe windows needs to be on a master harddrive, not slave one. Could someone help me on getting windows to boot up. Thanks.
 
Old 09-21-2003, 02:03 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
You either have to spoof XP into believing it's Primary Master (it will not tolerate insolence It has to be first on the device list) OR actually move it there. You don't have to have Linux on Primary Master to install it, if that's your concern. However, let's go with what we've got...

To trick XP into believe it's actually Primary Master, under the entry in LILO for XP, add these lines:
Code:
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
Save, rerun lilo:
/sbin/lilo -v

And try again.

Cool
 
Old 09-21-2003, 09:54 AM   #3
R3N3G4D3
LQ Newbie
 
Registered: Apr 2003
Distribution: Ubuntu 7.04, RedHat 4.4
Posts: 22

Original Poster
Rep: Reputation: 15
Windows boots up fine now but for some reason after it loads everything (like AIM etc.) it just reboots without any warning. And its not the "Windows is shutting down" type of reboot, its as if I hit the reset button on my case. Any idea what's doing this? Thanks.
 
Old 09-21-2003, 12:41 PM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Try going into rescue mode and running a disk check (scan disk) to see if there are any problems. Do you have any off the wall partitions setup on that thing?

Cool
 
Old 09-22-2003, 02:36 AM   #5
catscan
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
the easyiest way to remove the linux partition from your 120 gb hardrive it's to open linux install and then remove the partition like you do them, and i have done that, i have one 120 gb hardrive and one 80 gb harddrive, and i'm using 40 gb from the 80 gb to linux. it's faster to use linux on a separate disk, and windows on a other one. use ntfs format and you can use the diskspace in buth OS
 
  


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
xp dual boot (2 HDDs) ntgaston98 Linux - General 17 11-18-2005 10:48 PM
Dual booting with seperate HDDs moistTowelette Linux - Software 1 04-27-2005 12:07 AM
Dual-boot, 2 HDDs -- potential problems to watch for? Genesee Linux - Software 5 07-17-2004 08:16 PM
Dual boot over 2 HDDs Pierce Slackware 16 10-29-2003 05:07 PM
Dual Boot off Two HDDs Shak Linux - General 21 06-28-2002 07:02 PM


All times are GMT -5. The time now is 09:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration