Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub won't boot that "OTHER" OS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Kosano
Guest





PostPosted: Thu Jun 20, 2002 4:03 pm    Post subject: Grub won't boot that "OTHER" OS Reply with quote

I have gentoo installed and working fine. My setup is i have 3 hard drives, 1 on hde, and
1 on hdg and hdh. They are on a promise ata100 controller so that is the reason they
aren't on hda and what not.

So linux has been working fine and i decided to install windows XP yesterday (since Bioware
didn't release the nwn linux client at the time of launch......) So i installed WinXP on a 20gig
fat32 partition on hdg1. Then i added a line to grub that looks like

title=Win
root (hd1,0)
makeactive
chainloader +1

but when i try to boot from it from grub it just sits there with the text on the screen and
does nothing. I took out the makeactive but it still won't boot. When i go to the commandline
from the grub screen and type root (hd1,0) it recognizes it as a vfat partition but when i type
chainloader +1 and then type boot it just sits there and does nothing.

Also i should note that the way that i installed windows (if this makes a difference) is i
unplugged my linux drive (hde) so i wouldn't have anything unfortunate happen and only had
hdg and hdh running, then i installed WinXP and everything went fine. So now if i unplug
hde then it will boot into windows just fine but it won't boot from grub.

Any suggestions would be greatly appreciated.
Thank you

-Chris
Back to top
fuzz
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2002
Posts: 93

PostPosted: Thu Jun 20, 2002 4:29 pm    Post subject: Reply with quote

is windows on the first hd, windows is stubborn in that way, if its not first it won't load.
Back to top
View user's profile Send private message
thinker5555
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2002
Posts: 77
Location: Texas

PostPosted: Thu Jun 20, 2002 4:30 pm    Post subject: Reply with quote

Hi,

If Windows is on hde (and assuming that all your IDE channels on your mobo are used) then "hde" would translate to (hd4) in grub. Upon bootup, Windows likes to think that it's on the first hard drive, but you can fool it if it's not. I have Win2k installed on the first partition of hde, and this is my entry in grubs menu.lst file:

Code:

title=Windows 2000
root (hd4,0)
chainloader +1


I had trouble with it too at first. I have Windows on a NTFS partition, and this worked once I got my hard drive numbering figured out. Notice my lack of "makeactive". I've never found it to make any difference. Fat32 may be different. If this doesn't work for you, you may want to do something more like this:

Code:

title=WindowsXP
map (hd0) (hd4)
map (hd4) (hd0)
root (hd0,0)
chainloader +1


This maps hda to hde and vice versa. This could help with your situation. (especially if you have any other ntfs or fat 32 partitions on drives before hde.)

Hope this helps,

Jeremy[/code]
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Thu Jun 20, 2002 4:30 pm    Post subject: Reply with quote

Add:

Code:
map (hd4), (hd0)
map (hd0), (hd4)


I think that'll do the trick.
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Thu Jun 20, 2002 5:53 pm    Post subject: Re: Grub won't boot that "OTHER" OS Reply with quote

Kosano wrote:
i have 3 hard drives, 1 on hde, and 1 on hdg and hdh.

So they are:
hde = hd0
hdg = hd1
hdh = hd2

Kosano wrote:
title=Win
root (hd1,0)
makeactive
chainloader +1

This is ok, you just need to add the map stuff posted above. But you have to use hd1 instead of hd4 there...
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Jun 20, 2002 6:12 pm    Post subject: Reply with quote

ok, so i am going to add

map (hd1) (hd0)
map (hd0) (hd1)

i got that part, now will i leave the same line

root (hd1,0)
since i am trying to boot windows off of hdg1 which is hd1,0 or so i need to change
it to be
root (hd0,0)
since i just maped (hd1) to (hd0) ?

Thanks a lot for all the help. You guys are great.


-Chris[/quote]
Back to top
craftyc
Guru
Guru


Joined: 23 May 2002
Posts: 443
Location: Behind You.

PostPosted: Thu Jun 20, 2002 8:41 pm    Post subject: Reply with quote

Yes, that is correct.
_________________
Postcount ++
Back to top
View user's profile Send private message
tsuru
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 99
Location: Nashville, Tennessee, USA

PostPosted: Thu Jun 20, 2002 9:41 pm    Post subject: rootnoverify Reply with quote

well I don't know if GRUB recognized fat32 or not blah blah... but I was wondering have you tried using

rootnoverify(hd1,0)
map (hd1)(hd0)
map (hd0)(hd1)
makeactive
chainloader +1

instead of root(hd1,0)


note: as long as root /rootnoverify appears before the map command you can still use (hd1,0).

hope that helps
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum