Random boot failure with Ubuntu 20.04 / grub 2.04 and Hyper-V 2012r2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
We are experiencing some weird boot issues with Ubuntu 20.04 and Hyper-V 2012r2.
In two cases the installation started successfully, as did the VM initial boot and then issues started to arise, where the boot process started to fail.
grub start, the menu pop-up and then just after loading kernel and initrd (tried to put some echo(es) in the config the VM somehow reset and the menu pop-up back again.
After a few of thoses either the VM shut-down or the boot is successfull, It seems completly random..
Here it is captured on video:
https:/
If i setup a direct EFI-STUB boot of the kernel+initrd the boot process works every times.
I suspected the "save_env/load_env" for a while but a stripped down grub.cfg give the same result..
> insmod gzio
> insmod part_gpt
> insmod ext2
> set root='hd0,gpt2'
> if [ x$feature_
> search --no-floppy --fs-uuid --set=root --hint-
> else
> search --no-floppy --fs-uuid --set=root 94ebc17e-
> fi
> linux /vmlinuz-
> initrd /initrd.
> boot
Changed in grub2 (Ubuntu): | |
assignee: | nobody → Dmitry Zakharov (yadimaz) |
assignee: | Dmitry Zakharov (yadimaz) → nobody |
It would be interesting to know:
- if Secureboot is on or off (if at all supported)
- the shim version installed
- increase grub debugging and capture more detailed debug messages from grub
- vmlinuz and/or initrd are corrupted, or the disk itself is in need of fsck
- if using `linux-azure` yields better results, instead of `linux-generic`
We could also escalate this to Azure / Microsoft as well.