Problème de UI avec Ubuntu 22.04 et hyper-v?

Quelques paramètres de Grub à modifier et puis voilà!

Problème de UI avec Ubuntu 22.04 et hyper-v?

Voici la procédure que j'ai suivi pour régler le problème.... Et oui quelques paramètres de GRUB font toute la différence!


The thing that worked for me (not to install this horrendous linux-azure package) was: https://superuser.com/questions/1241327/hyper-v-white-black-window

Note: My VM is Ubuntu 20.04 in V1 but I think it is also valid for V2 and Below answer from the above link:

It's a known problem between GRUB and Hyper-V during the installation. You can solve the problem with few steps.

Requirement

SSH Server on VM You need to check SSH Server at the installation to access to your VM without Hyper-V viewer.

Solve black screen issue

Before any modification, be sure that you saved the files with : cp .old

Connect to your VM through SSH (e.g. using PuTTY or WinSCP) and edit the grub file :

sudo vim /etc/default/grub

Delete "quiet splach" attribute in lines :

GRUB_CMDLINE_LINUX_DEFAULT="" GRUB_CMDLINE_LINUX="" Uncomment the line :

GRUB_TERMINAL=console Save the file before exit.

You also need to update grub to apply the new configuration :

sudo update-grub

Reboot your VM with the following command :

sudo reboot