It will install a valid vmlinuz and kernel-modules sfs (zdrv_xxx_nnn.sfs) to where your currently running kernel lives and will work after a reboot.
WARNING - if you don't really know what you are doing don't use this script! No guarantees that data loss won't occur - but you know how to avoid that don't you? [ ]
All you do is drag and drop (in rox - other FM may work - untested) (or use the file selector) vmlinuz (it can have an extension as kernel-kit names vmlinuz with an extension) to the top entry box then drag (or file select) the corresponding zdrv_xxx_nnn.sfs to the second entry box. Don't mix and match!
Click a few OK's and reboot.
This has been tested in slacko64 and librepup and will work in tahrpup. It won't work in slacko-5.7 or precise or anything older. There is code to catch these anyway. It won't work in a full install, a save to CD/DVD install or if you boot off the live CD/DVD and save session elsewhere. It should work in frugals to HDD or USB. I haven't tested USB yet but the directories are grokked out of /etc/rc.d/PUPSTATE so if that's ok it should work. All errors should be caught before damage occurs - no guarantees though.
If after reboot you decide that the new kernel sucks then you can Rollback.
The script is gettext'd so if you want to translate feel free to do so and post here.
If tests go well I will make this a pet, but for now please run on the CLI. When the program exits it throws different exit codes. If it fails for you I don't want to know unless you post the exit code!
To get your exit code do this when the program completes:
Code: Select all
echo $?