Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [hyper-v]

Hyper-V is a proprietary hypervisor developed by Microsoft and designed to run on x86_64 processors.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

Ubuntu 22.04 not starting after upgrading from 21.10 on HyperV

I've upgraded my Kubuntu 21.10 VM today, to 22.04 LTS. The install went fine, and everythin was upgraded. After it reboot, however, I'm simply met with the following message: SMBus base address ...
user avatar
  • 185
0 votes
2 answers
51 views

XUbuntu 22.04 - Black Screen on Hyper-V

I tried installing XUbuntu 22.04 on Hyper-V and it installs fine but after installation and reboot, the screen goes black with a flashing screen. I was able to watch F1 output until it gets to: ...
user avatar
0 votes
0 answers
15 views

Network Issues: Ubuntu 20.04 VM on Hyper-V with VPN

I faced the systematic network issues on my Hyper-V Vm with Ubuntu 20.04: I've lost connection when I'd turned on Global Protect VPN on my host machine (Win 10). This is my netplan config: version: ...
user avatar
0 votes
0 answers
40 views

WSL2 with Ubuntu network connectivity is coming and going

I'm really searching the web for a long time to solve this issue, but nowhere found any working answer. I'm running WSL2 on Windows 11 (previously on Windows 10 with the same problem). I have a ...
user avatar
0 votes
1 answer
203 views

Ubuntu 20.04, Hyper-V problem with network connection with private switch type

I have created Ubuntu 20.04 VM on my Hyper-V. I added there 2 network switches: external for internet connection private for isolated network The problem is that this VM cannot connect with private ...
user avatar
  • 163
0 votes
0 answers
210 views

So many problems trying to get Hyper V working with Ubuntu on windows 10

I have created a hyper-v virtual machine and with Unbuntu running on it. Originally I went with Unbuntu ubuntu 20.04. But I could not resize it or set up a shared folder. I followed the instructions ...
user avatar
  • 1
0 votes
0 answers
144 views

Ubuntu Server 21.10 stops working the keyboard and mouse in Hyper-V

I completed the installation of Ubuntu Server 21.10 in my Hyper-V. I followed the instructions of this link, https://medium.com/@labappengineering/ubuntu-20-04-on-hyper-v-8888fe3ced64, to enable ...
user avatar
0 votes
0 answers
166 views

Timed out waiting for device /sys/devices/virtual/misc/vmbus!hv_kvp (20.04, Hyper-V related?)

I have an ubuntu-20.4 machine. An hour ago I decided to reboot the computer because a simulator was hung and I knew I have to install ubuntu software update(to do it after reboot). So I gave a reboot ...
user avatar
  • 1,257
1 vote
0 answers
44 views

Is there a way to run WSL AND a vm?

I'm using WSL to run code on my windows machine and whilst it works, I'd really like to have a full ubuntu desktop environment so I can use command line tabs for example as well as unlocking all of ...
user avatar
0 votes
0 answers
187 views

Ubuntu VM in Hyper-V Gen2 will not boot consistently

I have a Hyper-V virtual environment (I know, I know) in Windows Server 2019. This environment handles mostly Windows guests, but has a handful of linux machines, including two gen2 guests running ...
user avatar
0 votes
0 answers
116 views

problems with Hyper-v ethernet external connection

I am using Hyper-v with ubuntu20.04. I want to set static IP. I created external virtual switch. I try few things to set address. Through ifconfig (ifconfig eth0 192.168.0.70/24), through netplan. ...
user avatar
0 votes
0 answers
41 views

Ubuntu server running on Hyper V - Is it possible to enable enhanced session?

I have Ubuntu server 20.04 running on a Hyper-V terminal on a Windows server 2019 machine. I would if possible like to enable enhanced session so I can cut and paste between windows. I cannot find a ...
user avatar
2 votes
1 answer
702 views

Migrating from VirtualBox to WSL

I've been using Ubuntu on VirtualBox for about a year now, but I recently learned about WSL, and it seems a lot more useful for my purposes. I've been trying to migrate all my data out of the ...
user avatar
  • 23
