View previous topic :: View next topic |
Author |
Message |
manny15 Guru
Joined: 01 Dec 2002 Posts: 473 Location: USA
|
Posted: Tue Mar 11, 2003 7:11 pm Post subject: Booting Gentoo, WinXP, and Win98 |
|
|
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 |
|
|
dirtboy Apprentice
Joined: 12 Dec 2002 Posts: 263 Location: Pascagoula, MS
|
Posted: Tue Mar 11, 2003 8:57 pm Post subject: |
|
|
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 |
|
|
Cloim Tux's lil' helper
Joined: 02 Aug 2002 Posts: 99
|
Posted: Wed Mar 12, 2003 1:13 am Post subject: |
|
|
You might also need to use "rootnoverify" instead of "root". |
|
Back to top |
|
|
manny15 Guru
Joined: 01 Dec 2002 Posts: 473 Location: USA
|
Posted: Thu Mar 13, 2003 1:23 am Post subject: |
|
|
Great! that did the trick. I haven't tried rootverify since root works just fine. for now at least. haha. |
|
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
|
|