Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Gentoo Linux Help > Cant find /proc/config.gz

Forgot Password?
 Gentoo Linux Help   For help and discussion related to Gentoo Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 07-16-2006   #1 (permalink)
Just Joined!
 
Join Date: Aug 2004
Posts: 12
Cant find /proc/config.gz

Hi after deciding to do the gentoo install the hard way I have done all of the steps from the handbook using a knoppiz liceCD install. only problem is when i get to compiling the kernel and i have to issue the following command:

zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6

it wont find the file proc/config.gz

i think i did the correct thing as a the handbook warned me earlier to use the following command

mount -o bind /proc /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev

instead of the usual in the normal handbook which is

# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev

my cd wasnt in at the time and i'm in chroot environment at the moment. i tried to mount the CD to find the file but i cant find it , there isnt even a proc folder

can any one help me?
Maverick82 is offline  


Old 07-16-2006   #2 (permalink)
Linux Guru
 
antidrugue's Avatar
 
Join Date: Oct 2005
Location: Montreal, Canada
Posts: 3,213
Quote:
Originally Posted by Maverick82
t wont find the file proc/config.gz
Did you enable access to the kernel config file through /proc/config.gz?
Quote:
Originally Posted by make menuconfig
General setup --->[*] Kernel .config support[*] Enable access to .config through /proc/config.gz
You can make sure that you did with this command :
Code:
cat /boot/config-$(uname -r) | grep -i ikconfig
which should display :
Quote:
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
__________________
"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

-Bruce Lee
antidrugue is offline  
Old 07-16-2006   #3 (permalink)
Just Joined!
 
Join Date: Aug 2004
Posts: 12
antidruge I type your command i got the following:

(chroot) Knoppix / # cat /boot/config-$(uname -r) | grep -i ikconfig
cat: /boot/config-2.6.17: No such file or directory
(chroot) Knoppix / #



so i am guessing it hasnt done what is needed. What do i need to do to enable it correctly?

ps i am using the genkernel way of compiling but i shall try to install it using the harder way and see if it works...
Maverick82 is offline  
Old 07-29-2009   #4 (permalink)
Just Joined!
 
Join Date: Feb 2008
Posts: 4
hi.
errr this is fairly late, i was browsing through the threads trying to find an answer to my own question but anyways, you mounted it wrong

mount -t proc none /mnt/gentoo/proc
WorldWideOliver is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 12:24 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2