Comment 4 for bug 2016444

Revision history for this message
Kern Hardman (kernh4) wrote :

Hi All,

After digging around, and testing with Lunar Lobster (23.04 pre-release daily builds - including a couple of weeks prior to the release, and the released 23.04 version), I have a possible solution to this issue of the mouse and keyboard not working, and the desktop freezing just after logging in.

This issue is for the installation of Lunar Lobster on a Hyper-V VM. This has not been an issue I've had with installation on clean machines, or setting up dual-boot machines, or releases prior to the Lunar Lobster (i.e. 23 branch) of Ubuntu.

Today, I performed the following:
   > sudo apt-get update
   > sudo apt-get install linux-azure

   (PS... it takes a little while to install this, as there is an instruction that times out in the middle of the install of this package.)

After this is installed, I edited the /etc/default/grub file and removed the 'nomodeset' parameter on the 'linux_default' line, so it only has the "quite splash" parameters. Then I did the update-grub and rebooted.

The system now works as expected. In fact, when viewing the "System --> Display" page, the "Resolution" has an actual pull-down list and I can change the VMs resolution without having to use the 'display' parameter in the grub file.

I'm not sure what has changed in the installer, or subiquity, for the new current Ubuntu, however, it appears that when running in a VM on Hyper-V, tighter integration with Microsoft is needed and provided by the linux-azure package. So, maybe the solution at this point is a documentation update?

As a side note, in testing with 22.04 LTS (and the 23.20 release), and prior releases, the addition of this package didn't add/change any behavior.