Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-15-2003, 09:23 AM   #1
LQ Guru
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
kernel compilation/installation

i must be doing something wrong:

1. download kernel (right now it's the 2.4.21)
2. put it in /usr/src
3. tar xvfz linux-2.4.21.tar.gz
4. cd linux-2.4.21
5. make xconfig (do the config stuff)
6. make dep
7. make bzImage
8. copy bzImage from arch/i386/boot to /boot
9. change /boot/bzImage to /boot/vmlinux-2.4.21
9. change grub.conf

added this to grub:
title Red Hat Linux(2.4.21)
	kernel /vmlinux-2.4.21 ro root=/dev/hdb3 hdc=ide-scsi
question, the rest of my entries look like this:
title Red Hat Linux (2.4.18-3)
root (hd1,0)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hdb3 hdc=ide-scsi
initrd /initrd-2.4.18-3.img <<< see question number 2 below

1. did i miss a step? do i have to mess with

2. what is the initrd all about. i dont get that when i compile.

everytime i compile a new kernel and try it out, something doesnt work.
i havent tried out the 2.4.21 yet, but im about to reboot.....(maybe i should have waited to post to see if something goes wrong).

i'll be back in a few minutes and if all acutally goes well (this is the 4th or 5th kernel i have compiled myself and none have worked 100%) then i'll modify this thread. In the mean time, if you see something wrong, please let me know.

Old 06-15-2003, 09:28 AM   #2
LQ Guru
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Original Poster
Rep: Reputation: 47
omg it worked, im stunned. the one time i post in anticipation of some error....everything (i think) works. network card works, iptables works, nothing
failed during the boot amazed....i knew i could do it.

still wondering about that initrd line in grub.conf for my other kernels

though.[robert@decatur robert]$ uname -srm
Linux 2.4.21 i686


Last edited by Robert0380; 06-15-2003 at 09:30 AM.


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
kernel compilation : to remove a kernel which files should be deleted b0nd Linux - Newbie 2 08-17-2005 12:35 PM
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 11:53 PM
does kernel-source installs with the compilation cum installtion of a new kernel? luqman Linux - General 18 03-04-2005 08:33 AM
Kernel Compilation and Installation help for 2.6.8 kallan Linux - Newbie 6 08-25-2004 02:26 PM
Kernel compilation & installation phyrenees Linux - General 3 05-18-2002 03:46 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:46 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration