LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-26-2007, 05:05 AM   #1
vrishankaryan
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/2.4.35.3/arch/i386/boot/bzImage /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)
root(hd0,0)
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)
root(hd0,0)
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
Lenard
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: 57
Try using the last step when build the kernel: make install

FYI: cp/usr/src/linux/2.4.35.3/arch/i386/boot/bzImage /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
make modules_install
make install

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


Reply


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


All times are GMT -5. The time now is 11:41 AM.

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