Find the answer to your Linux question:
Results 1 to 9 of 9
ERROR: Error: No kernel .config speicified, or file not found, is the error i get every time i, #genkernel --udev all. I havent had any errors up to this point. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    5

    gentoo 2005.0 install problem


    ERROR: Error: No kernel .config speicified, or file not found, is the error i get every time i, #genkernel --udev all. I havent had any errors up to this point. whats the deal?

  2. #2
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    Did you do "emerge gentoo-sources"?
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  3. #3
    Just Joined!
    Join Date
    May 2005
    Posts
    5
    sure did, and it has finished w/o error, and my next step after that was,
    # ls -l /usr/src/linux

    result:
    lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux -> linux-2.6.11-gentoo-r3

    after that i did this,
    # rm /usr/src/linux
    # cd /usr/src
    # ln -s linux-2.6.11-gentoo-r3 linux

  4. #4
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    It looks like you missed 2 steps.
    Code listing 16
    emerge genkernel
    right below that there is a long line of code zcat something or other.

    I am looking at the 2005.0 handbook for the x86 installation.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  5. #5
    Just Joined!
    Join Date
    May 2005
    Posts
    5
    Here is exactly what I've typed in from emerge gentoo-sources thru genkernel --udev all:

    # emerge gentoo-sources
    # ls -l /usr/src/linux

    # rm /usr/src/linux
    # cd /usr/src
    # ln -s linux-2.6.11-gentoo-r3 linux

    # emerge genkernel
    # zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6
    # genkernel --udev all

    After this is where the error appears.
    I'm following the steps in the 2005.0 gentoo install handbook

  6. #6
    Just Joined!
    Join Date
    May 2005
    Posts
    5
    Right after I type in, # genkernel --udev all. I get this,

    grep: /usr/src/linux/Makefile: No such file or directory (4 times)

  7. #7
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    They have some extra directions if you are not using ext2 0r 3 for /boot.
    What are you using for /boot?
    Or don't you have a /boot?

    I didn't use a separate /boot and I had to use "genkernel --menuconfig all"
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  8. #8
    Just Joined!
    Join Date
    May 2005
    Posts
    5
    my /boot is ext2. my partition scheme,

    /dev/hda1 ext2 /boot
    /dev/hda2 swap
    /dev/hda3 ext3 /mnt/gentoo


    This is what I did:

    # mount /dev/hda3 /mnt/gentoo
    # mkdir /mnt/gentoo/boot
    # mount /dev/hda1 /mnt/gentoo/boot

    Did I do that right?

  9. #9
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    Yeah, it seems like you did it correctly, but it also seems like no makefile is found. What is the result of:
    Code:
    ls -al /usr/src/linux/Makefile
    If that don't exist you are missing a cruisial part of the files needed to setup & compile the kernel... As you might know, the "Makefile" contains directions of how to compile the kernel, commands which gets executed when the compiling starts.

Posting Permissions

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