Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I was previously using linux-2.6.9. Downloaded the source to linux-2.6.10, compiled, did a make, make modules_install and make install and got a new bzImage. How do I reboot using the new kernel image? I tried to change it in /etc/lilo.conf.anaconda, but looks like the kernel version is not picked up from there. Moreover, I dont have /sbin/lilo. How do I go about rebooting using the new kernel.
You need to move the newly compiled kernel image into your /boot directory. Then you can boot to the new kernel. You didn't give much information about your system, so if your distro also uses initrd, you will need to get the new initrd and move it in as well.
Your lilo stuff is probably located in the /boot directory, not the /usr/bin or /sbin directories.
If your having problems with lilo, I would suggest moving to grub as it is very easy to use. But if your distro came with lilo, changing may be very involved.
the following files are already in the /boot directory
config-2.6.9-1.667 initrd-2.6.9-1.667.img System.map-2.6.10 vmlinuz-2.6.10
config-2.6.9-1.667smp initrd-2.6.9-1.667smp.img System.map-2.6.9-1.667 vmlinuz-2.6.9-1.667
grub lost+found System.map-2.6.9-1.667smp vmlinuz-2.6.9-1.667smp
If you're using Fedora you shouldn't have to do anything but tell yum to install the new kernel
yum install kernel
It should take care of all of this for you.
Once you move the bzImage (with a new name so you don't overwrite the previous bzImage) into /boot, you need to run mkinitrd to make the new initrd. After that, do as pixellany said, make a new line in /boot/grub/menu.lst that points to the new image and initrd.