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

Bug 142317

Summary: Kernel Upgrade Guide: use make install instead of cp arch/i386...
Product: [OLD] Docs on www.gentoo.org Reporter: Paweł Hajdan, Jr. (RETIRED) <phajdan.jr>
Component: Other documentsAssignee: Docs Team <docs-team>
Status: RESOLVED WORKSFORME    
Severity: enhancement CC: pacho
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/doc/en/kernel-upgrade.xml#doc_chap5_sect3
Whiteboard:
Package list:
Runtime testing required: ---

Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2006-07-31 12:49:13 UTC
Code Listing 5.4: Compiling and installing the new kernel
# make && make modules_install
# mount /boot
# cp arch/i386/boot/bzImage /boot/bzImage-2.6.9-gentoo-r2 <---- this line

IMO replacing marked line above with "make install" would result in much cleaner and simpler upgrade procedure. It creates convenient symlinks in /boot, copies config and System.map files and automatically labels them with kernel version string.
Comment 1 Łukasz Damentko (RETIRED) gentoo-dev 2006-08-04 02:22:42 UTC
There's no need to copy the System.map (kernel folks say so) or .config (can be taken from /proc). And doing something "by hand" is always much cleaner and simplier than using a script for that. Thanks for reporting anyway.
Comment 2 nm (RETIRED) gentoo-dev 2012-03-06 09:15:41 UTC
*** Bug 406963 has been marked as a duplicate of this bug. ***