LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-02-2006, 08:16 PM   #1
hedpe
Member
 
Registered: Jan 2005
Location: Boston, MA
Distribution: Debian
Posts: 380

Rep: Reputation: 30
need help installing an old kernel 2.4.20


Hey guys,

I am trying to install kernel 2.4.20 and I am running into several road blocks. Before anyone suggests upgraded to 2.4.32, i must run 2.4.20 because of a patch i need to install that was written for 2.4.20

The first problem I am running into is that the kernel will not compile with newer versions of GCC. I get errors trying to make it all over with proper linux symlink and a clean build.

So then someone suggested install an old version of GCC around 2.95, but now I get the problem of trying to ebuild an old GCC version from portage:
Code:
- sys-devel/gcc-2.95.3-r9 (masked by: profile, package.mask)
After looking up "masked by profile", from what I understand portage is trying to tell me it will break my system/environment.

So then someone else suggested a chroot environment to install GCC and build the kernel, however I've never done this before and don't know what proper tools to copy to the chroot environment and such...

basically all i know is something like:
Code:
mkdir /tmp/new_env
mkdir /tmp/new_env/proc
mkdir /tmp/new_env/dev
mount -t proc none /tmp/new_env/proc
mount -o bind /dev /tmp/new_env/dev
chroot /tmp/new_env /bin/bash
env-update
what am i missing?

Thanks!
George
 
  


Reply



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
Installing Kernel 2.6.8.1 - Kernel Panic error shaun85 Linux - Newbie 10 07-16-2007 04:20 PM
Ndiswrapper - Cant find kernel sources while installing (Kernel 2.6.11) krayhze Linux - Wireless Networking 6 05-23-2006 06:30 AM
Kernel panic problem with all of my kernels after installing new kernel nosebleed Linux - Software 2 04-14-2006 09:48 PM
Kernel panic after installing new kernel h8dk97 Linux - Software 0 10-25-2004 08:45 PM
Kernel panic when installing a new Kernel NeeD_ResT Debian 2 10-16-2004 08:10 PM

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

All times are GMT -5. The time now is 10:19 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
Open Source Consulting | Domain Registration