Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub has issues booting XP
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
blkdragon
n00b
n00b


Joined: 20 Nov 2006
Posts: 50

PostPosted: Sun Aug 12, 2007 5:13 am    Post subject: Grub has issues booting XP Reply with quote

Hey y'all,

Just got a couple of questions regarding grub...

1. Grub wont boot Windows.
Partition scheme looks like this:

Code:

/dev/hda1: DATA
/dev/hdb1: Windows
/dev/hdb2: Gentoo
/dev/hdb3: Swap


do i have to change grub options to read something like this?:

Code:

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


2. my xterm terminals have got some wierd resolution, what options do i have to pass to grub to make it 1024x768x16? i've already got
Code:
vga=791
but that seems to error out, and then i have to choose option 1
Code:
0F01, 80x60
or 2
Code:
0F02, 80x50
for me to get a highly un-readable font size.

Any help appreciated.
_________________
Lovin' Choc Cake...

Toshiba Portege 7020CT
PII, 366Mhz, 192Mb RAM, 30GB HDD, XP & Gentoo

Hewlett Packard 8833
PIII, 1Ghz, 512Mb RAM, 80+40Gb HDD, XP & Gentoo

Non-Branded Computer
P4, 1.6Ghz, 512Mb RAM, 160Gb HDD, XP & Gentoo
Back to top
View user's profile Send private message
breaultm
n00b
n00b


Joined: 23 Oct 2005
Posts: 18

PostPosted: Sun Aug 12, 2007 5:30 am    Post subject: Reply with quote

not too sure why your grub windows portion is written like that, but these are the relevant portions of mine.

Code:

title=Windows XP
rootnoverify (hd0,1)
makeactive
chainloader +1


so translate that to your setup and we get

Code:

title=Windows XP
rootnoverify (hd1,0)
makeactive
chainloader +1


try that, see what happens.

in grub speak your partitions map to:

/dev/hda1: DATA = (hd0,0)
/dev/hdb1: Windows = (hd1,0)
/dev/hdb2: Gentoo = (hd1,1)
/dev/hdb3: Swap = (hd1,2)

grub counts from 0 up.

also, can you compile vesafb-tng into the kernel and specify a resolution? or are you genkernel?
Back to top
View user's profile Send private message
blkdragon
n00b
n00b


Joined: 20 Nov 2006
Posts: 50

PostPosted: Sun Aug 12, 2007 5:47 am    Post subject: Reply with quote

Quote:
title=Windows XP
rootnoverify (hd1,0)
makeactive
chainloader +1


Yeah, thats what my current Grub setup looks like. When i try and boot it, grub hangs, and windows does not boot. That's why i was mucking around with the mapping stuff to see if that would work.

And yes, i will compile vesafb-tng into the kernel. I knew that there was something i had forgotten!

thanks.
_________________
Lovin' Choc Cake...

Toshiba Portege 7020CT
PII, 366Mhz, 192Mb RAM, 30GB HDD, XP & Gentoo

Hewlett Packard 8833
PIII, 1Ghz, 512Mb RAM, 80+40Gb HDD, XP & Gentoo

Non-Branded Computer
P4, 1.6Ghz, 512Mb RAM, 160Gb HDD, XP & Gentoo
Back to top
View user's profile Send private message
breaultm
n00b
n00b


Joined: 23 Oct 2005
Posts: 18

PostPosted: Sun Aug 12, 2007 6:26 am    Post subject: Reply with quote

please post your fdisk layout
Back to top
View user's profile Send private message
gsoe
Apprentice
Apprentice


Joined: 10 Dec 2006
Posts: 289
Location: Denmark

PostPosted: Sun Aug 12, 2007 6:50 am    Post subject: Reply with quote

Grub itself is not "cheated" by the mapping. You should use:
Code:
title=Windows
map (hd1) (hd0)
map (hd0) (hd1)
rootnoverify (hd1,0)
makeactive
chainloader +1
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