| Summary: | During the Gentoo installation, I'm forced to compile a kernel. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Adam Fabian <awfabian> |
| Component: | [OLD] Core system | Assignee: | 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
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.. if you like the livecd kernel so much then copy it off the cd 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? 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.
Brad: Now that 2004.0's out; I assume we can add this to the documentation provided that it supports this? |