Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 10-26-2007, 05:05 AM   #1
LQ Newbie
Registered: Aug 2007
Posts: 7

Rep: Reputation: 0
Problem with kernel creation

I am stuck with one problem after having installed a new Linux kernel .
I am able to reach the point where i enter the username and password . After which i dont see the desktop icons and stuff like that . I have given the step[ by step procedure i followed to create the new kernel.

I copied the tarball to /usr/src. Then i use these commands in the same order. I run the commands as a root user.

# make menuconfig
# make dep
# make clean
# make bzImage
# cp/usr/src/linux/ /boot/vmlinuz-2.4.35
# make modules
# make modules_install
Now i configure grub by adding the following lines
title Red Hat Linux(2.4.35)
kernel /boot/vmlinuz-2.4.35 ro root=/dev/hda2
Here i come to the end of the procedure.
I have not touched upon mkinitrd. Is it necessary??? Then how should i do it?

This was what was already in the grub.conf

default = 0
timeout = 10
splash image = (hd0,0) /grub/splashxpm.gz
title FedoraCore(2.4.22-1.2115.nptl)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ rhgb

now my partition details are like this(what - where - filesystem)

/boot /dev/hda1 ext2
root /dev/hda2 ext2
swap /dev/hdc1 swap

So what should i do next??
Old 10-26-2007, 05:38 AM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Try using the last step when build the kernel: make install

FYI: cp/usr/src/linux/ /boot/vmlinuz-2.4.35 is not needed or editing the grub.conf file are needed when using this command.

One should do the following in order to build a kernel for the Red Hat family;

make mrproper
make oldconfig
make menuconfig
make modules_install
make install

The make oldconfig command basically presets the kernel configuration for the system being used.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
package creation problem mobilemonkey Linux - Newbie 5 07-22-2007 01:13 PM
pthread creation problem oulevon Programming 2 04-24-2006 04:59 AM
creation of new file in kernel space vishalbutte Programming 3 03-14-2006 02:32 AM
package creation problem Rognon Slackware 8 03-28-2005 04:56 PM
problem in user creation skvasistha Linux - Software 2 11-27-2004 05:50 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration