Home > genkernel error > genkernel error kernel source directory /usr/src/linux was not found

Genkernel Error Kernel Source Directory /usr/src/linux Was Not Found

Today's Posts Advanced Search Find the answer to your Linux question: Entire Site Articles Downloads Forums Linux Hosting Forum GNU Linux Zone Newbie Problem with genkernel all fail If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. ** If you are logged in, most ads will not be displayed. ** Linuxforums now supports the Tapatalk app for your mobile device. Results 1 to 7 of 7 Thread: Problem with genkernel all fail Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Enjoy an ad free experience by logging in. Not a member yet? Register. 05-04-2004 #1 irishmage View Profile View Forum Posts Private Message View Articles Just Joined! Join Date May 2004 Location Pennsylvania (USA) Posts 12 Problem with genkernel all fail Thank to the forums I was able to get past my emerge genkernel-sources problem i was able to edit my make.conf and have it do the genkernel- sources. from there I was able to emerge genkernel. now this is where the new twist comes up. I go to "genkernel all" as the handbook says and get the following error: grep /usr/src/linux/Makefile: no such file or directory grep /usr/src/linux/Makefile: no such file or directory grep /usr/src/linux/Makefile: no such file or directory grep /usr/src/linux/Makefile: no such file or directory * Compiling Linux Kernel .. for x86 *ERROR:Error: No Kernel Config Specified, or file not found! *--Grepping Log..-- *Gentoo Linux Genkernel: Version 3.0.2a *ERROR:Error: No Kernel Config Specified, or file not found! *--END LOG-- Any ideas as to how I screwed up this time?? Reply With Quote 05-04-2004 #2 variant View Profile View Forum Posts Private Message View Articles Linux Engineer Join Date Jul 2003 Location Stockholm, Sweden Posts 1,296 From the sounds of things you didnt actualy emerge the kernel source. Code: emerge -av sys-kernel/gentoo-sources Do this and it will install the kernel source in your /usr/src/linux/ directory Code: cd /usr/src/linux Code: genkernel all I recommend that you dont use the genkernel utility.. it is far better to configure your kernel manualy. It is not hard - all you need is to know what hardware your system has.. like: motherboard chipset, s

Page Discussion Tools What links here Related changes Special pages Printable version Permanent link Page information Page values Account Log in Funtoo Linux Kernels This page contains changes which are not marked for translation. To help us translate this documentation, Create a Funtoo account, log in to the wiki. Then go to Actions -> Translate in the menu, or click the "Translate this page" link, above. You will be able to select small parts of the install docs and translate these parts to your native language. This Section will give you an overview of kernels used in funtoo. Some points of interest: Most http://www.linuxforums.org/forum/newbie/8531-problem-genkernel-all-fail.html Funtoo Linux kernels support the handy binary USE flag, described below. Funtoo Linux offers quality kernels from other Linux Distributions, like debian-sources. A detailed Kernel Features and Stability table can be found below. Advanced users may want to take a look at Additional Kernel Resources. There is a quick'n dirty howto to compile your own kernel with initramfs the funtoo way. Overview of Kernels Package:Vanilla Sources, Package:Vanilla Sources/pt-br http://www.funtoo.org/Funtoo_Linux_Kernels This will install the "vanilla" (unmodified) Linux kernel sources. Current recommended version is 3.x. Funtoo Linux fully supports Linux 3.x. The advantages of this kernel include recent improvements to Linux Containers, a very modern networking stack with lots of bug fixes, and high reliability for desktops and servers. The downside is that this kernel must be manually configured by the user and does not have built-in genkernel support via the binary USE flag at this time. sys-kernel/gentoo-sources (package not on wiki - please add) This kernel tree is based on stable kernels from kernel.org with genpatches applied genpatches. Gentoo patchset aims to support the entire range of Gentoo-supported architectures. List of available genpatched kernels: genpatches-kernels sys-kernel/openvz-rhel6-stable (package not on wiki - please add) This is a RHEL6-based kernel with OpenVZ support. This kernel is now the preferred kernel for production OpenVZ deployments. It requires gcc-4.4.5 to build, which it will use automatically without the user needing to use gcc-config. We use this version of gcc since this is the version of gcc used by Red Hat to build this kernel. Package:Debian-sources, Package:Debian-sources/pt-br This is the Debian kernel. These ebuilds now support the binary USE flag. Daniel has added a special config-extract command which can

