LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-06-2005, 03:40 AM   #1
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Rep: Reputation: 44
Will Slack upgrade replace kernel?


If I go with the upgrade from 10 to 10.1 instead of a new install following the instructions in UPGRADE.TXT will my 2.6.7 kernel be replaced by the 2.4.29 that is standard with 10.1?

If it will by default are there any scripts etc that will upgrade the system but leave the kernel alone?

Thanks in advance for any help
 
Old 04-06-2005, 03:47 AM   #2
davatar
Member
 
Registered: Dec 2004
Location: Washington State
Distribution: Slackware
Posts: 46

Rep: Reputation: 15
It will remove the 2.4.26 kernel, if you haven't already, and replace it with 2.4.29. it will also likely remove the vmlinuz, System.map, and config symlinks in /boot, and the linux symlink in /usr/src. Atleast this has been my experience, although I was using upgradepkg (or a program that makes use of the pkgtools such as slapt-get)

I don't know what to tell you if you're upgrading from a CD, other than you can do it all manually with upgradepkg, and skip what you don't want to upgrade.

But no, you should not lose your 2.6 kernel, although depending on how you upgrade you will want to check the symlinks mentioned.

Last edited by davatar; 04-06-2005 at 03:48 AM.
 
Old 04-06-2005, 03:47 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I don't think your kernel will be replaced. On most upgrades I have done using various tools, the kernel has always remained intact, unless I have upgraded it manually.
 
Old 04-06-2005, 05:14 AM   #4
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Original Poster
Rep: Reputation: 44
Wow, thanks for the quick replies.

So if I've got this right after upgradepkg finishes it's stuff I re-link the vmlinuz, System.map and config files to point to the 2.6.7 versions in /boot, change the /usr/src/linux symlink to point back to /usr/src/linux-2.6.7 and I'm good to go?

Oh, I understand from the info in UPGRADE.TXT that LIL0 will not be touched so I shouldn't have anything to do there right?

And a final couple of questions: things I have compiled myself will they still work, and will xorg.conf and gnome desktop setup etc be overwritten (I will back up /etc before I start BTW, anything else I should back up too?)

Thanks again
 
Old 04-06-2005, 02:37 PM   #5
davatar
Member
 
Registered: Dec 2004
Location: Washington State
Distribution: Slackware
Posts: 46

Rep: Reputation: 15
You will need to recompile all modules that come seperate from the kernel, and any programs that are kernel-specific (if you have any).

It's a good idea to remove custom modules entries from modprobe.conf. You can leave them in modules.conf though. (2.4.x uses modules.conf, 2.6.x uses modprobe.conf.) Infact it's probably an even better idea to uninstall them altogether, if they have an installer (such as nvidia drivers), and then reinstall/compile them after the kernel upgrade.

You will definately want to update LILO, so edit your lilo.conf and make the corrections necessary. After editing lilo, make sure you re-install it with the "lilo" command. Oh and yes, check those symlinks.

As for everything else, any new config files should have ".new" appended to them, so you can use slocate to find all the .new's and then go through and replace the old ones with the new. Hopefully you don't have too many custom tweaks in those config files, so you don't have to re-write (or copy) too much from the old file to the new.

~Dav

Last edited by davatar; 04-06-2005 at 02:41 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
zlib has numerous DEPs How to upgrade?? replace it piratebiter Linux - Enterprise 1 09-15-2005 06:20 AM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 07:54 PM
Slack to replace Windows2000 DHCP/DNS server jymbo Slackware 18 08-07-2004 08:27 AM
can,t boot slack after kernel upgrade. little_ball Slackware 3 03-30-2004 07:40 PM
HowDo I replace my existing kernel with a precompiled distro kernel ? gmartin Slackware 1 01-06-2004 10:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration