Results 1 to 10 of 10
Hi !
what is there to do to install a new kernel after unpacking the sources and making menuconfig?
is there an easier way on gentoo-linux?
(perhaps with "emerge" or ...
- 02-07-2004 #1
Installing kernel
Hi !
what is there to do to install a new kernel after unpacking the sources and making menuconfig?
is there an easier way on gentoo-linux?
(perhaps with "emerge" or something)
thx in adavancemake install not love
Registered Linux user number 369245
- 02-07-2004 #2Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
There probably is an easier way that each distros can compile the kernel. I know Debian at least has one.
Well, after running make menuconfig, you probably want to run either 'make install' or 'make bzImage'. The prior should take care of moving the compressed kernel to the /boot, edit boot configuration files to add the new kernel and etc. The latter will not.
After you've done that, you want to compile and install modules. To do that, run 'make modules' and then 'make modules_install'.The best things in life are free.
- 02-07-2004 #3
After make menuconfig i always use
and copy the compressed kernel image to boot like soCode:make bzImage
And i normally call it bzImage-version where version is the kernels version. Then just edit you boot loader and reboot. Also keep your orignal kernel always then you know if something has gone wrong you have a stable kernel to boot with.Code:cp arch/i386/boot/bzImage /boot/bzImage
- 02-08-2004 #4
thanks guys for your posts
make install not love
Registered Linux user number 369245
- 02-08-2004 #5Linux Engineer
- Join Date
- Sep 2003
- Location
- Knoxhell, TN
- Posts
- 1,078
gentoo has a utility called genkernel that will configure and compile a kernel for you.. if you run genkernel --config it will make menuconfig and then compile the kernel and modules. after it does that it makes an initrd for you, also. some people don't like genkernel, but i've not had any problems with it (yet).
Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr
- 02-08-2004 #6
cool

how and where do i have to start genkernel?
in the kernel home-dir?
right??Code:cd /mnt/RAM/kernel-2.6.2 genkernel --config
make install not love
Registered Linux user number 369245
- 02-09-2004 #7Linux Engineer
- Join Date
- Sep 2003
- Location
- Knoxhell, TN
- Posts
- 1,078
you can run genkernel anywhere... you just have to run it with root privileges.. the only thing you have to be sure of is that the /usr/src/linux symlink points to the version of the kernel that you want to compile.
Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr
- 02-10-2004 #8
i found a good way to install a kernel under gentoo with genkernel.
you can run it from anywhere and with any kernel without making a symlink
genkernel configures the kernel with all drivers you need automatically, but if you what your own config just add --menuconfig before --installCode:genkernel --kerneldir=kerneldirectory --install --all
make install not love
Registered Linux user number 369245
- 03-23-2004 #9Just Joined!
- Join Date
- Mar 2004
- Posts
- 6
only make install worked
I used make bzImage then I copy it to /boot as vmlinuz-verion.img and change path in Grup, but it does not boot untill I use make install (I noticed that the path in Grup is the same)
Anybody know why it happend? [/i]
- 05-26-2004 #10Just Joined!
- Join Date
- May 2004
- Location
- Irapuato,Gto, Mexico
- Posts
- 7
Kernel Compile... D'huh
Hi there is a precompiled kernel in gentoo linux so i don't have to compile it (or create its image), honestly i tried it about 6 moth ago and I give up, But I want to go out this FC1 box


Reply With Quote
