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

Notices


Reply
  Search this Thread
Old 06-15-2003, 08:23 AM   #1
Robert0380
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:
Code:
title Red Hat Linux(2.4.21)
	root(hd1,0)
	kernel /vmlinux-2.4.21 ro root=/dev/hdb3 hdc=ide-scsi
question, the rest of my entries look like this:
[code]
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
[code]

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

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.

thanks.
 
Old 06-15-2003, 08:28 AM   #2
Robert0380
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 process....im 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
~~~~

YEA BABY!!!

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


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:39 PM.

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
Open Source Consulting | Domain Registration