Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ignores grub.conf
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
stevep
n00b
n00b


Joined: 12 May 2005
Posts: 4

PostPosted: Thu May 12, 2005 12:32 pm    Post subject: Ignores grub.conf Reply with quote

Hi

Have a problem with grub.conf being ignored. Have compiled and installed a new kernel and it happily installs, have followed all standard grub install procedures but it seems to completely ignore my new grub.conf.
I even changed the title to see if it was picking up the edited file and it seems it is not.

Whatever I do it loads the r3 kernel?

stevep

Grub.conf

default 0
fallback 0
timeout 30

title=Gentoo Linux 2.6.11-r6
root (hd0,0)
kernel /vmlinux root=/dev/hda6

title=Gentoo Linux 2.6.11-r3
root (hd0,0)
kernel /kernel-2.6.11-gentoo-r3 root=/dev/hda6 video=vesafb:ywrap,mtrr,800x600-16@70 splash=verbose,th
eme:emergence
Back to top
View user's profile Send private message
aderby
n00b
n00b


Joined: 10 Sep 2002
Posts: 64
Location: UK

PostPosted: Thu May 12, 2005 12:47 pm    Post subject: /boot mounted? Reply with quote

Are you certain you mounted your /boot partition before editing grub.conf?
Back to top
View user's profile Send private message
stevep
n00b
n00b


Joined: 12 May 2005
Posts: 4

PostPosted: Thu May 12, 2005 12:52 pm    Post subject: SOLVED ( ISH ) Reply with quote

Hi

Yes all is mounted. I followed the instructions in the Gentoo Handbook and it seems it has created a /boot/boot/grub directory using the grub-install --root-directory=/boot /dev/hda command
Now have sort out why the kernel does not load!?

stevep
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu May 12, 2005 4:04 pm    Post subject: Reply with quote

Code:
kernel /kernel-2.6.11-gentoo-r3 root=/dev/hda6 video=vesafb:ywrap,mtrr,800x600-16@70 splash=verbose,th
eme:emergence
I hope this is actually a single line in grub.conf.

Code:
grub-install --root-directory=/boot /dev/hda
grub-install doesn't work to well in my experience. Try this instead:
# grub
> root (hd0,0)
> setup (hd0)
> quit

Once grub is installed however you don't need to install it again after installing a new kernel. Just update grub.conf. Grub reads its config file on every boot.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
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