Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub troubles
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
kikinovak
Guest





PostPosted: Tue Aug 20, 2002 9:21 pm    Post subject: grub troubles Reply with quote

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
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Aug 20, 2002 9:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Aug 20, 2002 9:38 pm    Post subject: Reply with quote

See this thread on using the Install CD for recovery.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
kikinovak
Guest





PostPosted: Tue Aug 20, 2002 9:47 pm    Post subject: Reply with quote

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





PostPosted: Tue Aug 20, 2002 9:48 pm    Post subject: Reply with quote

PS: does my menu.lst seem OK?

Niki
Back to top
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Aug 20, 2002 9:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
kikinovak
Guest





PostPosted: Tue Aug 20, 2002 10:06 pm    Post subject: Reply with quote

Bingo! Tilt! I remember now I forgot moving the kernel in the right location after compiling it. Zazzzzzzit!

Thanks,

Niki
Back to top
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