LinuxQuestions.org
Visit Jeremy's Blog.
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 01-09-2005, 06:51 PM   #1
jarobman
LQ Newbie
 
Registered: Jan 2005
Location: Manitoba, Canada
Distribution: SUSE Personal 9.1
Posts: 23

Rep: Reputation: 15
Unhappy cannot dual boot suse 9.1 and winxp between sata and ide respectively


Here is my situation:

I cannot effectively dual boot suse and winxp. I have winxp installed on my 40 Gig ide drive and suse installed on my 160 Gig sata drive. I am not given an option to boot into suse when my ide drive has a higher boot priority. When I try to boot windows with my sata drive having a higher boot priority, GRUB gives me the following message:

root (hd2, 0)

Error 21: Selected disk does not exist


I have tried tinkering with menu.lst (which I probably shouldn't be doing) to no avail. I have not seen any similar situations in any other threads, so I have no choice but to post this one. Any insights would be greatly appreciated.
 
Old 01-09-2005, 09:09 PM   #2
keyfitter
LQ Newbie
 
Registered: Sep 2004
Location: Texas
Distribution: Vector Linux
Posts: 26

Rep: Reputation: 15
I am new to this butmy guess is that dual boot may not work when one of the drives
is not an IDE drive. You may have to get another IDE drive or install SuSE on the same drive with Windows. I did it in a laptop with a 20 gig hard drive. The only thing to be careful of is not to let SuSE format the whole drive and clean off your Windows. It did
it to me on the first try. I reinstalled Windows and used Partition Magic to create an
Ext2 Linux partition. SuSE went right to it.
 
Old 01-10-2005, 02:18 AM   #3
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
You should feel free to tinker with menu.lst . The best way to tinker with it is to leave most of it alone, and just add to the end of it. If you make a mistake this way, it won't cost you a head-ache.

Let me see, are you sure that your Windows disk is the Secondary Master (instead of primary master)? You are trying to boot secondary master, first partition.

(hd0,0) is first partition, primary master; (hd0,2) is third partition, primary master; (hd2,0) is first partition, secondary master

You might want to check in Linux in "cat /proc/partitions" to make sure that hdc1 exists. The output of this may prove helpful in understanding how your bios presents the drives.

I'd be interested to see which root devices your menu.lst uses (where does it see SuSE for example).
 
Old 01-10-2005, 11:07 AM   #4
jarobman
LQ Newbie
 
Registered: Jan 2005
Location: Manitoba, Canada
Distribution: SUSE Personal 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
are you sure that your Windows disk is the Secondary Master (instead of primary master)? You are trying to boot secondary master, first partition.
My windows disk is the primary master and my cd writer/dvd rom is the secondary master.

Quote:
(hd0,0) is first partition, primary master; (hd0,2) is third partition, primary master; (hd2,0) is first partition, secondary master
The weird thing about my suse installation is since it was installed with my sata drives having the topmost boot priority (besides floppy) it is assigned to (hd0,0) or hda, my second disk in my raid array is assigned to (hd1,0) or hdc and my primary master is assigned to (hd2,0) or hde. I can read the stuff from my primary master when I log in to suse and explore the directory, but when I try to boot up, GRUB won't let me and says it doesn't exist. I have no clue why I have no hdb.

The only solution I see if this problem is unsolvable is to partition my sata drive to hold both windows and suse and wipe my primary master clean. The only flaw with this method is that I will have to reinstall everything that I have on windows. The last time I had to reinstall everything, it almost took a month (this was during a school term, at about this time of year)! So, I would very much prefer to solve this little problem rather than go through all that trouble to reinstall everything. Thanks for the input so far!
 
Old 01-10-2005, 01:41 PM   #5
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Quote:
Originally posted by jarobman
My windows disk is the primary master and my cd writer/dvd rom is the secondary master.



The weird thing about my suse installation is since it was installed with my sata drives having the topmost boot priority (besides floppy) it is assigned to (hd0,0) or hda, my second disk in my raid array is assigned to (hd1,0) or hdc and my primary master is assigned to (hd2,0) or hde. I can read the stuff from my primary master when I log in to suse and explore the directory, but when I try to boot up, GRUB won't let me and says it doesn't exist. I have no clue why I have no hdb.
....
Yes, I consider that weird. Normally, systems work this way:

(hd1) is NOT secondary master, it is primary slave - /dev/hdb
(hd2) is NOT /dev/hde, it is secondary master - /dev/hdc

primary master - (hd0)
primary slave - (hd1)
secondary master - (hd2)
secondary slave - (hd3)
other drives - (hda4) and so on

In other words:
hda - (hd0)
hdb - (hd1)
hdc - (hd2)
hdd - (hd3)
hde - (hd4)
hdf - (hd5)
hdg - (hd6)


Try (hd4,0).
 
Old 01-10-2005, 01:43 PM   #6
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
By the way, Windows sometimes does not like to boot up if it's not booting from the primary master. You may need to trick it.

Code:
map (hd4) (hd0)
map (hd0) (hd4)
chainloader +1
 
Old 01-10-2005, 01:51 PM   #7
jarobman
LQ Newbie
 
Registered: Jan 2005
Location: Manitoba, Canada
Distribution: SUSE Personal 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Try (hd4,0)
I tried that, but it doesn't work and it reverts back to (hd2,0).
Quote:
By the way, Windows sometimes does not like to boot up if it's not booting from the primary master. You may need to trick it.

code:

map (hd4) (hd0)
map (hd0) (hd4)
chainloader +1
I tried that too but it doesn't work. Actually, I tried that with (hd2) instead of (hd4).
 
Old 01-11-2005, 11:06 PM   #8
jarobman
LQ Newbie
 
Registered: Jan 2005
Location: Manitoba, Canada
Distribution: SUSE Personal 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
I have finally given up. I have successfully installed xp and suse on my sata drive and I still have my original xp on my primary master. I can dual boot suse and my sata xp, but not my primary master xp. I will continue to use my primary master xp until i have installed everything on my sata xp. Then it's rm -rf /windows/E . Thanks for the input everyone.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot XP w/ Grub (IDE + SATA) TruckStuff Linux - General 3 09-25-2006 09:01 PM
Dual Boot XP/Ubuntu on SATA and IDE... snapmando Ubuntu 4 09-08-2005 02:55 PM
Installation and Dual Boot (Mandrake on a IDE, XP on a SATA) xstormos Linux - Newbie 5 09-10-2004 10:27 PM
dual boot on 2 drives...sata and ide vrdhananjay Linux - Hardware 6 09-08-2004 01:19 AM
RH 9 ide + WinXP SATA + dual booting Ev D Linux - Hardware 0 07-21-2003 07:19 AM

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

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