Ubuntu 18.04 console unreadable | Nutanix Community
Skip to main content
Solved

Ubuntu 18.04 console unreadable

  • February 3, 2021
  • 3 replies
  • 760 views

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

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

 

View original
Did this topic help you find an answer to your question?
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.


  • Author
  • Voyager
  • 2 replies
  • February 3, 2021

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


  • Author
  • Voyager
  • 2 replies
  • Answer
  • February 11, 2021

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