Skip to content

fauzigo/kernel-slackware-efi-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kernel-slackware-efi-update

kernel update script for slackware

1. QuickStart

git clone https://github.com/fauzigo/kernel-slackware-efi-update.git

Table of contents

2. Overview

2.1 Get it and compile it

kernelCompiler.sh would download and compile the source, it may require some manual intervention if the new kernel has new features that your current kernel doesn't, you'll be promped as you normally would if you compile the kernel manually following this Documentation. I use huge kernels, therefore I name them that way. If you use different one you may want to rename the var.

The script would zcat what's in /proc/config.gz into the working directory. I'm assuming that changes/addition between MINOR versions are not as much as to make this script cumbersome to run. If you are upgrading MAYOR versions like from 4.16.x to 4.17.y, then you'll be propmted to select if you want the new modules. which may be quite a few.

Also my computer uses EFI, thus there is no need to run lilo everytime. For non efi computers, this script would need some love if you want to make it work in one run.

This script shouldn't screw up any active slackware installation, but it might.

Common sense if you use this. It worth noting that ad the end, mkinitrd is ran, change this line accordingly IMPORTANT

2.2 switch

switchKernel.sh would make a switch between current kernel and the version you tell it to. Again, I use efi, which makes thing super simpler and easier.

3. Usage

bash kernelCompiler.sh 4.15.7
bash switchKernel.sh 4.15.7

About

kernel update script for slackware

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages