Hyper-V – Create Linux Virtual Machine in Windows 8

How to Create a Linux Hyper-V Virtual Machine in Windows 8

information   Information
Although best when running Windows guests, Windows 8 built-in Microsoft Hyper-V can also be used to run Linux guests. Officially Hyper-V only supports SUSE and Red Hat enterprise server distributions but with a few simple tricks any Linux distro can be installed.

In this tutorial we will install both OpenSUSE 12.1 and Ubuntu 11.10 distros. Please notice that I have still not found how to get sound working on Hyper-V Linux guests. Also changing the resolution seems to be extremely tricky, following this tutorial you can set OpenSUSE display resolution freely during the installation procedure but it cannot be changed later on. For Ubuntu I have only managed 800 * 600 resolution.

Forgetting the missing sound and restricted resolution, Hyper-V Linux guests are fully functional operating systems, ideal for getting to know and practise Linux and virtualization.

Tips from other users regarding sound and resolution issues welcome!



For this tutorial you need:
1) Install OpenSUSE 12.1 guest on Hyper-V

1.1. Create a virtual private network switch

For a Linux guest to work on Hyper-V it needs to use so called Legacy Network Adapter, a private one while installing and an internal or external one when running. Before installing OpenSUSE we need to create a private network switch using Legacy Network Adapter.


  1. Open Hyper-V Virtual Switch Manager
    .
    OpenNIC_Manager.png
    .
  2. Click New virtual network switch
  3. Select Private
  4. Click Create Virtual Switch
    .
    Hyper-V_create_private_network_switch.png
    .
  5. Give your Virtual Switch a name, select Private Network, click OK to apply and save settings
    .
    Hyper-V_create_private_network_switch_2.png
    .
1.2. Create a virtual machine

  1. Click New on Actions pane on Hyper-V Manager, select Virtual Machine
    .
    Install_OpenSUSE_on_Hyper-V_001.png
    .
  2. New Virtual Machine Wizard opens. Click Next
    .
    Install_OpenSUSE_on_Hyper-V_002.png
    .
  3. Specify the name of the virtual machine and where it should be saved. Click Next
    .
    Install_OpenSUSE_on_Hyper-V_003.png
    .
  4. Assign RAM. Notice that the RAM assigned to a virtual machine is taken from the total of RAM on your host PC; to run virtual machine well you need to balance between the RAM of your host and virtual machine. For OpenSUSE I recommend using 1 GB (1024 MB); if less you can have issues with GUI, more does not add speed or benefit in other way. OpenSUSE runs well with 1 GB. Click Next
    .
    Install_OpenSUSE_on_Hyper-V_004.png
    .
  5. In Network Configuration at this point select Connection: Not Connected. We will add virtual switch later
    .
    Install_OpenSUSE_on_Hyper-V_005.png
    .
  6. Specify name, location and size of the virtual hard disk. For OpenSUSE 8 GB is enough to install and run, here I added some more for storage space. Click Next
    .
    Install_OpenSUSE_on_Hyper-V_006.png
    .
  7. Specify the location of install media, an ISO file or CD/DVD. Click Next
    .
    Install_OpenSUSE_on_Hyper-V_007.png
    .
  8. Click Finish
    .
1.3. Add Private Legacy Network Switch

  1. Open your vm settings
    .
    Open_SUSE_set_legacy_NIC_1.png
    .
  2. Remove Network Adapter. This needs to be done for Legacy Network Adapter to work
    .
    Open_SUSE_set_legacy_NIC_2.png
    .
  3. Click Add Hardware, select Legacy Network Adapter, click Add
    .
    Open_SUSE_set_legacy_NIC_3.png
    .
  4. Set Legacy Network Adapter to use the Private switch you created earlier
    .
    Open_SUSE_set_legacy_NIC_4.png
    .
  5. Click Apply, click OK
