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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using http://www.kroah.com/lkn/ as a guide to upgrade from kernel 2.4.33.3 to 2.6.20.7. Chapters 4 & 7 discuss making/configuring the .config file. I think I know what to do but I want to clarify the following:
1) Can I copy a .config file from version 2.4 to version 2.6?
2) If I do this and subsequently run "make menuconfig", will I see the settings of the 2.4 kernel as default-selected options?
In a nutshell, will having the old .config file in the new kernel directory make it easier to tweak the config file using the menu config tools, or do those wizards ignore the contents of the current .config file?
You certainlay can just copy over your old config file. There are some options that won't show up correctly though as they are relocated or changed. In particulat you may find that you need to re-select the framebuffer options so you don't get a black screen your first time.
The best way to handle this may be to copy over the old file and then run 'make oldconfig' which will only ask you about the options which have changed or are new. Then run 'make menuconfig' and double check before compiling.
yes, and I'd add to be _especially_ careful about scsi/sata driver(s) that you might need. there were many options changed between 2.4-2.6 series kernels and if you don't fix them (make oldconfig does a good job, but for instance libata should be disabled, and proper drivers enabled..) you damned to kernel panic heellllll....
Did you work really hard on the 2.4.x config or something ?
No. I was under the assumption that when I initially installed SW there may have been some custom settings written to my current .config file. I was more concerned of getting to a setting in the new one that I was unfamiliar with and having a default option pre-selected for me that would work with my machine.
Last edited by overlook1977; 05-01-2007 at 07:14 AM.
but for instance libata should be disabled, and proper drivers enabled.
This has to be the strangest thing I've seen on LQ. Does slackware have a separate set of device driver writers who are replacing libata? If you disable libata, you will not have SATA access.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.