View previous topic :: View next topic |
Author |
Message |
stevep n00b
Joined: 12 May 2005 Posts: 4
|
Posted: Thu May 12, 2005 12:32 pm Post subject: Ignores grub.conf |
|
|
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 |
|
|
aderby n00b
Joined: 10 Sep 2002 Posts: 64 Location: UK
|
Posted: Thu May 12, 2005 12:47 pm Post subject: /boot mounted? |
|
|
Are you certain you mounted your /boot partition before editing grub.conf? |
|
Back to top |
|
|
stevep n00b
Joined: 12 May 2005 Posts: 4
|
Posted: Thu May 12, 2005 12:52 pm Post subject: SOLVED ( ISH ) |
|
|
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Thu May 12, 2005 4:04 pm Post subject: |
|
|
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 |
|
|
|