LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2008, 12:57 AM   #1
SimbaSpirit
Member
 
Registered: Feb 2008
Posts: 109

Rep: Reputation: 15
Question Cannot dual boot, even after reading forums


I have gone through the entireties of at least three forum sites and noone has a fix that works for me. Someone suggested GrubED but I guess thats incompatible with gutsy still.

I have linux on my master IDE HDD, and XP on my slave.
when I use fdisk it recognizes them as SDA and SDB, any idea why?

I have tried at least a dozen different suggested combinations of entries:

title XP
rootnoverify (sd1,0) # or (hd1,0)
#somtimes with
map (hd1)(hd0)
map (hd0)(hd1)
#or with (sd0) etc
chainloader +1
makeactive
boot

the master with linux on it I installed with the option to use the full disc, so it should be the generic setup. The XP one is also a single partition, thus (hd1,0) or (sd1,0).

when I have rootnoverify (hd1,0) in menu.lst and I try to boot to windows it gets to the next screen and hangs at "starting up...", if I put rootnoverify (sd1,0) I get "Error 23: Error while parsing number"

Can anyone shed some light on this? It seems to be abnormal as far as this problem goes...
 
Old 02-04-2008, 01:28 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
apparently the newer kernels use libata driver which may recognise IDE drives as sdx drives aka sata or scsi drives.

2) your attempt is almost there

try

title xp
root (hd1,0)....assuming C is first partition on second drive
map (hd1,0) (hd0,0)
map (hd0,0) (hd1,0)
makeactive
chainloader +1


there is no need for a boot line in the menu...but if you read my troubleshooter...you need the boot line to do it manually.

try it if you like.

3) only if that fails, change second line to
rootnoverify (hd1,0)
 
Old 02-04-2008, 01:41 AM   #3
SimbaSpirit
Member
 
Registered: Feb 2008
Posts: 109

Original Poster
Rep: Reputation: 15
Hey thanks for your reply.

I typed in what you gave me verbatim and it reported "Error 11: Unrecognized Device String"

I decided to test removing the "map..." entries and it took me back to hanging at "starting up..." So the error must be there somewhere?

The slave with XP on it only has one partition, so I don't know what the problem could be... ubuntu boots just fine.

I tried editing it at boottime with the "boot" at the end, no difference.

Last edited by SimbaSpirit; 02-04-2008 at 01:50 AM. Reason: additional info
 
Old 02-04-2008, 04:11 AM   #4
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
simba,

1) did you try replacing the root (hd1,0) with rootnoverify (hd1,0) ?

2) in those 2 map lines there is exactly one space between the 2 bracket sets ie
mapspace()space()

3) if that fails....since you can get into ubutu pls study my troubleshooter.

press c

root (hd1,....press tab to find all of your second drive partitions.....grub may identify them as windows..or not.....if not....then you are forced to use the rootnoverify command
rootnoverify (hd1,0)

then issue each map command

then makeactive

then chainloader +1

then boot


only if you had to use (3) report each error on screen please.

but I am still expecting an answer for the others as well.

BTW did you read my howto?

Last edited by aus9; 02-04-2008 at 04:13 AM.
 
Old 02-04-2008, 04:18 AM   #5
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
4) continued...and if all that fail try this

http://www.linuxforums.org/forum/sus...ing-win2k.html

remove the makeactive line....he also had by mistake both a root hd line and a rootnoverify line.....

But do not be confused why his maps only show drives map hd0 to hd1 and the converse....its the exactly the same thing for partitions.

you can try it of course....but I prefer to name the c partition in the map command.
 
Old 02-04-2008, 06:56 AM   #6
xenmaster
Member
 
Registered: Sep 2005
Posts: 32

Rep: Reputation: 0
Maybe this is completely irrelevant, but maybe your device.map is not up to date? If you let grub write a new device.map, it will just name all drives hd0, hd1, hd2, etc., not sd1. But I guess that's not the problem here. I likewise had very little success in trying to get Windows to boot on my second drive. But maybe it is easier to just reverse the master/slave, and install grub on the slave, and be done with it. If you want to do that, be sure to first edit your menu.lst to reflect the new order, then install grub on the slave using this new menu.lst, then reverse the jumpers. Good luck.
 
Old 02-04-2008, 11:56 AM   #7
SimbaSpirit
Member
 
Registered: Feb 2008
Posts: 109

Original Poster
Rep: Reputation: 15
Thank you aus, the problem was I didn't notice the space between the parts of "map...". Everything works perfectly now!
 
  


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
Error reading dual layer DVD disk on Fedora 5 senzmail Linux - Newbie 0 01-23-2008 02:28 AM
Installing dual Boot 98/Linux - WONT 'LILO' Dual Boot !? L1nux3d Linux - Laptop and Netbook 15 02-11-2006 05:36 AM
Relationship between LQ forums & Distro forums impeteperry LQ Suggestions & Feedback 3 11-01-2005 02:20 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
2 HDD Dual Boot issue(After reading other posts) Larsin Linux - Networking 12 02-20-2004 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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