catalyst -f spec_file -a The error dissapeared. Thank you. But https://www.mail-archive.com/gentoo-catalyst@lists.gentoo.org/msg02032.html genkernel continues to complain about: Genkernel version 3.4.45.1 found ... https://wiki.sabayon.org/?title=HOWTO:_Upgrade_kernel_using_genkernel continuing emerge --quiet --update --newuse rt-sources * Gentoo Linux Genkernel; Version 3.4.45.1 * Running with options: --callback=emerge -qN -kb x11-drivers/xf86-input-evdev x11-drivers/xf86-input-synaptics x11-drivers/xf86-video-ati app-emulation/qemu --cachedir=/tmp/kerncache/gentoo-genkernel_cache-2013.12 --no-mountboot --kerneldir=/usr/src/linux --modulespackage=/tmp/kerncache/gentoo-modules-2013.12.tar.bz2 --minkernpackage=/tmp/kerncache/gentoo-kernel-initrd-2013.12.tar.bz2 all --kerncache=/tmp/kerncache/gentoo-kerncache-2013.12.tar.bz2 * Using genkernel.conf from /etc/genkernel.conf * Sourcing arch-specific genkernel error config.sh from /usr/share/genkernel/arch/x86_64/config.sh .. * Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load .. * ERROR: kernel source directory "/usr/src/linux" was not found! Now, does genkernel mean absolute /usr/src/linux ? If not, then what option to set for it to know where the sources are to be found? The template spec genkernel error kernel file does mention: # This option sets genkernel parameters on a per-kernel basis and applies only # to this kernel label. This can be used for building options into only a # single kernel, where compatibility may be an issue. Since we do not use this # on the official release media, it is left blank, but it follows the same # syntax as stage4/gk_mainargs. # example: # boot/kernel/gentoo/gk_kernargs: Should it be set at: boot/kernel/gentoo/gk_kernargs: --kerneldir=/var/tmp/catalyst/tmp/portage/portage/sys-kernel/rt-sources But it seems to me that catalyst won't see it because it is an absolute path. Thank you for any hints Previous message View by thread View by date Next message [gentoo-catalyst] kernel sources not fo... lin pro Re: [gentoo-catalyst] kernel sourc... Jorge Manuel B. S. Vicetto Re: [gentoo-catalyst] kernel s... Rick "Zero_Chaos" Farina Re: [gentoo-catalyst] kernel s... lin pro Re: [gentoo-catalyst] kern... W. Trevor King Re

performing any of the commands listed below, read through the entire article and WARNING No. 1 at the end, as it may alter what commands you use. Open a Konsole/Terminal window and use the su command to log in as the root user. A fresh installation of Sabayon won't have the required "git" command so install that: # equo install git If you have a separate boot partition, make sure it is mounted onto /boot before proceeding. For example, if the boot partition is /dev/sda3 then: # mount /dev/sda3 /boot Update portage and genkernel first, then install the newest kernel source code: # emerge --sync && layman -S # emerge genkernel # USE="sources_standalone" emerge sabayon-sources Note 1: There's no need to merge genkernel if the latest version is already installed. # eselect kernel list Note which kernel in the list you want to install. It has a number like this next to it: [x]. More than likely x = 2 [2]. Now use this number in the following command, in order to set the symlink to the new version of the kernel: # eselect kernel set x # zcat /proc/config.gz > /usr/src/config Note 2: If you are just making some changes to the same version of kernel and rebuilding it then using the zcat command is probably appropriate. However if you are upgrading or downgrading to a different version of kernel then the zcat command is probably not appropriate. See WARNING No. 1 at the end of this article for what to do in the latter case. Do the following if you manually edited your partitions: # genkernel --kernel-config=/usr/src/config --menuconfig --splash=sabayon --disklabel --luks all Do the following if you used anaconda's automatic diskdruid or created a lvm: # genkernel --kernel-config=/usr/src/config --menuconfig --splash=sabayon --disklabel --lvm --luks all Note 3: If you get an error about an expected integer expression on line 96 of gen_funcs.sh, you will most likely need to update your config f

 