1.4. Install OpenSUSE

  1. Select your OpenSUSE vm on Virtual Machines list, click Connect
    .

    Install_OpenSUSE_on_Hyper-V_010.png
    .
  2. Click Start to start vm
    .
    Install_OpenSUSE_on_Hyper-V_011.png
    .
  3. Press F3 to select resolution. Notice that as I mentioned earlier I have still not found how to change resolution later so this selection now determines what resolution your OpenSUSE vm is going to use
    .
    Install_OpenSUSE_on_Hyper-V_013.png
    .
  4. Select Installation and press Enter
    .
    Install_OpenSUSE_on_Hyper-V_014.png
    .
  5. Select your preferred language and keyboard layout. OpenSUSE will be installed on the language you select here, using selected keyboard layout. Click Next
    .
    Install_OpenSUSE_on_Hyper-V_015.png
    .
  6. 6. Click Next
    .
    Install_OpenSUSE_on_Hyper-V_016.png
    .
  7. Select your Time Zone, click Next
    .
    Install_OpenSUSE_on_Hyper-V_017.png
    .
  8. Select KDE desktop, click Next. In my tests the Gnome desktop has refused to work
    .
    Install_OpenSUSE_on_Hyper-V_018.png
    .
  9. Click Next
    .
    Install_OpenSUSE_on_Hyper-V_019.png
    .
  10. Enter your user credentials, click Next
    .
    Install_OpenSUSE_on_Hyper-V_020.png
    .
  11. Click Install, confirm by clicking Install again
    .
    Install_OpenSUSE_on_Hyper-V_022.png
    .
  12. After Installation is done OpenSUSE reboots by itself. Select Boot from Hard Disk after reboot
    .
    Install_OpenSUSE_on_Hyper-V_023.png
    .
  13. Select Desktop – - OpenSUSE
    .
    Install_OpenSUSE_on_Hyper-V_023_2.PNG
    .
  14. OpenSUSE makes last configurations and boots to KDE desktop. Shut down vm as soon as you enter the desktop
    .
    Install_OpenSUSE_on_Hyper-V_025.png
    .
  15. Open OpenSUSE settings, set Legacy Network Adapter to use an external switch. See Hyper-V - How to Use in Windows 8 to see how to create an external switch
    .
    Install_OpenSUSE_on_Hyper-V_026.png
    .
  16. Start OpenSUSE vm, log in and you are ready to go
    .
    Install_OpenSUSE_on_Hyper-V_027.png
2. Install Ubuntu 11.10 guest on Hyper-V

For how to create a private virtual switch, create Ubuntu virtual machine and add Private Legacy Network Adapter and making Ubuntu installation to use it, follow the steps 1.1., 1.2. and 1.3. as described above (Install OpenSUSE on Hyper-V).

2.1. Install Ubuntu
  1. Connect and start vm as described above (Install OpenSUSE) on 1.4.1 and 1.4.2
  2. For Ubuntu (and all Debian family distros) to work on Hyper-V we need to disable Advanced Configuration and Power Interface (ACPI). When ACPI is enabled, Ubuntu does not support Legacy Network Driver needed to install and run it on Hyper-V. Press F6 to select installation options, select acpi=off, press Spacebar to select it, press ESC to exit Options menu
    .
    Install_Ubuntu_on_Hyper-V_001.png
    .
  3. Select Install Ubuntu, press Enter
  4. Select the installation language
    .
    Install_Ubuntu_on_Hyper-V_002.png
    .
  5. Select Install this third party software to add MPEG support, click Continue
    .
    Install_Ubuntu_on_Hyper-V_003.png
    .
  6. Select Erase and Install, click Continue
    .
    Install_Ubuntu_on_Hyper-V_004.png
    .
  7. Click Install Now
    .
    Install_Ubuntu_on_Hyper-V_005.png
    .
  8. Select your Time Zone, click Continue
    .
    Install_Ubuntu_on_Hyper-V_006.png
    .
  9. 8. Select your preferred keyboard layout, click Continue
    .
    Install_Ubuntu_on_Hyper-V_007.png
    .
  10. Set your user credentials
    .
    Install_Ubuntu_on_Hyper-V_008.png
    .
  11. Let Ubuntu install
    .
    Install_Ubuntu_on_Hyper-V_009.png
    .
  12. When installation is completed click Restart Now
    .
    Install_Ubuntu_on_Hyper-V_010.png
    .
  13. When Ubuntu reboots and stops telling Please remove installation media, click Stop to stop and close vm. This ejects the installation media
    .
    Install_Ubuntu_on_Hyper-V_011.png
    .
  14. Restart vm, log in
    .
    Install_Ubuntu_on_Hyper-V_012.png
    .
  15. Click an empty spot on desktop, press CTRL+ALT+t to open Terminal (about the same as Command Prompt in Windows). To move to Root (about the same as in Windows an elevated Command Prompt), type sudo –i and press Enter. Enter your password to confirm, press Enter again
    .
    Install_Ubuntu_on_Hyper-V_014.png
    .
  16. Now we need to edit Initramfs to add modules which offer support for Hyper-V integration components. We need to manually add modules for bus (= traffic between host and guest), storage and network. To do this, open Initramfs using your preferred editor. I use Nano in this example:
  17. Type nano /etc/initramfs-tools/modules and hit Enter to open Initramfs in Nano editor
    .
    Install_Ubuntu_on_Hyper-V_015.png
    .
  18. Add these four lines at the end of the file
    hv_vmbus
    hv_storvsc
    hv_blkvsc
    hv_netvsc
    .
    Install_Ubuntu_on_Hyper-V_016.png
    .
  19. Press CTRL+X to end editing, press Y to save changes. Press Enter to finally accept old Initramfs to be overwritten
    .
    Install_Ubuntu_on_Hyper-V_017.png
    .
  20. Update Initramfs: type update-initramfs –u, press Enter
    .
    Install_Ubuntu_on_Hyper-V_018.png
    .
  21. Type exit and press Enter to exit root (admin mode), type exit and press Enter to close Terminal
    .
    Install_Ubuntu_on_Hyper-V_020.png
    .
  22. Shut down vm
  23. See step 1.4.15. (Install OpenSUSE) above to switch Legacy Network Adapter to External Switch
  24. Start vm, login and you are ready to go
    .
    Install_Ubuntu_on_Hyper-V_012.png
    .
    Install_Ubuntu_on_Hyper-V_013.png

