LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Reverting Kernel (https://www.linuxquestions.org/questions/slackware-14/reverting-kernel-4175445400/)

BlackBreatH 01-13-2013 09:45 AM

Reverting Kernel
 
Hi all
Recently, i've done a _huge_ mistake: i updated (via slackpkg) my kernel ( the one shipped with slackware 14.0) to the 3.7.1 without doing any backup of the old kernel. Since i'm getting problems with various stuff, i've decided to revert the kernel to the slackware default one.

Is there a safe way to revert it?

Thanks

Jdogzz 01-13-2013 09:53 AM

I also had problems with the new kernel in current. The easiest way to revert to 14.0 is to go into the mirrors file, comment out the source you picked for a -current release and then uncomment one of the sources for 14.0, whichever architecture you need. From there, simply follow the slackpkg update and upgrade process and that should safely take you back to the kernel in 14.0.

BlackBreatH 01-13-2013 10:09 AM

Thank you, i'll try :D
Can i also use pkgtool packages from the slackware dvd, right? Or is better let slackpkg doing everything?

wigry 01-13-2013 10:12 AM

If you used slackpkg to go to -current, then use slackpkg to go back to stable.

Jdogzz 01-13-2013 10:12 AM

I would let slackpkg do the work because not all the packages from the Slackware DVD are the same as the ones from the mirrors, very similar, but not entirely. However, it is up to you, if you would prefer to read the documentation on doing it with the DVD properly then that is your choice.

BlackBreatH 01-13-2013 10:15 AM

ok :D Thank you guys :D

Alien Bob 01-13-2013 10:32 AM

Quote:

Originally Posted by Jdogzz (Post 4869024)
not all the packages from the Slackware DVD are the same as the ones from the mirrors, very similar, but not entirely.

What crap is that? Can you at least be specific in your claim?

Eric

Jdogzz 01-13-2013 11:19 AM

Quote:

Originally Posted by Alien Bob (Post 4869036)
What crap is that? Can you at least be specific in your claim?

Eric

I say this based on the occasional security updates, like Firefox and Thunderbird:

Quote:

Thu Jan 10 08:17:57 UTC 2013
patches/packages/mozilla-firefox-18.0-x86_64-1_slack14.0.txz: Upgraded.
This release contains security fixes and improvements.
For more information, see:
http://www.mozilla.org/security/know...s/firefox.html
(* Security fix *)
patches/packages/mozilla-thunderbird-17.0.2-x86_64-1_slack14.0.txz: Upgraded.
This release contains security fixes and improvements.
For more information, see:
http://www.mozilla.org/security/know...underbird.html
(* Security fix *)
patches/packages/seamonkey-2.15-x86_64-1_slack14.0.txz: Upgraded.
This update contains security fixes and improvements.
For more information, see:
http://www.mozilla.org/security/know...seamonkey.html
(* Security fix *)
patches/packages/seamonkey-solibs-2.15-x86_64-1_slack14.0.txz: Upgraded.
But other than that, I can't think of many changes made to the original DVD. My apologies for not being more specific.

Didier Spaier 01-13-2013 05:34 PM

Quote:

Originally Posted by Jdogzz (Post 4869024)
not all the packages from the Slackware DVD are the same as the ones from the mirrors, very similar, but not entirely.

Whenever a package for a stable Slackware version is updated, the new package always go in the /patches directory. Other than that there should be no difference.

qazo 01-16-2013 02:49 AM

i had a similar scenario except for the fack that i mistakenly deleted everything in the /boot directory, to fix it i mounted the slackdvd image, installed the original kernels(including huge, just incase), thank god i didn't reboot


All times are GMT -5. The time now is 12:15 AM.