Number of snapshots in boot menu

After 3rd upgrade on Tumbleweed with kernel 7.0.5 in boot menu i now have 3 boot options: with 7.0.1 ,7.0.3 and 7.0.5 kernel…how to limit those to only 2 of them…so i keep just one for fallback and one current which i use…i dont want to have more then 2 boot options in grub…what is the correct way to limit number of those snapshots??

I think you should clarify what you’re referring to.

  1. You can choose different “kernel” versions to boot.
  2. You can choose different “snapshot” (dates) to boot.
  3. Or, maybe both? :slight_smile:

Technically, they result with a different outcome (reason).

So when i reboot my machine start options are offering 3 different kernel versions of suse to boot from, firstly there was only one to boot from, after a 2 upgrades in boot menu now are 3 options to boot from…so i believe it is… different “kernel” versions to boot.


it looks like this…it seems that there are only 2, so suse automatically deletes everything more than 2? Earlier today there were 3…

There is a systemd service which will do it:

linux64:/home/stephan # systemctl status purge-kernels.service 
○ purge-kernels.service - Purge old kernels
     Loaded: loaded (/usr/lib/systemd/system/purge-kernels.service; enabled; preset: enabled)
     Active: inactive (dead)
  Condition: start condition unmet at Sun 2026-05-10 16:57:30 CEST; 6h ago
             └─ ConditionPathExists=/boot/do_purge_kernels was not met

Mai 10 16:57:30 linux64 systemd[1]: Purge old kernels skipped, unmet condition check ConditionPathExists=/boot/do_purge_kernels

Defined by:

linux64:/home/stephan # grep -i 'multiversion.kernels' /etc/zypp/zypp.conf
multiversion.kernels = latest,latest-1,latest-2,oldest,running

For me this means 4 kernels:

S  | Name                    | Type  | Version            | Arch   | Repository
---+-------------------------+-------+--------------------+--------+-----------
i+ | kernel-default          | Paket | 6.12.0-160000.29.1 | x86_64 | OSS
i+ | kernel-default          | Paket | 6.12.0-160000.28.1 | x86_64 | OSS
i+ | kernel-default          | Paket | 6.12.0-160000.27.1 | x86_64 | OSS
i+ | kernel-default          | Paket | 6.12.0-160000.5.1  | x86_64 | OSS

1 Like

Thank you very much!