Please feel free to comment and suggest changes!

Kari


 

Attachments

  • Hyper-V_external_network_switch.PNG
    Hyper-V_external_network_switch.PNG
    38.9 KB · Views: 375
  • Install_OpenSUSE_on_Hyper-V_008.png
    Install_OpenSUSE_on_Hyper-V_008.png
    20.2 KB · Views: 378
  • Install_OpenSUSE_on_Hyper-V_009.png
    Install_OpenSUSE_on_Hyper-V_009.png
    20.4 KB · Views: 350
  • Install_OpenSUSE_on_Hyper-V_024.png
    Install_OpenSUSE_on_Hyper-V_024.png
    181.8 KB · Views: 334
  • Install_OpenSUSE_on_Hyper-V_bootGUI_not_shown.png
    Install_OpenSUSE_on_Hyper-V_bootGUI_not_shown.png
    16.8 KB · Views: 350
  • Hyper-V.png
    Hyper-V.png
    15.9 KB · Views: 341
Last edited by a moderator:
...... Please notice that I have still not found how to get sound working on Hyper-V Linux guests. Also changing the resolution seems to be extremely tricky, following this tutorial you can set OpenSUSE display resolution freely during the installation procedure but it cannot be changed later on. For Ubuntu I have only managed 800 * 600 resolution.

Kari

Hyper-V don't support sound in any client OS, it's also limited in resolution, if you want to have sound , you have to use Remote Desktop , same with the Resolution, Keep in mind that Hyper-V is design to run Servers OS on a Server Host, and we usally use remote application to manage the servers as they are usally not connected to input device or monitors
 

My Computer

System One

  • OS
    Windows 8 enterprise x64
    System Manufacturer/Model
    Pc-Quebec / Area 66
    CPU
    i7-3960X Extreme Edition
    Motherboard
    Rampage IV Extreme
    Memory
    Gskill 4x4 GB
    Graphics Card(s)
    4 x HD 7970
    Sound Card
    onboard
    Screen Resolution
    2560*1600
    Hard Drives
    C:\Intel series 520 SSD , 250 GB
    D:\ WD 750 black with Intel 40gb SSD cache Intel RST
    E:\ WD 2TB Black
    PSU
    Corsair AX 1200
    Case
    TT Mozart TX
    Cooling
    Water Cooled
    Keyboard
    Logitech G-15
    Other Info
    Windows 8 VM is install on his own SSD.
Excellent tutorial Kari :thumb:, I am currently running Kubuntu 11.10 in Hyper V and hope microsoft adds more integration features like Virtual PC. I am going to try same guest in VMware next. :geek:

