You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue/Bug Description:
Kernelstub generates two boot entries, one for the current kernel and one for the old kernel. Unfortunately, it appears there is no way to configure which kernel should be used for the old kernel boot entry and it's instead using whichever kernel was previously current (which is a good default). Instead, kernelstub should attempt to resolve old kernel similar to how it resolves current kernel when not manually specifed.
Steps to reproduce (if you know):
symlink /boot/vmlinuz.old and /boot/initrd.old to 5.13.0-7614-generic
run kernelstub
Expected behavior:
Old boot entry should run kernel 5.13.0-7614-generic
Other Notes:
Old boot entry runs kernel 5.15.11-76051511-generic
The .old links are not guaranteed to point to any older kernel, and may in fact point to the same kernel as the regular links. They are also automatically updated during kernel updates, and thus aren't useful for configuration purposes. See ed776f9 for more information as to why kernelstub moved away from using the .old symlinks.
Currently, Kernelstub internally resolves the latest kernel version available and uses that, rather than using the symlinks in /boot. This change was introduced in bfe1ed3
Distribution (run
cat /etc/os-release
):Related Application and/or Package Version (run
apt policy $PACKAGE NAME
):Issue/Bug Description:
Kernelstub generates two boot entries, one for the current kernel and one for the old kernel. Unfortunately, it appears there is no way to configure which kernel should be used for the old kernel boot entry and it's instead using whichever kernel was previously current (which is a good default). Instead, kernelstub should attempt to resolve old kernel similar to how it resolves current kernel when not manually specifed.
Steps to reproduce (if you know):
kernelstub
Expected behavior:
Old boot entry should run kernel 5.13.0-7614-generic
Other Notes:
Old boot entry runs kernel 5.15.11-76051511-generic
Relates to isantop#3
The text was updated successfully, but these errors were encountered: