Red HatThis forum is for the discussion of Red Hat Linux.
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've tried to install the latest kernel on my redhat box but i dont think it install correctly. 'Cause shouldn't the login screen (text mode) say kernel 2.6 NOT 2.4? And when i go into the directory where the kernel is located it shows the 2.4 kernel and the 2.6? Is this fine? This is what i did to install it...
Download kernel and bzimage.
Sent them to /usr/src/
cd into /usr/src/, and ran the command "tar -xzvf (the name of the package).tar.gz.
the "cd linux-2.6.0"
afterwards i ran "make bzImage"
and "make modules", "make modules_install"
an suggestions or answers would be great. thanx in advance!
You need to edit the bootloader .conf file, in redhat it is usually found in
Find out about how to edit the file by reading the man pages relvant to it and your bootloader.
Read the .conf file
There will be a line setting the default kernel, the one that loads when the countdown ends.
There will be a block of commands starting
image=<old kernel image>
label=<old kernel label>
initrd=<old kernel initial ramdisk>
<options - like hdc=ide-scsi>
in whatever syntax your bootloader recognises.
You'll need to create a duplicate of this for the new kernel, replacing the old kernel names with the new ones. You'll need a new initrd.img file (use mkinitrd - see man mkinitrd and mkinitrd --help) Remember the manual files and the help files are your best freinds. To read around a command try apropos <name>.
When you've got it right, you'll see the initial boot screen list both kernels with a countdown to select one. This way, if you stuff up you can always reboot into the old one wot you know works.
OK - to find out for yourself, there are docs with the kernel distribution tarball (the readme file should tell you about them), and there are man pages for your boot loader. (type "man <bootloader name>" and "man <bootloader-name>.conf" and "man mkinitrd")
Here's the gist:
Most OS's cannot boot from the default bootsector because it is too small - normally the boot is a two stage process, first a ramdisk is loaded (initrd-<version number>) which can then be used to install the OS from the kernel image.
(A ramdisk in an imitation disk drive which lives in Random Access Memory.)
From what you say, you did not do "mkinitrd"?
Also - post the content of your bootloader config file, it should be
i.e. if you use GRUB then it will be /etc/grub.conf
do gedit /etc/grub.conf and copy/paste the content to a reply screen here.
alternatively if you use lilo then it will be /etc/lilo.conf
and so on.