Ahoj, Dňa Sat, 02 Aug 2014 12:11:43 -0400 Kenneth Jacker <k...@be.cs.appstate.edu> napísal:
> [ Wheezy; 3.2.0-4-amd64 ] > > I've noticed that when I upgrade a kernel image, the prior one appears > to be removed. So, at any time there is only one kernel image > in /boot. > > Just in case (unlikely I know) a new kernel has "problems", I'd like > to retain, say, the last three prior images in /boot. Other *nix > systems required me to manually delete unneeded images ... > > Looking around, I thought I might find a GRUB option to do this. No > luck. > > Thanks for your ideas/help! I have this: // DO NOT EDIT! File autogenerated by /etc/kernel/postinst.d/apt-auto-removal APT::NeverAutoRemove { "^linux-image-3\.14-1-amd64$"; "^linux-image-3\.14-2-amd64$"; "^linux-headers-3\.14-1-amd64$"; "^linux-headers-3\.14-2-amd64$"; "^linux-image-extra-3\.14-1-amd64$"; "^linux-image-extra-3\.14-2-amd64$"; "^linux-signed-image-3\.14-1-amd64$"; "^linux-signed-image-3\.14-2-amd64$"; "^kfreebsd-image-3\.14-1-amd64$"; "^kfreebsd-image-3\.14-2-amd64$"; "^kfreebsd-headers-3\.14-1-amd64$"; "^kfreebsd-headers-3\.14-2-amd64$"; "^gnumach-image-3\.14-1-amd64$"; "^gnumach-image-3\.14-2-amd64$"; "^.*-modules-3\.14-1-amd64$"; "^.*-modules-3\.14-2-amd64$"; "^.*-kernel-3\.14-1-amd64$"; "^.*-kernel-3\.14-2-amd64$"; "^linux-backports-modules-.*-3\.14-1-amd64$"; "^linux-backports-modules-.*-3\.14-2-amd64$"; "^linux-tools-3\.14-1-amd64$"; "^linux-tools-3\.14-2-amd64$"; }; in the /etc/apt/apt.conf.d/01autoremove-kernels and old kernels are preserved after update and i need to manually removed it (them). They stays (i am using aptitude) installed despite the auto flag. regards -- Slavko http://slavino.sk
signature.asc
Description: PGP signature