Focal: link_in_boot = yes
# dpkg-query -W linux-base linux-base 4.5ubuntu3.5
# Two regular flavours # ls -latr /boot/ | grep -- '->' | sort lrwxrwxrwx 1 root root 24 Jun 23 11:18 vmlinuz.old -> vmlinuz-5.4.0-78-generic lrwxrwxrwx 1 root root 27 Jun 23 11:18 initrd.img.old -> initrd.img-5.4.0-78-generic lrwxrwxrwx 1 root root 27 Jun 23 11:20 vmlinuz -> vmlinuz-5.4.0-78-lowlatency lrwxrwxrwx 1 root root 30 Jun 23 11:20 initrd.img -> initrd.img-5.4.0-78-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.4.0-78-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 27 Jun 23 11:20 vmlinuz.old -> vmlinuz-5.4.0-78-lowlatency lrwxrwxrwx 1 root root 30 Jun 23 11:23 initrd.img.old -> initrd.img-5.4.0-78-lowlatency lrwxrwxrwx 1 root root 32 Jun 23 11:22 vmlinuz -> vmlinuz-5.13.0-051300rc7-generic lrwxrwxrwx 1 root root 35 Jun 23 11:23 initrd.img -> initrd.img-5.13.0-051300rc7-generic
All is good.
Focal:
link_in_boot = yes
# dpkg-query -W linux-base
linux-base 4.5ubuntu3.5
# Two regular flavours 5.4.0-78- generic img-5.4. 0-78-generic 5.4.0-78- lowlatency img-5.4. 0-78-lowlatency
# ls -latr /boot/ | grep -- '->' | sort
lrwxrwxrwx 1 root root 24 Jun 23 11:18 vmlinuz.old -> vmlinuz-
lrwxrwxrwx 1 root root 27 Jun 23 11:18 initrd.img.old -> initrd.
lrwxrwxrwx 1 root root 27 Jun 23 11:20 vmlinuz -> vmlinuz-
lrwxrwxrwx 1 root root 30 Jun 23 11:20 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.4. 0-78-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.4.0-78- lowlatency img-5.4. 0-78-lowlatency 5.13.0- 051300rc7- generic img-5.13. 0-051300rc7- generic
lrwxrwxrwx 1 root root 27 Jun 23 11:20 vmlinuz.old -> vmlinuz-
lrwxrwxrwx 1 root root 30 Jun 23 11:23 initrd.img.old -> initrd.
lrwxrwxrwx 1 root root 32 Jun 23 11:22 vmlinuz -> vmlinuz-
lrwxrwxrwx 1 root root 35 Jun 23 11:23 initrd.img -> initrd.
All is good.