Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 41538

Summary: During the Gentoo installation, I'm forced to compile a kernel.
Product: Gentoo Linux Reporter: Adam Fabian <awfabian>
Component: [OLD] Core systemAssignee: x86-kernel (DEPRECATED) <x86-kernel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: releng, vericgar
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Adam Fabian 2004-02-13 23:13:47 UTC
I don't see any way to install Gentoo without compiling a kernel.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




It seems silly to have to compile a kernel almost like the one on the LiveCD. 
Altogether, I would like a precompiled kernel available to get the system up and
running so that I can compile a kernel/change kernels later.  It seems like
anyone in a relatively normal situation shouldn't be forced to compile a kernel.

I'm a big fan of binary packages in general.  I know Gentoo is working on it. ;)
Comment 1 Brad Laue (RETIRED) gentoo-dev 2004-02-13 23:44:54 UTC
The whole point of the thing is to build a system from source, if I'm not mistaken. The 'genkernel' utility is available to make the configuration of a kernel much more convenient..
Comment 2 SpanKY gentoo-dev 2004-02-14 00:02:58 UTC
if you like the livecd kernel so much then copy it off the cd
Comment 3 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2004-02-14 19:21:34 UTC
I like SpanKY's idea... maybe detailed instructions on copying the kernel from the CD would be appropriate to add the the Kernel section of the manual? Another idea would be to modify genkernel to copy the kernel off the CD and repackage (if necessary) the initrd?
Comment 4 Brad House 2004-02-14 19:59:35 UTC
to use the kernel off the livecd, you MUST be using the 2004.0 
beta/rc livecds, previous release WILL NOT work.  Then from _outside_
the chroot, but with the root and boot mounted, you'd need to do this  :

cp /mnt/cdrom/isolinux/${KN} /mnt/cdrom/isolinux/${KN}.igz /mnt/gentoo/boot
mkdir -p /mnt/gentoo/lib/modules
cp -Rp /lib/modules/`uname -r` /mnt/gentoo/lib/modules

${KN} is the kernel name, usually something like 'gentoo' or 'smp'
Then you need to edit your boot loader config as in the gentoo handbook.
Now at this point, this may or may not work depending on your IDE/SCSI
controller and the config that was used.  You may need to add 'doscsi'
to your kernel line in your bootloader if you use sata or SCSI drives
to boot.  You also need to make sure you've got 'hotplug' emerged, and 
you  rc-update add hotplug default  in the chroot.

In the future, we'll have a minihotplug in the initrd so you don't have
to pass a 'doscsi' or likewise.  We'll also have binary kernel packages
that you can just 'emerge', and we'll definately include the package
of the kernel used on the livecd.

Comment 5 Tim Yamin (RETIRED) gentoo-dev 2004-03-08 10:05:16 UTC
Brad: Now that 2004.0's out; I assume we can add this to the documentation provided that it supports this?
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2004-03-10 09:50:09 UTC

*** This bug has been marked as a duplicate of 13685 ***