Linux - Server This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
11-24-2010, 11:42 PM
|
#1
|
Member
Registered: Mar 2010
Posts: 101
Rep:
|
not able to compile kernel
Hi All,
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.
follow below url for compiling kernel:-
http://www.cyberciti.biz/tips/compil...kernel-26.html
plz help.
Thnx in Advance.
|
|
|
11-24-2010, 11:51 PM
|
#2
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
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.
|
|
|
11-25-2010, 03:32 AM
|
#3
|
Member
Registered: Mar 2010
Posts: 101
Original Poster
Rep:
|
thank you !!!!
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.
|
|
|
11-27-2010, 01:48 AM
|
#4
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
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?
|
|
|
11-28-2010, 11:13 PM
|
#5
|
Member
Registered: Mar 2010
Posts: 101
Original Poster
Rep:
|
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.
|
|
|
12-04-2010, 01:21 AM
|
#6
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
Quote:
Originally Posted by rajiv.patil82
i am not able to see my new kernle entry in grub.conf.
|
How are you booting it then?
|
|
|
All times are GMT -5. The time now is 01:41 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|