View previous topic :: View next topic |
Author |
Message |
kikinovak Guest
|
Posted: Tue Aug 20, 2002 9:21 pm Post subject: grub troubles |
|
|
Hi,
I just made an install for a double boot Win XP / Gentoo Linux. On my other PC I made a Gentoo-only install by just following the (excellent) install instructions, and it went smoothly. But on this machine, I have a hard time configuring Grub.
My partitioning scheme:
/dev/hda1 -> NTFS for Windows XP (already installed)
/dev/hda2 -> boot partition (100MB, ext2)
/dev/hda3 -> swap (150 MB)
/dev/hda4 -> root partition (XFS, remaining 10 GB)
To install grub, i did the following:
# grub
# root (hd0,1)
# setup (hd0)
# quit
My /boot/grub/menu.lst looks like this:
default 0
timeout 30
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,1)
kernel /boot/bzImage root=/dev/hda4
title=Windows XP
root (hd0,0)
chainloader +1
The grub menu shows up OK, but I can only boot XP. When I try to boot Linux, I instantly get a File Not Found Error.
Any suggestions?
Thanks,
Niki |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Aug 20, 2002 9:35 pm Post subject: |
|
|
Did you mount /boot before copying the kernel over? You may need to boot from the Install CD to get in and take a look. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Aug 20, 2002 9:38 pm Post subject: |
|
|
See this thread on using the Install CD for recovery. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
kikinovak Guest
|
Posted: Tue Aug 20, 2002 9:47 pm Post subject: |
|
|
Thanks, but the question was about the grub commands. No need to recover with a rescue CD, because grub allows to configure boot parameters by hand anyway. It's these parameters, e. g. /etc/boot/menu.lst I'm looking for.
Niki |
|
Back to top |
|
|
kikinovak Guest
|
Posted: Tue Aug 20, 2002 9:48 pm Post subject: |
|
|
PS: does my menu.lst seem OK?
Niki |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Aug 20, 2002 9:53 pm Post subject: |
|
|
Everything looks OK. The reason I suggested the boot CD was so you could verify the kernel was in fact in the correct location. I was assuming you couldn't boot to Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
kikinovak Guest
|
Posted: Tue Aug 20, 2002 10:06 pm Post subject: |
|
|
Bingo! Tilt! I remember now I forgot moving the kernel in the right location after compiling it. Zazzzzzzit!
Thanks,
Niki |
|
Back to top |
|
|
|