SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
PART FROM MY PAGE it is in a pretty bad condition now
Code:
$ make menuconfig
$ make
# cp System.map /boot/System.map-2.6.x.x ; ln -sf /boot/System.map-2.6.x.x /boot/System.map
# make modules_install
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.x.x
#lilo ------ edit lilo before this
#reboot ------to test the new kernel
Imo a bit simpler method is to just use 'make install' and don't waste time on copying files. This will copy the old vmlinuz to vmlinuz.old. And this way you don't even need to edit lilo.conf.
i have slack 10.2. with 2.4.31 kernel, if i compile and install latest kernel, does that means that i will have to reinstall some programs that i compiled and installed with ./configure;make;make install?
and, this is maybe offtopic, but i want to know what are pros and cons when we are talking about replacing kernel?
Most programs should still work, only some that for example build a kernel module (like fuse to get ntfs-3g driver working, proprietary video drivers or vmware) would require to build them again.
About pros and cons: You would have to read the kernel changelog or some reviews to see if you need it. If your system is like you like it and works without problems, IMHO you should not switch. Of couse if you intend to learn something just do it
I've been having trouble with the configuration.
If I copy my configuration from /boot to the /usr/scr/linux-<>/.config,
and then do a make,
it should produce exactly the same kernel,
right?
What if I upgrade my kernel and want the same config as the old kernel?
Imo a bit simpler method is to just use 'make install' and don't waste time on copying files. This will copy the old vmlinuz to vmlinuz.old. And this way you don't even need to edit lilo.conf.
but this could screw you if you do something dumb and evoke kernel panic...
not that i've ever done that myself
its nice to have my old images around in case I 'over-optimize' my current kernel.
especially when still learning its good to keep some old ones in lilo.conf
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.