Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142317 - Kernel Upgrade Guide: use make install instead of cp arch/i386...
Summary: Kernel Upgrade Guide: use make install instead of cp arch/i386...
Status: RESOLVED WORKSFORME
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/kernel-u...
Whiteboard:
Keywords:
: 406963 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-31 12:49 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2012-03-06 09:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***