versions of kernels
Hi,
Which file should I change it to updating the kernel with slackpkg and continue with previous versions? I remember that I can define the number of versions of kernels that would like to keep on the PC. Sorry for asking but since I tried searching and so far I can not find the file. I remember seeing this tip here. Thanks, |
If I understand you correctly, you are trying to prevent an update to a newer kernel? If yes, then edit the file /etc/slackpkg/blacklist. From that file :
Quote:
|
Hi,
No. I want to upgrade my kernel with slackpkg, keeping previous versions. Are there any files that can not remember which, I choose how many versions I want to keep the pc. Example: VERSIONS_KERNEL=2****** (keep 2 previous versions) Thanks. |
****It is only an example, this parameter does not exist!
|
If you want a new kernel, you need to download and build it yourself, Alien Bob's guide is all you need:
http://alien.slackbook.org/dokuwiki/...kernelbuilding If you follow this guide you will be able to keep your old kernel(s). It's a good idea to keep hold of the Slackware generic and huge kernels as backups in case of problems. (it refers to 2.6.x but is still relevant for 3.x) |
Yes, it is a solution but is not exactly that.
I have the current version and I want to keep some old versions of kernels. There is a file that I set up to keep the old versions after upgrading with slackpkg. |
I'm going crazy, I can not remember what that file.
|
Are you sure it was in slackware and not Ubuntu or Debian. If I'm not mistaken both of them have the option to keep only so many kernel versions. In slackware you have to blacklist the kernels as already mentioned then download the new kernel packages manually and install using installpkg to install.
|
Quote:
You don't want to upgrade a kernel, but installpkg each version, edit lilo.config manually and then run lilo. |
I let slackpkg update the kernels for me. I tried switching to the generic kernel, but had issues re-installing the broadcom-sta drivers and decided it was best to just keep the huge kernel and let slackpkg update when an update came out.
|
slackpkg, if I'm not mistaken, will not allow this setup.
You should just install multiple kernels manually (installpkg) and blacklist the kernel in slackpkg blacklist. |
Slackpkg is upgrading kernels just fine. I did it this weekend - the disadvantage is that slackpkg removes the old kernel automatically. So you will need to be sure that the new kernel works on the system. I just forgot to switch to 'init 1' before the upgrade so I had some problems with the modules and needed to fix that by hand.
I also used the opportunity to switch to generic, which worked flawlwssly. lvdd |
hm, on second thought I think I used 'upgradepkg' and used the dry-run option before actually doing it.... It was late...
|
Quote:
http://www.linuxquestions.org/questi...6/#post4723910 Quote:
|
You just want to add the list of kernels available at boot time? Is the file, /etc/lilo.conf, what you are looking for?
|
All times are GMT -5. The time now is 10:10 PM. |