LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Steps in details to upgrade kernel in Slakware-current (http://www.linuxquestions.org/questions/slackware-14/steps-in-details-to-upgrade-kernel-in-slakware-current-4175459501/)

gabytf 04-24-2013 10:16 PM

Steps in details to upgrade kernel in Slakware-current
 
Sorry if this topic had been repeated.Please link it to me if you can. TQ!

But i really need helps here especially on kernels upgrading.

What i did was to download -current.iso and do the whole installation again instead of just kernel upgrade, because i still not sure how(i messed up before, that's why to be safe i just do the fresh installation).

J1NKL3 04-24-2013 10:34 PM

http://alien.slackbook.org/dokuwiki/...kernelbuilding

gabytf 04-24-2013 11:15 PM

Thank you J1NKL3,but i suppose this is to build kernels.

How about obtaining the kernel packages from -current mirror and do the upgrade? (of course not slackpkg upgrade-all).

Stephen Morgan 04-25-2013 12:21 PM

If you've used a -current ISO, you should already have the -current kernels. If not, but you have a -current mirror enabled in slackpkg, you should be able to use
Code:

slackpkg upgrade kernel-generic kernel-huge kernel-modules
as root. If you don't want to use slackpkg you can download the packages from the k/ directory on one of the slackware-current mirrors and upgrade with the `upgradepkg` command.

Toutatis 04-25-2013 01:43 PM

Usually I upgrade all the kern*txz and then "lilo -C /etc/lilo.conf".
If lilo shows no error, reboot.

After rebooting it can be necessary to reinstall some extra software (as Nvidia drivers).

gabytf 05-03-2013 01:22 AM

Thank you guys. Managed to solve it by:


Quote:

If you don't want to use slackpkg you can download the packages from the k/ directory on one of the slackware-current mirrors and upgrade with the `upgradepkg` command
Quote:

Post#7 To install from current go to a slackware/current mirror and download all the kernel-* from the "a" directory and do as mentioned...
http://www.linuxquestions.org/questi...-2-7-a-932163/
I downloaded from a directory all the kernel files.

Step 1: rsync -av rsync://taper.alienbase.nl/mirrors/slackware/slackware64-current/slackware64/a/kernel-* .
Step 2: cd to current directory
Step 3: pkgtool
Step 4: select "install packages from current directory"
Step 5: lilo

In my case, i boot from a USB Boot stick, so i need to recreate the boot stick
Step 6: pkttool, select SETUP Choose Slackware installation scripts to run again
Step 7: select "Create a USB Linux boot stick"
Step 8: Exit from pkgtool, then Reboot

Done!


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