KUB.jpg
 
Last edited:

My Computer

System One

  • OS
    Windows 10 Pro x 2
    Computer type
    PC/Desktop
    System Manufacturer/Model
    My own abomination, I call it the Money Pit
    CPU
    Intel i7 2600K @ 3.40 GHz
    Motherboard
    ASUS Sabertooth P67
    Memory
    Corsair Vengeance 16GB DDR3 1600MHz CL8 Dual Channel Kit
    Graphics Card(s)
    EVGA GeForce RTX 3080 XC3 ULTRA GAMING 10GB GDDR6X
    Sound Card
    Onboard Realtek or Nvidia High Definition Audio (HDMI)
    Monitor(s) Displays
    Samsung JS7000 50" SUHD TV or Samsung 27" FHD 60Hz 8ms GTG VA LED Smart Monitor
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 x Samsung 870 EVO 250 GB SSD (Windows 10 Pro), 1 x Samsung 850 EVO 250 GB SSD (Windows 10 Pro)
    PSU
    Corsair AX860 - 860W Modular Power Supply
    Case
    Phanteks Enthoo Luxe Full Tower Case - Black
    Cooling
    CORSAIR Hydro Series H150i PRO RGB 360mm Liquid CPU Cooler
    Keyboard
    Logitech K830 Illuminated Living-Room Keyboard
    Mouse
    Logitech MX Anywhere 2S Wireless Mouse
    Internet Speed
    10/100/1000 Mbps capable
    Browser
    (Primary) Latest Firefox version & Microsoft Edge
    Antivirus
    ESET Internet Security
    Other Info
    LG Super Multi Blue Internal Blu-ray Disk Rewriter - BH10LS30
    6x2 HDMI Switcher (6 inputs, 2 outputs) so I can send the output of my Cable Box, Roku, or any my 4 computers to either my TV or Monitor separately or simultaneously.
Thanks for the great tutorial
Can't get Sound however on W7 - X64 or Suse 12.2 (64 bit) Guests even using RDP. I've checked all the settings - running HOST W8 CP x-64

I'll try RDP'ing from another Machine on a different LAN to see if there's any joy there either.

Thanks again


cheers
jimbo
 

My Computer

System One

  • OS
    Linux Centos 7, W8.1, W7, W2K3 Server W10
    Computer type
    PC/Desktop
    Monitor(s) Displays
    1 X LG 40 inch TV
    Hard Drives
    SSD's * 3 (Samsung 840 series) 250 GB
    2 X 3 TB sata
    5 X 1 TB sata
    Internet Speed
    0.12 GB/s (120Mb/s)
Thanks Jimbo.

Same here, sound OK on Windows guests over RDP, no sound on Linux guests. Still searching.

Kari
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    HP ENVY 17-1150eg
    CPU
    1.6 GHz Intel Core i7-720QM Processor
    Memory
    6 GB
    Graphics Card(s)
    ATI Mobility Radeon HD 5850 Graphics
    Sound Card
    Beats sound system with integrated subwoofer
    Monitor(s) Displays
    17" laptop display, 22" LED and 32" Full HD TV through HDMI
    Screen Resolution
    1600*900 (1), 1920*1080 (2&3)
    Hard Drives
    Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
    External: 2TB for backups, 3TB USB3 network drive for media
    Cooling
    As Envy runs a bit warm, I have it on a Cooler Master pad
    Keyboard
    Logitech diNovo Media Desktop Laser (bluetooth)
    Mouse
    Logitech MX1000 Laser (Bluetooth)
    Internet Speed
    50 MB VDSL
    Browser
    Maxthon 3.5.2., IE11
    Antivirus
    Windows Defender 4.3.9431.0
    Other Info
    Windows in English, additional user accounts in Finnish, German and Swedish.
This is great, thank you.
I'm having a problem installing Ubuntu once I've turned off ACPI however, once this is done the Ubuntu installer sees the hard drive (VHD) as being too small. I set the virtual machine up to have a 10GB VHD so it expands dynamically right? If ACPI is left on, the installer works fine and detects the VHD as being 10GB. However if I turn off ACPI as instructed, once I get to the "Preparing to install Ubuntu" (Section 2.2.5 above) it has a cross for the HDD space and won't let me proceed with the installation. What is a solution to this? If I were to "force install" Ubuntu would the VHD automatically increase in size with ACPI turned off? If so, how does one "force install"? Or is there a better way to keep the VHD size once ACPI is turned off?
Thanks in advance
 