Related content

genkernel error failed to compile the modules target

Genkernel Error Failed To Compile The Modules Target p Sep AM relatedl Post of views Permalink Genkernel doesn't work when module loadable support is disabled Dear all I'm trying to generate a kernel without module So I've disabled Enable loadable module support option with genkernel Genkernel compiles well the bzimage but fails after with the message ERROR Failed to compile the modules target look hereunder log Do you know how can I generate my kernel w o module support using Genkernel -- Xavier MOGHRABI - Consortium ObjectWeb Jabber at - Phone Compiling -gentoo-r bzImage Compiling -gentoo-r modules ERROR Failed to

genkernel error compression

Genkernel Error Compression p unanswered posts View posts from last hours relatedl Gentoo Forums Forum Index Installing Gentoo View previous topic View next topic Author Message pzin bJoined Mar Posts Location Denver Posted Sun Oct am Post subject genkernel ERROR None of the initramfs compression methods Doing install in vmware VM from the install-x -minimal- iso All goes well until compiling kernel with genkernel The error is ERROR None of the initramfs compression methods we tried are supported by your kernel config file usr share genkernel arch x kernel-config strange The complete command and output is livecd genkernel --install initramfs

genkernel error failed to compile the modules_install target

Genkernel Error Failed To Compile The Modules install Target p Remember Me Password New Orleans Saints News Register Arcade relatedl BlogsVIP Access FAQ Community Calendar Sidebar On Community Links Social Groups Go to Page Thread Tools Display Modes - - PM Buickman Subscribing Member Join Date Sep Location Chester Gap Va Age Posts Thread Starter Gentoo kernel problem Back at it with Gentoo Trying to build a kernel using genkernel and getting this error Quote Running with options --menuconfig all Linux Kernel -gentoo-r for x kernel Running mrproper config Using config from usr share genkernel x kernel-config- Previous config backed

genkernel error

Genkernel Error p Post of views Permalink Problems running genkernel all Hello I am going through the procedure of installin Gentoo Linux relatedl on my hppa box which is a B Visualize workstation I have gone through the instructions in order and am now trying to run genkernel all since I haven't got enough experience to decide about the options in manual kernel configuration Anyway when I issue the command genkernel all I get an error message complaining about that a config file is either not specified or not found It is obvious that I am supposed to supply a

genkernel error compression xz failed

Genkernel Error Compression Xz Failed p mount -t proc proc mnt gentoo proc mount --rbind dev mnt gentoo dev mount --rbind sys mnt gentoo sys cp -L etc resolv conf relatedl mnt gentoo etc chroot mnt gentoo bin bash source etc profile emerge gentoo-sources cd usr src linux make menuconfig make -j cp arch x boot bzImage boot kernel- uname -r make modules install emerge genkernel genkernel --install --no-ramdisk-modules initramfs It will createinitramfs-genkernel-x - -gentoo in boot cat etc fstab dev sda ext noatime change root password emerge grub livecd grub -install dev sda Installation finished No error reported livecd

genkernel error 2

Genkernel Error p Post of views Permalink Problems running genkernel all Hello I am going through the relatedl procedure of installin Gentoo Linux on my hppa box which is a B Visualize workstation I have gone through the instructions in order and am now trying to run genkernel all since I haven't got enough experience to decide about the options in manual kernel configuration Anyway when I issue the command genkernel all I get an error message complaining about that a config file is either not specified or not found It is obvious that I am supposed to supply a