On Saturday 06 July 2002 09:22 pm, Damian G wrote:
> so, apparently, that system.map is not mandatory to make
> a kernel boot....
I don't believe so. When you install a Mandrake pre-compiled
kernel the rpm (use 'rpm -ivh' ) it creates the proper links in /boot
for you, besides generating a new initrd and edit/run lilo to add the
new kernel. When I roll my own, I edit Makefile and change
EXTRAVERSION = <new_indentifier>, but also I uncomment the line
# export INSTALL_PATH=/boot (ie, remove the # ). Then a last
command of 'make install' in the compile proccess also will make the
proper links in /boot, make initrd, edit/run lilo, etc. for you.
I use this /etc/bashrc alias to check,
alias bootlinks='ll /boot/{initrd,vmlinuz,System.map}*'
Typing 'bootlinks' then, at least initrd and vmlinuz should point to
the right kernels (the current active links will be color hi-lited).
My alias doesn't change anything, just displays the current state of
important links in /boot. Until I boot the new kernel, the important
links, initrd and vmlinuz point to the correct kernel(s), but
System.map doesn't. After rebooting to the new kernel, all three
then correctly point to the right kernel for all installed kernels.
--
Tom Brinkman Corpus Christi, Texas
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com