Computing.Net > Forums > Linux > GRUB information (install new kernel)

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

GRUB information (install new kernel)

Reply to Message Icon

Name: KB
Date: July 7, 2002 at 17:48:26 Pacific
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: mike
Date: July 7, 2002 at 17:59:25 Pacific
Reply:

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 boots

title 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-


0

Response Number 2
Name: KB
Date: July 7, 2002 at 18:20:30 Pacific
Reply:

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


0

Response Number 3
Name: mukie
Date: July 7, 2002 at 20:01:19 Pacific
Reply:

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-


0

Response Number 4
Name: casanovaa9
Date: July 7, 2002 at 23:32:05 Pacific
Reply:

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.


0

Response Number 5
Name: Tom
Date: July 7, 2002 at 23:45:57 Pacific
Reply:

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.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: GRUB information (install new kernel)

***Installing New Kernel*** www.computing.net/answers/linux/installing-new-kernel/2903.html

How do I install a new Kernel? www.computing.net/answers/linux/how-do-i-install-a-new-kernel/24286.html

New Kernel Won't Boot www.computing.net/answers/linux/new-kernel-wont-boot/10984.html