We seem to be hitting the same issue, also on Azure. It happens when we deploy a VM from a Shared Image gallery and change the OS disk size during deployment. We use a template spec to deploy the VM. If we set diskSizeGB in the storageProfile, the issue appears.
mount: /var/lib/grub/esp: special device /dev/disk/by-id/scsi-14d534654202020203d0cbbcd0bb74669a97057319f6cd140-part15 does not exist. ls -al /dev/disk/by-id/ | grep sda15 lrwxrwxrwx 1 root root 11 Sep 15 10:23 scsi-14d53465420202020ad9d668420ceb0419516df3a7418668d-part15 -> ../../sda15 lrwxrwxrwx 1 root root 11 Sep 15 10:23 scsi-360022480ad9d668420cedf3a7418668d-part15 -> ../../sda15 lrwxrwxrwx 1 root root 11 Sep 15 10:23 wwn-0x60022480ad9d668420cedf3a7418668d-part15 -> ../../sda15 I does not happen when we keep the original OS size from the image: ls -al /dev/disk/by-id/ | grep sda15 lrwxrwxrwx 1 root root 11 Sep 14 09:04 scsi-14d534654202020203d0cbbcd0bb74669a97057319f6cd140-part15 -> ../../sda15 lrwxrwxrwx 1 root root 11 Sep 14 09:04 scsi-3600224803d0cbbcd0bb757319f6cd140-part15 -> ../../sda15 lrwxrwxrwx 1 root root 11 Sep 14 09:04 wwn-0x600224803d0cbbcd0bb757319f6cd140-part15 -> ../../sda15 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1940723 Title: shim-signed fails to install if grub disk config is incorrect To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1940723/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs