New kernel...now how do I get grub.conf to refer to it?
Ben Brown
xthor at xthorsworld.com
Sat May 1 06:49:00 UTC 2004
When I compile a new kernel, I usually just use grubby to modify
/etc/grub.conf -
KERNEL=2.4.26
grubby --add-kernel=/boot/bzImage-$KERNEL \
--initrd=/boot/initrd-$KERNEL.img --title="Linux $KERNEL" \
--copy-default --make-default
(I hope the lines don't get wrapped too bad, but I put \ in there just
to be clear that it's all supposed to be one line.)
HTH.
On Fri, 2004-04-30 at 10:30, Michael Mayhew wrote:
> Howdy,
>
> I just recompiled my kernel (2.4.22-2115.nptl) and have copied the new
> bzImage to the /boot directory. But I haven't the first notion of what to do
> with grub.conf. Do I make a new entry (or comment out the existing one? Do I
> use the same initrd image as with the last kernel, with this new one? Do I
> also use the same root argument value for the kernel command for my new
> kernel? I am used to LILO but have never used GRUB before. I have looked in
> the 'info grub' pages, and didn't see anything that could help me. Any help
> would be greatly appreciated. Thanks a lot.
>
> Michael
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar  get it now!
> http://toolbar.msn.com/go/onm00200415ave/direct/01/
--
--------
Ben Brown
xthor at xthorsworld.com
http://www.xthorsworld.com/
More information about the fedora-list
mailing list