Re: Getting Grub to Recognize Kernel Update to 2.4.12
* eDoc (e.net@verizon.net) [011025 22:10]:
> > To boot the kernel from /dev/hda2 with ide bus speed set to 66MHz, enter
> on
> > the GRUB command line:
> > root (hd0,1)
>
> OK.
>
> > kernel /boot/vmlinuz root=/dev/hda2 idebus=66
>
> When I enter this I get an "Error 15: File not found"
>
> What is it that it cannot find and how do I go about repairing that, please?
>
> Thanks! Doc
Hiya Doc. DocWhat here. :-)
Is your /boot directory a different partition?
What is your disk layout. BTW: The update-grub and grub-install
stuff works great. If you need more help than below, email your
partitioning scheme.
Here is my steps for install (btw, who ever maintains the GRUB docs,
I think I might be willing to write a first draft install guide):
Partitions:
/dev/hda1 - /boot
/dev/hda2 - /root
* grub-install /dev/hda
It warns me it can't find /dev/hda, but it creates a
/boot/grub/devices.map.
Checking this, I see it's using the long devfsd path. So I change
(hd0) to read:
(hd0) /dev/hda
* grub-install /dev/hda
Runs okay...copies files over, etc.
* update-grub
It creates a blank version of the menu.lst file in /boot/grub
So I edit it changing the following:
#kopt=root=/dev/hda2 ro vga=ext
and I change:
#groot=(hd0,0)
* I re run update-grub
That's it!
To make sure dpkg -i kernel-image* correctly runs grub instead of
lilo I have the following in /etc/kernel-img.conf:
postrm_hook = /sbin/update-grub
postinst_hook = /sbin/update-grub
# These turn off the bootloader (lilo) prompts and the boot floppy
# prompts
do_bootloader = no
do_bootfloppy = no
Hope this helps!
--
Now is the time for all good men to come to.
-- Walt Kelly
The Doctor What: Kaboom! http://docwhat.gerf.org/
docwhat@gerf.org KF6VNC
Reply to: