Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Booting Gentoo, WinXP, and Win98
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
manny15
Guru
Guru


Joined: 01 Dec 2002
Posts: 473
Location: USA

PostPosted: Tue Mar 11, 2003 7:11 pm    Post subject: Booting Gentoo, WinXP, and Win98 Reply with quote

I just installed a hard drive containing gentoo and win98 into a new Dell with winXP. The OSes seem to work just fine, but I' having trouble booting them. The hard drive I installed is set as primary on the second IDE port along with the DVD as a slave (cable length restrictions didn't allow me to put both hds on the same ide port.) I installed grub on the mbr of the disk with WinXP and gentoo works, but Win* won't boot. When I try to boot win98 i get a grub prompt, WinXP gets confused and brings up some Dell hardware detection program that won't let WinXP boot. So, I booted with a Win98 boot disk and did fdisk /mbr to restore the mbr. This get's me into WinXP, but I get no grub. Right now I'm booting gentoo with a floppy. Here's my grub menu.lst file.
Code:

default 0
timeout 10
splashimage=(hd1,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux
root (hd1,0)
kernel /boot/bzImage root=/dev/hdc6

title=Windows XP
root (hd0,0)
chainloader +1

title=Windows 98
root (hd1,1)
chainloader +1


I installed grub using...
Code:

root (hd1,0)
setup (hd0)

This should install it on the WinXP drive in the mbr. The only solution I can think of is booting off the floppy (yuck!), or using parted or something to resize the the WinXP partition and coping my old hd into the new one (if I really must). Anyone know of a better solution?
Note: My Gentoo hd also has grub in the mbr
Back to top
View user's profile Send private message
dirtboy
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 263
Location: Pascagoula, MS

PostPosted: Tue Mar 11, 2003 8:57 pm    Post subject: Reply with quote

The first partition on your first harddrive (hd0,0) is probably a prorprietary Dell setup partition. Try changing the root (hd0,0) to root (hd0,1) .
Back to top
View user's profile Send private message
Cloim
Tux's lil' helper
Tux's lil' helper


Joined: 02 Aug 2002
Posts: 99

PostPosted: Wed Mar 12, 2003 1:13 am    Post subject: Reply with quote

You might also need to use "rootnoverify" instead of "root".
Back to top
View user's profile Send private message
manny15
Guru
Guru


Joined: 01 Dec 2002
Posts: 473
Location: USA

PostPosted: Thu Mar 13, 2003 1:23 am    Post subject: Reply with quote

Great! that did the trick. :) I haven't tried rootverify since root works just fine. for now at least. haha.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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