My Computer

System One

  • OS
    Windows 8.1
Hi Christaffer, welcome to the Eight Forums.

As this tutorial was written almost year and a half ago, over half a year before Windows 8 was published, and as both the Hyper-V and Ubuntu have evolved since that, I must tell you I am not sure if the installation still requires ACPI being turned off. I use only SUSE distribution for my Linux needs and have not installed or used Ubuntu in Hyper-V since publishing this tutorial.

I will do a test Ubuntu installation as soon as I have time for it to make necessary updates to this tutorial, please check back in a few days.

In the mean time, let's make sure you have understood the concept of a dynamically expanding VHD correctly: the amount of storage space specified for a dynamically expanding VHD is the maximum file size allowed for it. For instance, if you specify the VHD to be 10 GB as you told, it means that if your Ubuntu installation needs let's say 6 GB you only have 4 GB left for your installed software and personal files, the vhd being unable to expand (grow) beyond the 10 GB limit you specified.

In other words, the amount of storage space given to a dynamically expanding VHD is the maximun size it can expand to, not the "starting" size. In your case as you described it, your VHD could never grow to be bigger than 10 GB.

Kari
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    HP ENVY 17-1150eg
    CPU
    1.6 GHz Intel Core i7-720QM Processor
    Memory
    6 GB
    Graphics Card(s)
    ATI Mobility Radeon HD 5850 Graphics
    Sound Card
    Beats sound system with integrated subwoofer
    Monitor(s) Displays
    17" laptop display, 22" LED and 32" Full HD TV through HDMI
    Screen Resolution
    1600*900 (1), 1920*1080 (2&3)
    Hard Drives
    Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
    External: 2TB for backups, 3TB USB3 network drive for media
    Cooling
    As Envy runs a bit warm, I have it on a Cooler Master pad
    Keyboard
    Logitech diNovo Media Desktop Laser (bluetooth)
    Mouse
    Logitech MX1000 Laser (Bluetooth)
    Internet Speed
    50 MB VDSL
    Browser
    Maxthon 3.5.2., IE11
    Antivirus
    Windows Defender 4.3.9431.0
    Other Info
    Windows in English, additional user accounts in Finnish, German and Swedish.
@Kari
Why do we have to use a network switch ? Cant we just install from an iso image or a dvd. Why is the network switch required ? In software's like VirtualBox we can just install from an image, is the Virtual network switch required for the installation the guest OS or do you just do it we can get Internet access from within the guest OS ?
 

My Computer

System One

  • OS
    Windows 8.1
    CPU
    Intel i7
What do I need to do to get this to work under 8.1 ?

I used this thread to install a SUSE (12.1) VM on Windows 8.0. Worked like a dream (after a bit of futzing around with network config). But I then "upgraded" to Windows 8.1 and my VM ceased to work. reinstalling gives the same problem. It installs OK but when it starts it falls over at...

Capture.PNG

Pressing Y just produces this...
Capture2.PNG

Any ideas ?

The UBUNTU install (with 12.04.3) works ok. But it looks a lot more cumbersome than SUSE and I can't get networking going so I'd really like to get back to SUSE.

BTW 8.1 also screwed up my Hamachi/Logmein setup and pissed on my Cygwin. Not impressed.
 

My Computer

System One

  • OS
    Windows 8.1
Still no luck with 8.1. So I ditched Hyper-V in favour of VMwarePlayer. Simpler and much more intuitive. I got a networked SUSE box up and running without any need consult diocumentation or go to Google for hints and gotchas. Mystery to me why anybody would use Hyper-V for this. Once again Microsoft shoots itself in the foot.
 

My Computer

System One

  • OS
    Windows 8.1
Still no luck with 8.1. So I ditched Hyper-V in favour of VMwarePlayer. Simpler and much more intuitive. I got a networked SUSE box up and running without any need consult diocumentation or go to Google for hints and gotchas. Mystery to me why anybody would use Hyper-V for this. Once again Microsoft shoots itself in the foot.

