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 am a new user to Red Hat Linux Enterprise Edition 4.1
I am trying to install a new kernel 22.214.171.124 on my Linux.
I have compiled the kernel and copied bzImage to /boot partition.
Also I have modified the grub.conf file
it is listed as
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/sda6
# initrd /initrd-version.img
title Red Hat Enterprise Linux 126.96.36.199
kernel /vmlinuz-188.8.131.52.img ro root=LABEL=/ rhgb quiet
title Red Hat Enterprise Linux AS (2.6.9-5.ELsmp)
kernel /vmlinuz-2.6.9-5.ELsmp ro root=LABEL=/ rhgb quiet
title Red Hat Enterprise Linux AS-up (2.6.9-5.EL)
kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/ rhgb quiet
title windows xp
this is listing of /dev/sda
[root@localhost grub]# fdisk /dev/sda
Command (m for help): p
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ c W95 FAT32 (LBA)
/dev/sda2 2551 5100 20482875 c W95 FAT32 (LBA)
/dev/sda3 5101 5138 305235 83 Linux
/dev/sda4 5139 9729 36877207+ 5 Extended
/dev/sda5 5139 7688 20482843+ 83 Linux
/dev/sda6 7689 8963 10241406 83 Linux
/dev/sda7 8964 9090 1020096 82 Linux swap
/dev/sda8 9091 9729 5132736 83 Linux
I am unable to understand the problem.
Could anybody please help???
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Two things, first with Red Hat the installation of a new compiled kernel is handeled by using 'make install' instead of copying/renaming and editing the grub.conf file by hand. The process I build with after extacting the compressed file (see the RHEL3 Red Hat Enterprise Linux System Administration Guide for the details);
(apply any wanted/needed patches first)
cp /boot/config-<version_number> .config
make xconfig ;to do any needed tweaking and checking
make ;this differs from the manual something to get used to
Second (the one your most interested in) it seems that either your missing one of the tools to compile kernels (parition labels) in Red Hat Linux or you forgot something with your kernel configuration. The workaround is to edit the /boot/grub/grub.conf file for the new kernel. Change the root=LABEL=/ in the kernel line to reflect the actual drive/partition for the root partition.
Thanks for posting the entire grub.conf file, which provided the information to make the change in the kernel line example above (from the top comments section); # kernel /vmlinuz-version ro root=/dev/sda6