Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
tried to compile kernel in red hat 5.4 32 bit machine but while trying below command got an error.
first download kernel from kernel.org site
then extract to /usr/src
after /usr/src try to run below command,
#make menuconfig
make: *** No rule to make target `menuconfig'. Stop.
Are you in the same directory as the source? It's probably in /usr/src/linux-version, where version is the version number (e.g. 2.6.33.4). Really, you should not just blindly follow instructions, because they could be incorrect.
kernel compile succssfully able to see new kernel. but while booting,if boot from new kernel following error i have got error
REd hat version 5.1.19.6 starting
insmod: error inserting '/lib/dm-region-hash.ko -1 file exists
mount: count not find filessystem '/dev/root'
kernel panic - not sysncing: Attempted to kill init!
Last edited by rajiv.patil82; 11-25-2010 at 06:08 AM.
Not sure about this. Is the filesystem for your root partition built into the kernel, or are you using an initrd? In any case, can you also post the GRUB or LILO (or other bootloader) entry that you're using to boot with the new kernel. Presumably you can still boot the old kernel, right?
yes i still boot the old kernel. but not able to boot system with new kernle.
below is my grub.conf file
# 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,0)
# kernel /vmlinuz-version ro root=/dev/hdb10
# initrd /initrd-version.img
#boot=/dev/hdb
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-164.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-164.el5 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-164.el5.im
i am not able to see my new kernle entry in grub.conf.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.