Well Hyper-V is specifically designed for corporate use, while VMWare Player is more of a personal use. No wonder it's not as intuitive and simple as VMP, because it was designed for different market.
 

My Computer

System One

  • OS
    Windows 10 Pro x64
    Computer type
    Laptop
    System Manufacturer/Model
    Lenovo Y520
    CPU
    Intel Core i5 7300HQ
    Motherboard
    OEM Lenovo
    Memory
    4GB DDR4-2400
    Graphics Card(s)
    NVIDIA GeForce GTX 1050
    Sound Card
    Realtek HD
    Monitor(s) Displays
    1 (2)
    Screen Resolution
    1920x1080
    Hard Drives
    Seagate 1TB 5400 RPM
    Keyboard
    OEM Lenovo
    Mouse
    Logitech G502 Proteus Core
    Internet Speed
    100 Mbps
    Browser
    Google Chrome
    Other Info
    PC:

    AMD Athlon X4 760K
    8GB DDR3-1866
    AMD Radeon RX 460
    Seagate 500 GB 7200 RPM
Well Hyper-V is specifically designed for corporate use, while VMWare Player is more of a personal use. No wonder it's not as intuitive and simple as VMP, because it was designed for different market.

Yes Mr. Showdown. That's why my original preference was for Hyper-V. But as it can't survive an upgrade of the OS by a minor release I'll use the "personal" solution that does work. Anybodyactually got an answer as to why this thread's method for setting up a SUSE VM doesn't work for 8.1 ?
 

My Computer

System One

  • OS
    Windows 8.1
Well Hyper-V is specifically designed for corporate use, while VMWare Player is more of a personal use. No wonder it's not as intuitive and simple as VMP, because it was designed for different market.

Yes Mr. Showdown. That's why my original preference was for Hyper-V. But as it can't survive an upgrade of the OS by a minor release I'll use the "personal" solution that does work. Anybodyactually got an answer as to why this thread's method for setting up a SUSE VM doesn't work for 8.1 ?

Oh so the VM no longer works after 8.1 upgrade?
Might be a bug/patch from the 8.1 itself.
 

My Computer

System One

  • OS
    Windows 10 Pro x64
    Computer type
    Laptop
    System Manufacturer/Model
    Lenovo Y520
    CPU
    Intel Core i5 7300HQ
    Motherboard
    OEM Lenovo
    Memory
    4GB DDR4-2400
    Graphics Card(s)
    NVIDIA GeForce GTX 1050
    Sound Card
    Realtek HD
    Monitor(s) Displays
    1 (2)
    Screen Resolution
    1920x1080
    Hard Drives
    Seagate 1TB 5400 RPM
    Keyboard
    OEM Lenovo
    Mouse
    Logitech G502 Proteus Core
    Internet Speed
    100 Mbps
    Browser
    Google Chrome
    Other Info
    PC:

    AMD Athlon X4 760K
    8GB DDR3-1866
    AMD Radeon RX 460
    Seagate 500 GB 7200 RPM
Hi there

Tried again with HYPER-V and OPENSUSE 13.1 -- No joy - the Network fiddling around for me just wasn't worth the candle -- especially VMware works straight out of the box just fine and for a home user the VMware product is more than adequate - especially since I have the commercial VMware Workstation product (got from Work under a corporate License).

I now actually run the thing the other way around OPENSUSE 13.1 HOST with Windows machines as VM's - no probs whatsoever even on a laptop.

I think HYPER-V is a nice idea but IMO probably a bit over the top for Individual usage. Maybe there's advantages at a corporate level to using it - but for me the VM's I run all work just fine and I haven't had any specific hardware issues using VMWARE.

For people who DON'T have the luxury of having VMWARE Workstation available from their work and don't want to pay for it VMWARE PLAYER is FREE and works very well too both on Windows and Linux Hosts..

Cheers
jimbo
 

My Computer

System One

  • OS
    Linux Centos 7, W8.1, W7, W2K3 Server W10
    Computer type
    PC/Desktop
    Monitor(s) Displays
    1 X LG 40 inch TV
    Hard Drives
    SSD's * 3 (Samsung 840 series) 250 GB
    2 X 3 TB sata
    5 X 1 TB sata
    Internet Speed
    0.12 GB/s (120Mb/s)