0 votes
0 answers
87 views

Hyper-V Automatic Stop Action

In Hyper-V, under Settings -> Automatic Stop Action, it states the following under "Shut down the guest operating system" : The integration service that controls shutting down the guest ...
user avatar
  • 41
0 votes
0 answers
154 views

Boot Failed: Receiving "Failed to start Remount Root and Kernel File Systems" error and no command line

I'm fairly new to troubleshooting linux. I'm running Ubuntu 20.04.1 in a HyperV virtual machine on top of Windows. It's been working great for about 6 months. Had a power outage and now I get the ...
user avatar
0 votes
0 answers
85 views

Login failed for the UBUNTU virtual machine

I have been using ubuntu for nearly two months, but today I received a failure as below. What do you recommend? Login failed for the UBUNTU virtual machine. Not in a hypervisor partition (HVP=0) (...
user avatar
0 votes
0 answers
33 views

Boot problems ubuntu VM via hyper -v on Windows 10

I have a Ubuntu VM that has started having issues booting fully. When I start the VM via hyper -v manager it asks me to 'please unlock disk sda5_crypt' which I do which this should take me to the user ...
user avatar
  • 101
0 votes
1 answer
73 views

Re-register name with DNS after modem reboot

I have Ubuntu in a VM on a home network connected to the internet by a modem/router that manages the network, providing DHCP and local DNS. When the Ubuntu VM is booted it becomes accessible by name ...
user avatar
1 vote
0 answers
204 views

ubuntu 20.04 desktop on Hyper-v virtual machine GUI freezes and network is down

i have ubuntu 20.04 virtual machine on Hyper-v failover cluster servers , suddenly the VM network is down and the GUI is not working and ssh service is down , rsyslog service is down but journalctl is ...
user avatar
0 votes
0 answers
571 views

How can I copy/paste from Hyper-V Windows 10 into Ubuntu 20.04 LTS Server bash?

I have Ubuntu Server installed on a Hyper-V virtual machine and would like to be able to copy/paste from my Windows 10 machine into the Ubuntu Server's command line. Is it possible? Any help is ...
user avatar
0 votes
0 answers
319 views

Cannot boot: "No init found. Try passing init=bootarg" error occurred after increasing the disk space of the VM in Hyper-V

I installed Ubunto 20.04 on Hyper-V, and It worked fine. Due to running low disk space assigned to VM, I expanded it. After doing that, when I try to start the VM, it gives the following error. "...
user avatar
  • 1
0 votes
0 answers
95 views

How to enable hyper-v kernel modules in ubuntu 18.04 for Azure

I'm prep'ing our on-premise Ubuntu VM to be shifted to Azure for which one requirement is that it requires hyper-v modules enabled in the kernel. I've been following the procedure in the following ...
user avatar
  • 1
0 votes
0 answers
358 views

Can't connect to my virtual Ubuntu Server via WebSocket on specified port from the host machine

I have an Ubuntu Server (Ubuntu 20.04.2 LTS) installed on Hyper-V with External interface, it has its own IP. I connect to it with Putty via SSH and it works. On that machine I installed my own ...
user avatar
  • 165
3 votes
3 answers
1k views

Ubuntu fails to start by default after upgrade 18.04 to 20.04

I tried to upgrade an Ubuntu 18.04 to 20.04 today. The system is a server type installation running as a virtual machine on Hyper-V, primarily running letsencrypt and nginx. Actually I tried twice, ...
user avatar
  • 141
0 votes
1 answer
108 views

Shrink Dynamically Expanding Hyper-V VHDX containing LVM Ubuntu Server

Initially I set up a dynamically expanding VHDX under Hyper-V that was about 6 TB and then installed Ubuntu Server 20.04 using LVM on it. I've since managed to shrink the installed Ubuntu Server down ...
user avatar
  • 41
0 votes
1 answer
189 views

Major bug with Ubuntu networkmanager

So I had a working well 3 working systems using Hyper machine and running 3 Ubuntu CLI servers. Then I did an update and something buggy happened on 2 of the 3 servers. I stopped when 2 of them went ...
user avatar
0 votes
2 answers
799 views

Installing Ubuntu 20.04.02 Live ISO on Windows 2019 Hyper-V

I have several Ubuntu servers running on my Windows 2019 Hyper-V however I lost the ISO image. I downloaded ubuntu-20.04.2-live-server-amd64.iso and when I create a new VM it bombs every time: What ...
user avatar
  • 3
3 votes
0 answers
3k views

Hyper-V - 'Use all my monitors' - Change display scale

Context I installed Ubuntu 21.04 in a Hyper-V VM on Windows 10. It appears to be working great! I then followed the awesome directions here: How to install Ubuntu 20.04 on Hyper-V with enhanced ...
user avatar
  • 2,443
0 votes
2 answers
527 views

Hyper-V update grub-efi-amd64 error: /var/lib/grub/esp

I have an Ubuntu 20.04.2 running as a Generation 2 (UEFI) VM on a Hyper-V. Today I wanted to do an apt upgrade with grub-efi-amd64 (2.04-1ubuntu26.9) previously grub-efi-amd64 (2.04-1ubuntu26.7) The ...
user avatar
0 votes
1 answer
189 views

Disable Internet connection for Ubuntu VM on Windows-10 Hyper-V

I just installed latest version 20.04 of Ubuntu on Hyper-V of my Windows-10. During setup process I probably chose some setting that enabled the internet access to the VM. Question: How can I now ...
user avatar
  • 101
0 votes
1 answer
445 views

Ubuntu 18.04.5 Kernel Update causes Xorg/X11 to crash in Hyper-V VM

first time poster here so I apologize if things are completely formatted etc. I am running on a Windows 10 host machine using a Hyper-V virtualization environment. When setting up the VM I use the ...
user avatar
1 vote
0 answers
203 views

Ubuntu 18.04 won't load on Hyper-V

I'm running a VM of Ubuntu 18.04. I was able to install with no issues. However now when I boot up the VM it will start the boot process and then hang. specifically after a message that reads ...
user avatar
0 votes
1 answer
76 views

kernel panic hyper v vmbus

I found this error on Ubuntu VM hosted with Hyper-V. Some help would be great. Please see the attached picture.
user avatar
0 votes
0 answers
2k views

Can't connect to Hyper-V Ubuntu 20.04 VM after system program problem detected

I'm only a casual Ubuntu user and I'm new to managing my own virtual machine, so I'm hoping I'm missing something obvious. I use Hyper-V on Windows 10 to run an Ubuntu 20.04 VM, which I only need in ...
user avatar
0 votes
1 answer
163 views

Ubuntu Window Size in Hyper-V

I am running Ubuntu 18.04 on a Windows 10 machine using Hyper-V Manager version 10.0.19041.1. The size of the Ubuntu window is always the same, it can't be maximized or re-sized. Is there a way to get ...
user avatar
  • 1
1 vote
0 answers
172 views

Mouse buttons 6 and 7 send two events per physical press in Ubuntu under Hyper-V

I have an Ubuntu 18.0.4.5 VM running under Hyper-V. I have a mouse with the normal two buttons, a scroll wheel, and two side buttons that map to buttons 6 and 7. All of the mouse functionality works ...
user avatar
  • 111
1 vote
1 answer
1k views

Using Automated Server Install with Hyper-V and ISO Image

I want to completely automate creating a VM in Windows Hyper-V, starting from the Ubuntu Server v20.04 Server ISO image. I can create a PowerShell script to define and start the VM, and when I open a ...
user avatar
  • 21
1 vote
1 answer
506 views

Hyper-V Enhanced session doesn't work when using

I'm trying to configure an Ubuntu VM in Hyper-V. It's pretty easy and fast for creating Ubuntu VMs but I can't manage to make enhanced session work with them. I've installed version 20.04LTS, also ...
user avatar
8 votes
4 answers
15k views

Ubuntu on Hyper-V sluggish/slow UI experience

Ubuntu 20.04 LTS installed with Hyper-V Manager. I have assigned it 4 processor cores and 12GBs of RAM. I have run through several forums and tutorials and I haven't found any solution that would ...
user avatar
  • 81
0 votes
1 answer
194 views

Get Hyper-V information from Ubuntu VM

I have an Ubuntu Server (20.04 LTS) running on a Hyper-V host. But I don't have any information from the Hyper-V host. The only thing that I know is that is effectively a hyper-v host, because my ...
user avatar
  • 49
0 votes
1 answer
2k views

DEPEND Dependency failed for Hyper-V KVP Protocol Daemon.ices-virtual-misc-vmbus\x21hv_kvp.device

I was trying to enable GPU for tensorflow and I ended up with reinstalling GPU drivers, but I messed up the system. The computer (Ubuntu 18.04) does not open now. When I reboot it says: [TIME] Timed ...
user avatar
  • 1
1 vote
1 answer
246 views

Where is my free space gone?

I am very new to Ubuntu. I just set up a Hyper V installation on my Windows laptop, and gave it a 30GB hard drive space. I got a notification that my root drive is almost full. According to the ...
user avatar
  • 113
1 vote
0 answers
772 views

Network configuration failing fresh Ubuntu Hyper V install

Trying to install 20.04 LTS under Hyper-V. Setup not secure boot, 2G ram 4G max 64G vdisk, New virtual switch, all that. It all works fine to this point, then /fail. Get to the install and it is ...
user avatar
10 votes
2 answers
22k views

How to setup xRDP for Ubuntu 20.04 in Windows Hyper-V?

I want to know how to setup xRDP for Ubuntu 20.04 in Windows Hyper-V? Tutorials for Ubuntu 18.04 doesn't seem to work. I am using the ISO that I downloaded. These are the tutorials I used. They all ...
user avatar
  • 2,281
1 vote
1 answer
1k views

How to get Ubuntu 20.04 to autoconnect to VPN upon starting VM

I am using Ubuntu 20.04 in Hyper-V. I have my Wired connection set to auto connect to my university VPN. It works no problem when I click connect. However, it is the fact I have to click connect that ...
user avatar
  • 143
4 votes
2 answers
2k views

How do I automatically unlock login keyring when logging into Ubuntu 20.04?

When I login to my Ubuntu 20.04 Hyper-V VM this pops up. How do I automatically login without having to type my password a second time. I see I can disable the keyring password but I'm just checking ...
user avatar
  • 143
0 votes
0 answers
283 views

Ubuntu 18.04.3 doesn't boot after expanding disk space in Hyper-V

I ran into a problem with my disk space after I increased my swap size. I had 30GB disk space allocated to Ubuntu and I increased my swap size to 8GB which depleted all remaining disk space. After ...
user avatar
0 votes
1 answer
393 views

Hyper-V host Ubuntu shared folder E514 write error on second write

Host: Windows 10 Guest: Hyper-V virtual machine: Ubuntu 18.0.4 Problem with shared folder: Can edit and write a new file only once. On second write: Virtual-Machine-Ubuntu-18-04-3-LTS:~$ vi ...
user avatar
1 vote
0 answers
131 views

No ip address allocated to my newly created ubuntu vm on Hyper-V

I just created a new Ubuntu vm using Window's Hyper-V Manager. Inside the Ubuntu VM if I do hostname -i I expected a different ip-address. However, currently the command returns me 127.0.1.1 which ...
user avatar
4 votes
1 answer
896 views

Ubuntu Server VM (Hyper-V): formatting of sda2 partition (mkfs.ext4 -G 4096 /dev/sda2) before install

I'm venturing into the fascinating world of Ubuntu and would like to install Ubuntu Server 20.04 LTS as a virtual machine in Hyper-V. Microsoft recommends that, when creating the file system on which ...
user avatar
  • 61