Ubuntu 18.04 console unreadable

  • 3 February 2021
  • 3 replies

I’m trying to move a VM (Ubuntu 18.04), when the cutover is done and i make a console connection the VM, at first the screen is blank, but after a few enters, i start getting the following signs on the console:

Anyone has any ideas how to avoid this? I’ve tried installing NGT prior to moving the VM - no luck. On the initial GNU GRUB screen where I choose which OS to boot, everything is fine.


Best answer by msc_dk 11 February 2021, 09:43

View original

This topic has been closed for comments

3 replies

Current available versions of AHV don’t support Gen 2 VMs directly. Therefore, during the cutover process, the following command is run on a migrated VM on the target cluster.

For Ubuntu VM – Before Migration

Run the following commands on the source Ubuntu 14 and 16 Generation 2 VMs before migration.

  1. sudo bash
  2. cd /boot/efi/EFI
  3. cp -r ubuntu/ boot
  4. cd boot
  5. mv shimx64.efi bootx64.efi

I hope it would be helpful to change the legacy mode VM to UEFI mode.

Thanks for the response. This is ubuntu 18, but I tried anyway - no luck, same issue :(

To follow up, this was solved by executing the following commands (I managed to configure network without looking, so I could SSH to the VM).

sudo rm /var/lib/apt/lists/lock
$ sudo rm /var/lib/dpkg/lock
$ sudo rm /var/lib/dpkg/lock-frontend
$ sudo dpkg --configure -a
$ sudo apt clean
$ sudo apt update --fix-missing
$ sudo apt install -f
$ sudo dpkg --configure -a
$ sudo apt upgrade
$ sudo apt dist-upgrade
$ sudo reboot