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

Bug 188089

Summary: Compiling and installing the kernel
Product: [OLD] Docs on www.gentoo.org Reporter: Mar Vaneke <marvaneke>
Component: Installation HandbookAssignee: Docs Team <docs-team>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7
Whiteboard:
Package list:
Runtime testing required: ---

Description Mar Vaneke 2007-08-08 11:47:26 UTC
With the lines:
   make && make modules_install
   cp arch/i386/boot/bzImage /boot/kernel-2.6.19-gentoo-r5
it compile the kernel and copy it to the directory /boot.  It works, but when the novice will regenerate a new kernel after the installation, he often forget to cp the new kernel image to the directory /boot.
It is more practice for the novice to use the lines :
    make && make modules modules_install install
Since this command install automatically the compiled kernel in the directory /boot, and create a file vmlinuz which link to newly compiled kernel, and save the old version of the compiled kernel with the extension .old.

It is also necessary to change the grub.conf file with the line :
   kernel /boot/vmlinuz root=/dev/hda3

Reproducible: Always
Comment 1 Jan Kundrát (RETIRED) gentoo-dev 2007-08-08 12:00:56 UTC

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