View previous topic :: View next topic |
Author |
Message |
blkdragon n00b
Joined: 20 Nov 2006 Posts: 50
|
Posted: Sun Aug 12, 2007 5:13 am Post subject: Grub has issues booting XP |
|
|
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 but that seems to error out, and then i have to choose option 1 or 2 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 |
|
|
breaultm n00b
Joined: 23 Oct 2005 Posts: 18
|
Posted: Sun Aug 12, 2007 5:30 am Post subject: |
|
|
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 |
|
|
blkdragon n00b
Joined: 20 Nov 2006 Posts: 50
|
Posted: Sun Aug 12, 2007 5:47 am Post subject: |
|
|
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 |
|
|
breaultm n00b
Joined: 23 Oct 2005 Posts: 18
|
Posted: Sun Aug 12, 2007 6:26 am Post subject: |
|
|
please post your fdisk layout |
|
Back to top |
|
|
gsoe Apprentice
Joined: 10 Dec 2006 Posts: 289 Location: Denmark
|
Posted: Sun Aug 12, 2007 6:50 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|