Hyper-V 2.JPGHyper-V 1.JPGThanks for the tutorial. I am stuck on Legacy Network adapter. In add hardware there is no option for Legacy Network adapter. My Suse VM is stuck on booting although Enable Secure Boot is disable. Please help me.
 

My Computer

System One

  • OS
    Win 10
Thanks for the tutorial. I am stuck on Legacy Network adapter. In add hardware there is no option for Legacy Network adapter. My Suse VM is stuck on booting although Enable Secure Boot is disable. Please help me.

You cannot use legacy adapters (they are not available) on Generation 2 virtual machines. In any case SUSE and CentOS Linux distros are supported by Hyper-V and do not need legacy adapter.

If you cannot install SUSE on Generation 2 vm, delete the vm and recreate it selecting Generation 1.
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    HP ENVY 17-1150eg
    CPU
    1.6 GHz Intel Core i7-720QM Processor
    Memory
    6 GB
    Graphics Card(s)
    ATI Mobility Radeon HD 5850 Graphics
    Sound Card
    Beats sound system with integrated subwoofer
    Monitor(s) Displays
    17" laptop display, 22" LED and 32" Full HD TV through HDMI
    Screen Resolution
    1600*900 (1), 1920*1080 (2&3)
    Hard Drives
    Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
    External: 2TB for backups, 3TB USB3 network drive for media
    Cooling
    As Envy runs a bit warm, I have it on a Cooler Master pad
    Keyboard
    Logitech diNovo Media Desktop Laser (bluetooth)
    Mouse
    Logitech MX1000 Laser (Bluetooth)
    Internet Speed
    50 MB VDSL
    Browser
    Maxthon 3.5.2., IE11
    Antivirus
    Windows Defender 4.3.9431.0
    Other Info
    Windows in English, additional user accounts in Finnish, German and Swedish.
Thanks for the tutorial. I am stuck on Legacy Network adapter. In add hardware there is no option for Legacy Network adapter. My Suse VM is stuck on booting although Enable Secure Boot is disable. Please help me.

You cannot use legacy adapters (they are not available) on Generation 2 virtual machines. In any case SUSE and CentOS Linux distros are supported by Hyper-V and do not need legacy adapter.

If you cannot install SUSE on Generation 2 vm, delete the vm and recreate it selecting Generation 1.


Thanks Kari, i sorted out the same issue yesterday and it was successful. Thanks for the reply
 

My Computer

System One

  • OS
    Win 10
Good to know you got it resolved :)
 

My Computer

System One

  • OS
    Windows 8.1 Pro with Media Center
    Computer type
    Laptop
    System Manufacturer/Model
    HP ENVY 17-1150eg
    CPU
    1.6 GHz Intel Core i7-720QM Processor
    Memory
    6 GB
    Graphics Card(s)
    ATI Mobility Radeon HD 5850 Graphics
    Sound Card
    Beats sound system with integrated subwoofer
    Monitor(s) Displays
    17" laptop display, 22" LED and 32" Full HD TV through HDMI
    Screen Resolution
    1600*900 (1), 1920*1080 (2&3)
    Hard Drives
    Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
    External: 2TB for backups, 3TB USB3 network drive for media
    Cooling
    As Envy runs a bit warm, I have it on a Cooler Master pad
    Keyboard
    Logitech diNovo Media Desktop Laser (bluetooth)
    Mouse
    Logitech MX1000 Laser (Bluetooth)
    Internet Speed
    50 MB VDSL
    Browser
    Maxthon 3.5.2., IE11
    Antivirus
    Windows Defender 4.3.9431.0
    Other Info
    Windows in English, additional user accounts in Finnish, German and Swedish.
Also changing the resolution seems to be extremely tricky, following this tutorial you can set OpenSUSE display resolution freely during the installation procedure but it cannot be changed later on. For Ubuntu I have only managed 800 * 600 resolution.
Kari, the resolution problem is solved, at the least for Ubuntu. Took me a while to find how, but you can run it with up to 1920x1080 in Hyper-V.

Here's the how to :
Changing Ubuntu Screen Resolution in a Hyper-V VM | Ben Armstrong’s Virtualization Blog

I can live without Sound, but not without reasonable resolution of my vms..

Sent from my E6653 using Tapatalk
 

My Computer

System One

  • OS
    Windows 10 Pro, Linux Ubuntu 16.04 LTS
Back
Top