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'm wanting to try out building a "Linux From Scratch" system, and it is recommending I use kernel version 2.6.2 or later. I used the default 2.4 kernel that came with Slack 10.2. Is there an easy way to switch from the 2.4.31 kernel to the 2.6.31 kernel that is on my CDs without having to recompile a new kernel all together?
On the Slackware CD under /extra or when downloading slackware-current you'll find a standard 2.6 kernel that functions with similar functionality on most systems. Having said that, if you plan to build your own system almost from scratch, I highly recommend building your own custom kernel for your hardware.
By the way - if you want to build Linux From Scratch I recommend checking the LFS forum here...
slackware/current/testing (as of today, 20060210) has
kernel-generic-2.6.14.6-i486-1 and
kernel-modules-2.6.14.6-i486-1
get both of those packages and installpkg them,
check your lilo.conf, run lilo, reboot, choose 2.6 kernel.
optionally, also get kernel-source-2.6.14.6-noarch-1, for
when you do want to compile a kernel, or just get
2.6.15.4 source from kernel.org
HTH,
Thats the information I was looking for. I didn't know if just installing the package would do everything for me, or if I had to then put the bzImage into /boot modify lilo.conf etc... been a long while since I've been into linux and before lots of things were much more manual than now... Thanks for the info.
I didn't know if just installing the package would do everything for me, or if I had to then put the bzImage into /boot modify lilo.conf etc...
I don't know off the top of my head what the doinst.sh in the kernel package does.
I am confident it puts the kernel in /boot, and it may update your lilo.conf,
but as a general rule I always *check* lilo.conf and run lilo whenever I fiddle
with kernels.
Installing the Slackware module and kernel packages will install and set up all the links ready to boot.
The only little problem I find with this is that Lilo does not then give the option of booting either 2.6 or the original 2.4 kernel. In any case the old kernel is not removed by the installation.
I prefer the install the kernel to /boot manually without using symlinks and then edit and run Lilo to set up the multibooting.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.