Hirsute: link_in_boot = yes
# dpkg-query -W linux-base linux-base 4.5ubuntu5.2
# Two regular flavours # ls -latr /boot/ | grep -- '->' | sort lrwxrwxrwx 1 root root 25 Jun 23 10:46 vmlinuz.old -> vmlinuz-5.11.0-23-generic lrwxrwxrwx 1 root root 28 Jun 23 10:46 vmlinuz -> vmlinuz-5.11.0-23-lowlatency lrwxrwxrwx 1 root root 28 Jun 23 10:49 initrd.img.old -> initrd.img-5.11.0-23-generic lrwxrwxrwx 1 root root 31 Jun 23 10:48 initrd.img -> initrd.img-5.11.0-23-lowlatency
# selfbuilt # installkernel 5.13.0-051300rc7-generic image/boot/vmlinuz-5.13.0-051300rc7-generic modules/boot/System.map-5.13.0-051300rc7-generic run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.13.0-051300rc7-generic /boot/vmlinuz-5.13.0-051300rc7-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.13.0-051300rc7-generic /boot/vmlinuz-5.13.0-051300rc7-generic update-initramfs: Generating /boot/initrd.img-5.13.0-051300rc7-generic run-parts: executing /etc/kernel/postinst.d/xx-update-initrd-links 5.13.0-051300rc7-generic /boot/vmlinuz-5.13.0-051300rc7-generic I: /boot/initrd.img.old is now a symlink to initrd.img-5.11.0-23-lowlatency I: /boot/initrd.img is now a symlink to initrd.img-5.13.0-051300rc7-generic
# ls -latr /boot/ | grep -- '->' | sort lrwxrwxrwx 1 root root 28 Jun 23 10:46 vmlinuz.old -> vmlinuz-5.11.0-23-lowlatency lrwxrwxrwx 1 root root 31 Jun 23 10:52 initrd.img.old -> initrd.img-5.11.0-23-lowlatency lrwxrwxrwx 1 root root 32 Jun 23 10:52 vmlinuz -> vmlinuz-5.13.0-051300rc7-generic lrwxrwxrwx 1 root root 35 Jun 23 10:52 initrd.img -> initrd.img-5.13.0-051300rc7-generic
Hirsute:
link_in_boot = yes
# dpkg-query -W linux-base
linux-base 4.5ubuntu5.2
# Two regular flavours 5.11.0- 23-generic 5.11.0- 23-lowlatency img-5.11. 0-23-generic img-5.11. 0-23-lowlatency
# ls -latr /boot/ | grep -- '->' | sort
lrwxrwxrwx 1 root root 25 Jun 23 10:46 vmlinuz.old -> vmlinuz-
lrwxrwxrwx 1 root root 28 Jun 23 10:46 vmlinuz -> vmlinuz-
lrwxrwxrwx 1 root root 28 Jun 23 10:49 initrd.img.old -> initrd.
lrwxrwxrwx 1 root root 31 Jun 23 10:48 initrd.img -> initrd.
# selfbuilt 051300rc7- generic image/boot/ vmlinuz- 5.13.0- 051300rc7- generic modules/ boot/System. map-5.13. 0-051300rc7- generic postinst. d/apt-auto- removal 5.13.0- 051300rc7- generic /boot/vmlinuz- 5.13.0- 051300rc7- generic postinst. d/initramfs- tools 5.13.0- 051300rc7- generic /boot/vmlinuz- 5.13.0- 051300rc7- generic img-5.13. 0-051300rc7- generic postinst. d/xx-update- initrd- links 5.13.0- 051300rc7- generic /boot/vmlinuz- 5.13.0- 051300rc7- generic img.old is now a symlink to initrd. img-5.11. 0-23-lowlatency img-5.13. 0-051300rc7- generic
# installkernel 5.13.0-
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
run-parts: executing /etc/kernel/
I: /boot/initrd.
I: /boot/initrd.img is now a symlink to initrd.
# ls -latr /boot/ | grep -- '->' | sort 5.11.0- 23-lowlatency img-5.11. 0-23-lowlatency 5.13.0- 051300rc7- generic img-5.13. 0-051300rc7- generic
lrwxrwxrwx 1 root root 28 Jun 23 10:46 vmlinuz.old -> vmlinuz-
lrwxrwxrwx 1 root root 31 Jun 23 10:52 initrd.img.old -> initrd.
lrwxrwxrwx 1 root root 32 Jun 23 10:52 vmlinuz -> vmlinuz-
lrwxrwxrwx 1 root root 35 Jun 23 10:52 initrd.img -> initrd.