Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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
    Montreal, Canada
    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 :
    cat /boot/config-$(uname -r) | grep -i ikconfig
    which should display :
    "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
    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. $spacer_open
  5. #4
    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