LinuxQuestions.org
Review your favorite Linux distribution.
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 06-02-2004, 03:12 PM   #1
simvan
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
Grub dual boot issue


My earlier post seems to have disappeared after one reply! At least, I can't find it

Here's the issue - two drives two installs of WinXP - one on each drive (I use one for audio work) - Suse Linux 9.1 on the first drive. I currently access the second drive winXP installation using the boot menu through windows - after selecting the first drive winXP install in Grub.

I would prefer to use just Grub but I am told it apparently needs to be 'fooled' into booting into the WinXP on the second drive.

Here's what I have been given to put into the boot/grub/menu.1st file:

Title Windows2
Map (hd0) (hd1)
Map (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader +1

The only reply I received suggested I should instead have

"rootnoverify (hd0,0)"

What happens, whatever the 'rootnoverify' line says, is that by selecting this option from the grub menu - which should boot my second drive installation of WinXP - is that it boots straight into the first drive installation - without even the menu option I have for windows booting without 'grub'.
 
Old 06-02-2004, 04:14 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
These two Map lines are unknown to me. What do they do?
You can try removing the two and editing the rootnoverify, like this:

Title Windows2
rootnoverify (hd0,0)
makeactive
chainloader +1

Most win entries on grub are like this.

And then check what happens.

Last edited by bruno buys; 06-02-2004 at 04:19 PM.
 
Old 06-02-2004, 04:35 PM   #3
simvan
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
As evidence of my 'newbie'-ness I don't know what they do either . . . something about fooling grub into thinking the second hd is the first hd.

However, I have used what you suggested and it boots into the windows boot menu which is set up on the first disc (from which, of course, I can choose the second winXP) but this is not what I want - I want it to recognize the choice as being the WinXP on the second drive instead of always accessing the first (and getting the windows boot choice).

Thanks for trying
 
Old 06-02-2004, 04:52 PM   #4
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
As evidence of my 'newbie'-ness I don't know what they do either .

He he... I don't know either...

I want it to recognize the choice as being the WinXP on the second drive instead of always accessing the first (and getting the windows boot choice).

Yes, I understood that. I believe I did a mistake, in the previous post: the parameter should be hd1,0. Grub names the hd's and partitions begining with 0 (little bit different from the kernel, who names begining with 1). So, in your system, hd number 1 is the second hd. It didn't work?
 
Old 06-03-2004, 05:08 AM   #5
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Can you answer me this question first:

Are you able to boot into the second WinXP installation if you set the bios to boot from the second drive?
 
Old 06-03-2004, 01:12 PM   #6
simvan
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for your help/interest . . .

Bruno: That setup is how grub set itself up in the first place but it boots into the first drive - I've been told it only accesses the first drive (which is what it is doing) and it needs to be fooled into thinking the second drive is the first drive which is why I put the 'map' stuff in in the first place (having found that after a lengthy google search). But that didn't work and I don't understand why.

Demonbane: Yes - Before installing Linux I used the windows boot method anbd that is how I currently get to my second drive winXP install. Linux install/grub recognizes that I have two windows installs, but selecting either goes straight to the first disc (and menu) - and without that winboot thingy I cannot access the second drive install of Win XP. I want to be able to access the second drive using just the one (grub) menu.
 
Old 06-03-2004, 04:42 PM   #7
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Try this one:
Code:
title WindowsXP
rootnoverify (hd1)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
 
Old 06-03-2004, 05:07 PM   #8
simvan
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I get this on a DOS screen:

rootnoverify (hd1)
map (hd0) (hd1)

Error 23: Error while parsing number

Press any key to continue . . .
 
Old 06-04-2004, 05:13 AM   #9
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
hmm what about rootnoverify (hd1,0) ?
though that's pretty much what you had
 
  


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
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 02:44 PM
SuSE 9.1 XP Dual boot issue… Hung at < loading Grub > LinuxHawk Linux - General 1 10-29-2004 03:09 AM
Dual boot, dual drives. Where to put GRUB? rgbrock1 Linux - Newbie 5 10-02-2004 11:56 AM
Dual boot issue w/ WinXP Pro & Mandrake 10 using GRUB Adam A Flynn Linux - General 6 06-08-2004 10:05 PM
Trying to dual-boot XP and RH9 with GRUB...GRUB stops right after BIOS EvilYoda Linux - Newbie 5 06-20-2003 04:38 PM


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