we have a strange behaviour on some of our Debian 11.5 VMs on VMWare ESX 7.0.
After upgrading the HW Compatibility from V15 to V19 the VM does not boot anymore.
The boot stops at the grub prompt und shows no menu.
If I type "exit* at the grub prompt, the ESX boot Manager is started. In this menu I can select "debian"
Now it displays the grub menu and I can boot normaly.
We have this issue on about 5% of our Debian VMs, the other VMs are booting normaly.
All VMs are installed automatically by a Vmware template created with packer.
We use UEFI boot. The /boot directory is on the LVM root volume. /boot is not a separate filesystem.
If I add a sleep step in the file /boot/efi/EFI/debian/grub.cfg, then I can see the error message
error: no such device <uuid>.
I already tried to reinstall the grub packages, filesystem checks and several options of the grub-install command.
I see no error messages, but the problem persists.
Here is some output of our configuration:
Code: Select all
root > fdisk -l /dev/sda
Disk /dev/sda: 56 GiB, 60129542144 bytes, 117440512 sectors
Disk model: Virtual disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 58F3DB57-438E-4FCF-A892-AD3ABD937DDF
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 117438463 116387840 55.5G Linux LVM
root >
root > df -h / /boot/efi
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LV_ 24G 8.8G 14G 40% /
/dev/sda1 511M 6.0M 506M 2% /boot/efi
root >
root > cat /boot/efi/EFI/debian/grub.cfg
search.fs_uuid bb4edbd7-8f64-4518-9d90-b8d82f9414bc root lvmid/FUkr0D-a6pq-Qgf7-cYQh-Megd-SGh3-W0HzSj/LXe7Fa-XcjH-EHeV-1Hbb-k0mR-ooW9-lYqLDq
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
root >
root > grub-install
Installing for x86_64-efi platform.
Installation finished. No error reported.
root >
root > efibootmgr
BootCurrent: 0006
BootOrder: 0006,0000,0001,0002,0005,0003
Boot0000* EFI Virtual disk (0.0)
Boot0001* EFI Virtual disk (1.0)
Boot0002* EFI Virtual disk (2.0)
Boot0003* EFI Network
Boot0005* EFI Internal Shell (Unsupported option)
Boot0006* debian
root >
Does anyone know this problem ?
Any hints are welcome.
Kind regards
Rolf