Mark Knecht wrote:

QUESTION 2: What is the process to create these files if I want them?



Just use installkernel script from sys-apps/debianutils (AFAIK, this package are in 'system', so installed automaticaly while initial install) after make {bzImage,modules,modules_install}.
This script:
1) Copy your bzImage, System.map and .config to /boot and name this files as vmlinuz-<version>, System.map-<version>, config-<version> (ex. vmlinuz-2.4.20-gentoo-r5 etc.)
2) Make the symlinks to this files (vmlinuz->vmlinuz-2.4.20-gentoo-r5, System.map->System.map-2.4.20-gentoo-r5, ...)
3) If symlinks already exists, rename old symlinls to <name>.old
4) Check for lilo presence and, if lilo present, run lilo to reflect kernel changes


So, if you use this script, symlink 'vmlinuz' in your /boot directory always point to latest installed kernel, and 'vmlinuz.old' - to previus kernel version. Also, 'System.map' point to System.map for latest kernel, and 'System.map.old' - for previous, and some theme for kernel config files (.config). And then your install new kernel, this simlinks just 'shifted' for new version. This way, you don't need change anything in bootloader config file - you once setup two boot menu items for newest and old kernel and this items always work.


-- [EMAIL PROTECTED] mailing list



Reply via email to