Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
I am trying to compile a new kernel, but somehow the HOWTO document doesn't show how to install kernel by using GRUB, only LILO.
the web site is http://www.tldp.org/HOWTO/Kernel-HOWTO-5.html.
Anyway, I wonder if anybody has any idea where I can find some solutions about that.
Thank you

once you have recompiled the kernel store it in the /boot dir
edit /boot/grub/grub.conf
i would suggest adding a new entry until your shure the kernel bootstitle new kernel
root (hd0,0)
kernel /boot/new/kernel/name ro root=/dev/hd?
initrd use the same as the original entry in grub.conf.reboot and on the grub screen choose the new kernel if you compiled correctly it will work fine.
-mukie-

Hi, Mukei
Thanks for your reply!
I have two different initrd, so which one I should use.initrd /initrd-2.4.18-5.img (after updated) other one is
initrd /initrd-2.4.18-3.img (original one)the new kernel I just compilie is 2.5.9, so should I do something like this:
initrd /initrd-2.5.9.img ?Thank you

i would suggest you look at the original entry in grub.conf and use that one. reboot and see if your kernel works. if so then try using the newer init and see if it works if so stick with the new one. if the new kernel wont boot or has problems then try using the new init aswell the new kernel may be dependent on the new init. when i recompiled the kernel for ntfs support i never had the option to make a new init and i did not need one becouse the new kernel worked fine
-mukie-

I want to put a question in here. Its a newbie question hope you don't mind. I once tried to compile a kernel, reading the material from tldp.org. But when I compiled it just keep on asking questions the way I want to build it. Suppose if I want to build it only for say ntfs support, do I have to go through all the questions or can I just turn the ntfs support on.

The 2.5.* kernel series is unstable. They are the development kernels, you know that, right? The latest stable kernel is 2.4.18.
casanova9, where you run "make config", run "make xconfig" or "make menuconfig" instead. It's much easier.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |