Skip to main content

Posts

Showing posts with the label Hyper-V

Installing QNX 6.5 on Hyper-V 2022

Installing QNX 6.5 on Hyper-V 2022 Create a VM in Hyper-V Remove all NICs and add a legacy network adapater Power up and install QNX 6.5 This assumes that the ISO was already mounted. It is important that DMA is abled by pressing d and then press ENTER key. After few seconds it should show something like below. Press F3 to install QNX into the HDD. Hereafter, default ( F1 ) selection should be OK. Once installation is complete, remove the ISO. Remember to disable DMA every time the VM is restarted.

Native boot into VHDX

Native boot into VHDX Why would you boot into VHDX instead of dual booting? Because it is easy(ier) vs adjusting partition post-Windows installation. And the partition layout may not be easy to adjust without using advanced partitioning tool. Also booting into native VHDX gives full access to the hardware without the penalty of virtualization. This allow you to run say other virtuaization on top of native boot! I prepare VHDX using Hyper-V and once it is ready to my liking I use the VHDX to boot into it. Below are the general steps: Copy a VHDX into the desired location. For example, copy C:\VMs\W21H1M2\Virtual Hard Disks\W21H1M2.vhdx to C:\VMs\NaviteBoot\NaviteBoot.vhdx Mount C:\VMs\NaviteBoot\NaviteBoot.vhdx using File Explorer Note of volume/drive letter for the mounted VHDX, e.g. V: Change directory to V:\Windows Run bcdboot V:\Windows . This should have added the VHDX into the boot options Optional, change the boot description. Get the GUID entry for the jus

Creating Ubuntu 19.04 using Quick Create mode in Hyper-V with Enhanced Session Mode

Hyper-V that is shipped with Windows 10 1903 is supposed to have Enhanced Session Mode support for Ubuntu 19.04 when the VM was created using Quick Create option. As of December 1, 2019 Enhanced Session Mode is not working, as a workaround, do the following steps. Assuming a Ubuntu 19.04 VM was created using "Quick Create" option, do: 1. From the host machine, run PowerShell as administrator PS c:\> Set-VM -VMName __Ubuntu_VM_Name_here__ -EnhancedSessionTransportType HvSocket Replace  __Ubuntu_VM_Name_here__ with the Hyper-V VM name. You have to ensure that the VM is not running at this point. 2. Power-up the VM, and then install linux-azure kernel, like: $: sudo apt install linux-azure 3. Shutdown the VM. This is very important, restarting the VM does not work. You can do, like: $: sudo shutdown -h now Once the VM is turned off, turn it back on. It should now have Enhanced Session Mode. For example, the screen dimension can be changed on connection, co

How to determine Hyper-V hostname inside the guest VM

On Hyper-V virtual machine with integration services installed the host machine can be identified by reading HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters\Hostname on the guest machine itself. Reference(s): http://social.technet.microsoft.com/wiki/contents/articles/219.hyper-v-how-to-find-the-host-of-a-vm.aspx

Hyper-V enhanced session mode supported guest OS

Enhanced session mode in Hyper-V allows redirection of local devices and resources from computers running virtual machine connection. This is very convenient functionality as it allows the same level of interaction as remote desktop connection. In fact, it seems like it is a modified version of RDP from the way it works. To use it you need to have host OS running Windows Server 2012 R2 or Windows 8.1 Enterprise or later. The guest OS has to be Windows Server 2012 R2 or Windows 8.1 Pro or later.

How to remotely manage Hyper-V on Windows 7

If you are running non-Windows OS or Windows OS without integration services installed in Hyper-V, then remotely managing those guest machines can be painful and in some cases not usable. Think non-Windows machine that you need to configure via GUI. GUI configuration of non-Windows machine over remote client connection (RDP) does not work - guest machine can't grab the mouse. To get around this limitation, you can install  Remote Server Administration Tools for Windows 7 and some other minor tweaks. Following are the steps: Of course you need to have a client OS, I will be using Windows 7 in this scenario but I hear that Windows Vista is also supported but not Windows XP and older versions.  Download and install Remote Server Administration Tools for Windows 7. This download link only works for Windows 7 with Sp1 (Enterprise, Ultimate, Prof). This is no small download, around 230MB for x86 as of this writing. And yes, the install also takes quite a while. Open Control Panel