Find the answer to your Linux question:
Results 1 to 4 of 4
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    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?

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    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 :
    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

  3. #3
    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...

  4. #4
    Just Joined!
    Join Date
    Feb 2008
    Posts
    5
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •