LinuxQuestions.org
Visit Jeremy's Blog.
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 05-04-2017, 11:05 PM   #1
JayMatthew
LQ Newbie
 
Registered: Jul 2013
Location: NJ
Distribution: Slackware
Posts: 29

Rep: Reputation: Disabled
Upgrading from Slackware 13.37 to 14.0 (3.2.29 kernel)


Hi,

Kind of a newbie here. I was wondering if anyone has been able to use slackpkg to upgrade from 13.37 to 14.0 with the 3.2.29 kernel. I was able to upgrade to 14.0 successfully but I believe the kernel was 3.2.83. I might have that kernel name wrong, but it was the latest 14.0 kernel, not the original release. Is there a way to specify 3.2.29 kernel when using slackpkg? I have a particular driver I need to test with 3.2.29. I'd like to do an upgrade if I can and not a fresh install.

Thanks in advance.

J
 
Old 05-04-2017, 11:10 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,286

Rep: Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649
http://docs.slackware.com/howtos:sla...:systemupgrade should provide useful guidance.
 
Old 05-04-2017, 11:54 PM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,022

Rep: Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687
slackpkg isn't recommended to be used when upgrading kernels. You can see Pat's warning in /etc/slackpkg/blacklist

Code:
# Automated upgrade of kernel packages aren't a good idea (and you need to
# run "lilo" after upgrade). If you think the same, uncomment the lines
# below
The best way to upgrade kernels is actually to not update them at all. Instead, it is better to run installpkg against the different kernels you want to install and then you can have your old, known working kernel to fall back on if the new one doesn't work as intended.

When you use installpkg to install newer kernels, you will want to modify your /etc/lilo.conf to have an entry point to the older and newer kernels. I actually don't use the /boot/vmlinuz symlink at all in my lilo.conf, choosing to reference the direct kernel instead. This makes sure that I don't get caught off guard if something mistakenly updates that symlink (like installing a different kernel package).

However, going back to your original question, no, there isn't a way to specify which kernel you'd like installed short of editing your /etc/slackpkg/slackpkg.conf and moving the patches to a lower priority than %PKGMAIN, but that would downgrade all patches to their original versions, not just the kernel.

The easiest thing to do would be to manually download the original kernel-huge, kernel-generic, kernel-modules, kernel-source, and kernel-headers and run installpkg on them. Then you can edit your /etc/lilo.conf, run lilo, and see if the new (older) kernel works properly. Once you have verified the kernel you want is working as it should, you can removepkg the other kernel(s), being sure to specify the full path to it's log.

Code:
removepkg /var/log/packages/kernel*-3.2.83-*
 
2 members found this post helpful.
Old 05-05-2017, 09:43 AM   #4
JayMatthew
LQ Newbie
 
Registered: Jul 2013
Location: NJ
Distribution: Slackware
Posts: 29

Original Poster
Rep: Reputation: Disabled
Thank you!
 
  


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
Slackware Kernel upgrading nankura Slackware 4 07-23-2012 05:58 PM
Upgrading slackware kernel headers archlyn Slackware 12 01-27-2010 09:08 AM
Upgrading Slackware 10.2 kernel to 2.6.18-1 stelzere Slackware 2 01-04-2007 07:49 PM

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

All times are GMT -5. The time now is 02:55 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration