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
19 views

Ubuntu 20.04.06 autoinstall freeze while using packer variables like {{ .HTTPIP }}, {{ .HTTPPort }}

Trying to install ubuntu 20.04.06 with packer in hyper-v 2nd generation vm. When trying use boot_command like this: boot_command = [ "<esc><esc><esc><wait>&...
robotiaga's user avatar
  • 101
0 votes
0 answers
30 views

Keyboard keys mapped wrongly when connected to Hyper-V Ubuntu 22.04.2 via RDP

I have a Ubuntu 22.04.2 created on Hyper-V. When I connect to this VM from any other Windows machine on the network via mstsc (Windows RDP client), I find that some of the keys are mapped wrongly. E.g:...
Prabhat K's user avatar
0 votes
0 answers
45 views

Why Can't I Create a VirtualBox VM Using Vagrant?

I recently bought a book called: DevOps for the Desparate and cannot get past chapter 1 exercises to create a VM in Oracle Virtual Box. In the initial set-up phase for chapter 1, I am creating: A ...
Tikhon's user avatar
  • 111
1 vote
0 answers
51 views

New To Ubuntu - Hyper-V - Running out of Space?

I am new to Ubuntu and since I was just laid off from my job of 17 years, I've decided to try to learn some new skills and bought the book, DevOps for the Desparate by Bradley Smith from No Starch ...
Tikhon's user avatar
  • 111
0 votes
1 answer
75 views

xrdp session doesn't start window manager

I'm running 22.04.2LTS in a Hyper-V VM on my Windows 10 Desktop. Since upgrading from 20.04, I can' t run in Enhanced mode, which uses xrdp. Basic mode runs fine, the desktop starts up and ...
Conradus's user avatar
0 votes
0 answers
69 views

Ubuntu 22.04 LTS under Hyper-V brings me to an XRDP login window that then proceeds to a blank screen

novice user here I am using Hyper-V in Windows and installed the Ubuntu image with no problems through the system. However, upon bootup, I am faced with an XRDP login window with some Xorg option ...
espresso fan's user avatar
0 votes
0 answers
183 views

Getting Ubuntu 23.04 to run XRDP on Hyper-V (Windows 11)

I'd like to be able to run my 23.04 hyper-v image on full-screen. I've tried a few options: I've installed xrdp, xfce4 and xorgxrdp I've used various setup scripts that have made changes to ~/....
Bill's user avatar
  • 1
0 votes
0 answers
27 views

VHDX Drive keeps unmounting itself

We have an Ubuntu VM setup on HyperV. There is an additional drive setup for a specific purpose. Every so often, or perhaps only or mainly when the VM is restarted, the drive unmounts itself. Is there ...
Craig Summers's user avatar
0 votes
0 answers
34 views

Ubuntu stuck on Hyper-V

stuck ubuntu Here, ubuntu is getting stuck with mouse not moving and nothing else is loading. look at the image for better understanding. I've installed latest version of Ubuntu LTS 22.04 using an iso ...
Shyam Jaiswal's user avatar
3 votes
3 answers
3k views

Ubuntu VM on Hyper V freezes after launch

I have an Ubuntu(22.04) VM on Hyper V(WIN 10 Pro host). The VM ideally should have 2 network adapters, one connected to internal network, and one is connected to the default switch. I never had issues ...
Lonermoan's user avatar
1 vote
0 answers
50 views

Extensive problems with Hyper-V Quick Create 22.04 image. Can I report bugs? Should I use something else?

The 22.04 image installed via Hyper-V Quick Create seems to be riddled with problems. Should I be using another approach to run Ubuntu in Windows? WSL2 is not suitable for my needs (and is similarly ...
Dewi's user avatar
  • 11
0 votes
1 answer
25 views

How to make "*.sh" executable on Hyper-V shared drivers

When enabling the Enhanced Session Mode in Hyper-V and shared a "D:\" drivers to the Ubuntu guest VM, all "*.sh" files inside the shared "D:\" drivers will only have &...
stackbiz's user avatar
  • 235
0 votes
1 answer
52 views

Problems with re-sizing a partition in 20.04

I'm running an Ubuntu 20.04 LTS VM in Hyper-V. I recently resized a VHDX disk from 15GB to 100GB. Then I tried to use parted and resizepart 1 100%. After that nothing had really change. df -h: ...
luka1sv's user avatar
0 votes
0 answers
52 views

Share internet connection from Ubuntu VM running on Windows Hyper-v to another Ubuntu VM running on a different hyper-v server

I'd like to know how to share internet connection from an Ubuntu 22.04 VM (server) running inside Hyper-v Windows 10 machine to another Ubuntu VM 22.04 (client) running in hyper-v a different windows ...
gmarco's user avatar
  • 101
0 votes
0 answers
379 views

Windows Server 2022 HyperV / Ubuntu 20.04 and 22.04 / Processor compatibility mode/ "can't allocate initrd"

When running Ubuntu 20.04 or 22.04 on Windows Server 2022 HyperV with Processor compatibility mode^1 enabled the Gen v2 VM won't boot and stops with "can't allocate initrd"^2 error. Even the ...
Michael Kriese's user avatar
0 votes
0 answers
141 views

'A start job is running for wait for network to be configured' - Ubuntu running in Hyper-V VM

So I have Ubuntu running in a Hyper-V VM, i have a network adapter assigned to the VM. In the VM it shows 'A start job is running for wait for network to be configured' during its boot when i run ...
scuppasteve's user avatar
0 votes
1 answer
197 views

Running Ubuntu in VM -- No Sound after upgrading to 22.10

I just updgraded from 22.04 to 22.10. I'm running Ubuntu in a Hyper-V VM. I had pulse audio configured and working and sound was working well using xrdp-sink as an output device prior to the upgrade. ...
WalksAllRoads's user avatar
0 votes
0 answers
159 views

Ubuntu Server 22.04.1 display resolution too high installing on Hyper-V

Ubuntu Server install resolution on 20.04.1 versus 22.04.1: I've been using Ubuntu Server as a guest VM on a Windows Server 2012R2 host for some time. Currently it's still running 16.04.7 and I want ...
Billy Buerger's user avatar
0 votes
1 answer
871 views

No hyper-v daemons available in 22.04?

I have been looking for quite some time for a way to download the Hyper-v Daemons in Ubuntu 22.04 server as it seems my install did not come with any. The last thing I found was a microsoft guide on ...
dagrontale's user avatar
0 votes
0 answers
130 views

xRDP login dialog really small

My laptop that I'm using has a 3840x2160 13" screen. I'm using a Ubuntu 22.04 image on Hyper-V that I got from Microsoft. When I connect to it everything works fine except for one thing the login ...
Martin Brown's user avatar
0 votes
0 answers
277 views

Bridged network not forwarding ICMP packets after a small amount of time in Hyper-V Ubuntu 22.04 VM

I created an Ubuntu 22.04 VM using Hyper-V with the goal of creating a bridged network to act as an unmanaged switch. I'm able to successfully achieve this but after around 5 minutes of inactivity, ...
brandon's user avatar
1 vote
2 answers
215 views

Cannot open a zip file with Archive Manager

I have been FTPing a database dump from my ISP using Filezilla on an Ubuntu 20.4 VM, running under Windows Hyper-V. I then open the file using Archive Manager and extract it to a folder, ready for ...
George's user avatar
  • 11
0 votes
0 answers
384 views

Ubuntu 22.04 via Hyper-V not booting up, dependency failure relating to SSSD responder socket

Hyper-V screen showing the error message I need access to a Linux machine but Hyper-V fails to complete setting it up. I manage to do the initial configuring (name the PC, set login info, set date, ...
coldlyfreezing's user avatar
1 vote
0 answers
1k views

Hyper-V Ubuntu Guest VM has no audio output despite claims to the opposite in official Microsoft Docs

According to the Microsoft Docs, sharing an audio device from a Ubuntu Guest to a Windows host using XRDP is relatively trivial and in fact enabled by default. I have set up a Ubuntu 22.04 VM using ...
user32882's user avatar
  • 191
6 votes
0 answers
2k views

How to use enhanced session of Hyper-V on Ubuntu 22.04 desktop?

I use a enchanced session of Hyper-V(RDP over VSock) by xrdp on Ubuntu 22.04.1 Desktop. But Some desktop components are not working on enhanced session. I guess the compoentns require wayland not X11. ...
hiroaki mizuguchi's user avatar
1 vote
0 answers
353 views

Cannot locate config in PulseAudio set up, Sound not working in Ubuntu 22.04 VM in Hyper V

Trying to get sound on Ubuntu 22.04 VM in Hyper V. Following this guide: https://techbloggingfool.com/2020/12/26/deploy-a-linux-vm-on-hyper-v-with-sound-20-04-edition/ have been able to navigate all ...
vrsce's user avatar
  • 11
0 votes
1 answer
1k views

How to define multiple interfaces which are in the same subnet

In my setup I have a Zabbix Server on a Hyper-V Ubuntu Server 22.04 LTS VM which is running on Server A. The Ubuntu Server has two virtual interfaces of which each is associated to one physical ...
eDonkey's user avatar
  • 103
0 votes
1 answer
1k views

Just upgraded Hyper-V machine to Ubuntu 22.04.1 LTS server edition. Now keyboard is behaving oddly

Hi I have just upgraded my Ubuntu VM to Ubuntu 22.04.1 LTS, running in Hyper-V on Windows server 2019. If I log into a session on the Ubuntu VM everything works as it should. However if I leave the VM ...
wookie_73's user avatar
0 votes
1 answer
250 views

Hyper-V with Ubuntu 20.04 Guest No Virtualization

On windows server 2012 install Hyper-V with VT-x in de bios enabled. The guest is Ubuntu 20.04 lscpu give: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit ...
ronald's user avatar
  • 29
0 votes
1 answer
2k views

Trying to install Ubuntu 22.04.1 as a VM, and there's an issue right at the end

When I am going through the Ubuntu installer on my VM, I am able to reach the part where I create an account and then it begins installing everything. After several minutes, the installation gets an &...
CoffeeFields101's user avatar
0 votes
0 answers
93 views

Failed to upgrade Linux kernel to 4.0.15-194 on ubuntu 18.04 running on Hyper-v

I have a windows machine running with Hyper-V running Ubuntu 18.04 32Bit. The Linux kernel version is : 4.15.0.91-generic. When trying to upgrade to the recent kernel. 4.15.0-194 it ends but fails to ...
Kfir Yehezkel's user avatar
0 votes
0 answers
52 views

Ubuntu 18.04 VM unable to install on Gen 2 Hyper-V (Win 11 Host)

has anybody managed to install Ubuntu 18.04 VM on Gen 2 Hyper-V? I received this error message 1 after Ubuntu logo showed up 1. I am able to install Ubuntu 18.04 on Gen 1 Hyper-V and Ubuntu 20.04 on ...
Buttosaii's user avatar
1 vote
4 answers
3k views

Setting up the $DISPLAY environment variable on WSL2 to use Qt software

I am working on WSL2 (Ubuntu 20.04) and I have trouble setting up the $DISPLAY environment variable. More specificallly, I have a network configuration that allows me to ping devices connected to eth0,...
rss.clement's user avatar
0 votes
2 answers
2k views

Installing Ubuntu Server 22.04 in Hyper-V: Network Connection; Continue without network

I have installed Ubuntu Server 22.04 from bootable USB directly onto Hyper-V Server 2019 which lays on an old computer of mine. Problem: when installing, I come to Network configs and only option ...
Plethora3853's user avatar
0 votes
1 answer
723 views

Ubuntu 20.04 as Hyper-V guest xrdp

How to optain IP for my ubuntu vm in the hyper-v console? Because I have an unsolved issue to connect to linux hyper-v guest via xrdp I tried to reproduce the issue. So I installed an ubuntu 20.04 VM. ...
Hölderlin's user avatar
0 votes
1 answer
7k views

Enchanced Session in Hyper-V greyed out after restart

I'm using Ubuntu 20.04 on Hyper-v 21H2 Windows Version I've followed instructions from below link : http://c-nergy.be/blog/?p=14888 and xrdp session has started (but I was only black screen) so I had ...
h00jraq's user avatar
2 votes
2 answers
2k 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 ...
Larnu's user avatar
  • 215
1 vote
8 answers
14k 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: ...
Timothy C. Quinn's user avatar
2 votes
0 answers
756 views

Ubuntu 22.04 on Hyper-V: missing RAM

Update: Since it seems like I'm not the only one curious about this (got me another curious badge), we clarified the root cause: the Ubuntu VM inherits the reserved (GPU) memory from the Hyper-V host. ...
OttoEisen's user avatar
  • 766
0 votes
1 answer
4k 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 ...
Developus's user avatar
  • 163
1 vote
0 answers
3k 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 ...
Tony's user avatar
  • 111
0 votes
0 answers
1k 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 ...
Chan Kim's user avatar
  • 1,725
1 vote
0 answers
394 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 ...
Roberto_1986's user avatar
0 votes
1 answer
2k 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 ...
Joel Coehoorn's user avatar
0 votes
0 answers
422 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. ...
Vladimir Yanakiev's user avatar
3 votes
1 answer
3k 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 ...
arenay's user avatar
  • 33
0 votes
1 answer
191 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 ...
Peter Wone's user avatar
1 vote
0 answers
985 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 ...
genral Hummel's user avatar
0 votes
0 answers
1k 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 ...
JConstantine's user avatar
3 votes
3 answers
2k 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, ...
Jol's user avatar
  • 141

1
2 3 4 5