Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
|
 |
09-14-2004, 01:16 AM
|
#1
|
Member
Registered: Dec 2003
Location: Florida
Posts: 157
Rep:
|
I sthere a how to For installing/Upgrading New Kernels?
I'm running Mandrake 10.0
I want to upgrade from the 2.6.3-16MDK kernel to the 2.6.8.1kernel.
is there a HOWTO on how to upgrade a newb like myself can understand and follow, and do I have to update packages before I can upgrade to the 2.6.8.1 kernel?
Thanks. 
|
|
|
09-14-2004, 01:32 AM
|
#2
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo on headless; Arch on everything that requires a GUI
Posts: 6,941
Rep: 
|
|
|
|
09-14-2004, 04:42 AM
|
#3
|
Senior Member
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672
Rep:
|
It's pretty easy with mandrake, tho you might want to disable automount which is a pain with mandrake anyway... No other real updates with mdk as it's set up for 2.6 kernel. the only thing might be k3b.
I'm running 2.6.9-rc1-bk16 at the moment with 2.6.9-rc2 just compiled - I'll boot that shortly... 2.6.8.1 is okay, but be aware that with kernels past 2.6.8 there are issues with k3b and dvd-rw tools that you either need to get the latest k3b from cvs, patch it yourself, or do a quick hack on the kernel code (remove a line) to burn cd's with k3b. 2.6.7 is more hassle free with k3b and such if you would rather wait till newer versions are released - or if you don't use them then it don't matter. But as I say, the kernel hack is trivial anyway... Just comment out line 168 in drivers/block/scsi_ioctl.c should do it... Or take out lines 196&197... This risks toasting your cd writer, but the problem exists in 2.6.3 anyway... My advice for a newb tho would be 2.6.7 at the moment...
Compiling is easy. download the source tgz and put it in /usr/src. tar xfvz/j it there and cd to the directory. Make xconfig is the hard step to get all the options correct - just ask if you need some advice there. Need to be careful reading of all options. then it's just make bzImage, make modules, make modules_install. Copy the arch/i386/boot/bzImage to the /boot directory, edit lilo and add the new kernel and you should be fine. You always keep the current kernel to boot as a backup anyway, so you can't go too wrong...
The README in the kernel source covers it pretty well anyway... Of course I've been compiling a couple of kernels per week lately, so it seems easy - but it really isn't that hard once you do it a couple of times...
|
|
|
09-14-2004, 12:30 PM
|
#4
|
Member
Registered: Dec 2003
Location: Florida
Posts: 157
Original Poster
Rep:
|
Quote:
Originally posted by amosf
It's pretty easy with mandrake, tho you might want to disable automount which is a pain with mandrake anyway... No other real updates with mdk as it's set up for 2.6 kernel. the only thing might be k3b.
I'm running 2.6.9-rc1-bk16 at the moment with 2.6.9-rc2 just compiled - I'll boot that shortly... 2.6.8.1 is okay, but be aware that with kernels past 2.6.8 there are issues with k3b and dvd-rw tools that you either need to get the latest k3b from cvs, patch it yourself, or do a quick hack on the kernel code (remove a line) to burn cd's with k3b. 2.6.7 is more hassle free with k3b and such if you would rather wait till newer versions are released - or if you don't use them then it don't matter. But as I say, the kernel hack is trivial anyway... Just comment out line 168 in drivers/block/scsi_ioctl.c should do it... Or take out lines 196&197... This risks toasting your cd writer, but the problem exists in 2.6.3 anyway... My advice for a newb tho would be 2.6.7 at the moment...
Compiling is easy. download the source tgz and put it in /usr/src. tar xfvz/j it there and cd to the directory. Make xconfig is the hard step to get all the options correct - just ask if you need some advice there. Need to be careful reading of all options. then it's just make bzImage, make modules, make modules_install. Copy the arch/i386/boot/bzImage to the /boot directory, edit lilo and add the new kernel and you should be fine. You always keep the current kernel to boot as a backup anyway, so you can't go too wrong...
The README in the kernel source covers it pretty well anyway... Of course I've been compiling a couple of kernels per week lately, so it seems easy - but it really isn't that hard once you do it a couple of times...
|
Thanks.
I got it up and running, although with a few errors at boot (something about mounting file systems...etc...). I'm gonna go through and recompile with a few less options I know I don't need (Mostly module support I know I don't have need for). I used the old .config file from the 2.6.3-16MDK kernel. guess that wasn't a good idea?
thanks for the help. 
|
|
|
All times are GMT -5. The time now is 07:37 AM.
|
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
|
|