replace_kernel function may optionally call force_boot_without_initramfs which then can optionally call divert_grub / update-grub / undivert_grub again.
However, I think replace kernel can only work if grub is diverted or was not yet installed. Thus i'm not sure it is a good idea for force_boot_without_initramfs to do divert_grub and to call update-grub. ** Changed in: livecd-rootfs (Ubuntu) Importance: Undecided => Critical ** Changed in: livecd-rootfs (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902260 Title: systemd-detect-virt is missing on Groovy EC2 AMI To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-images/+bug/1902260/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs