Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
02-10-2006, 12:13 PM
|
#1
|
Member
Registered: Mar 2002
Location: Hampton, VA
Posts: 86
Rep:
|
Change from stock 2.4 kernel to 2.6 kernel
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?
Thanks
|
|
|
02-10-2006, 12:16 PM
|
#2
|
Member
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641
Rep:
|
Hi,
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...
-Y1
|
|
|
02-10-2006, 12:45 PM
|
#3
|
Member
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260
Rep:
|
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,
|
|
|
02-10-2006, 01:14 PM
|
#4
|
Member
Registered: Mar 2002
Location: Hampton, VA
Posts: 86
Original Poster
Rep:
|
Quote:
Originally Posted by bbeers
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.
|
|
|
02-10-2006, 01:23 PM
|
#5
|
Member
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260
Rep:
|
Quote:
Originally Posted by jrbush82
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.
--
Bob
|
|
|
02-11-2006, 05:23 AM
|
#6
|
Member
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249
Rep:
|
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.
|
|
|
02-11-2006, 07:05 AM
|
#7
|
Member
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770
Rep:
|
Is there a 2.6 kernel with built in Reiser 3? My whole system is ReiserFS it is too late to install a module
|
|
|
All times are GMT -5. The time now is 12:25 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|