Hyper-V Quick Create - Setup Ubuntu Linux virtual machine  

Page 1 of 2 12 LastLast
    Hyper-V Quick Create - Setup Ubuntu Linux virtual machine

    Hyper-V Quick Create - Setup Ubuntu Linux virtual machine

    How to use Hyper-V Quick Create and pre-installed Ubuntu virtual hard disk to setup Ubuntu Linux virtual machine
    Published by Category: Virtualization
    19 Sep 2018
    Designer Media Ltd


    information   Information
    Microsoft's cooperation with Canonical just took a giant leap. Will Cooke from Canonical announced new Hyper-V Quick Create Gallery virtual hard disk with pe-installed Ubuntu 18.04 LTS. Using Quick Create, users can set up an Ubuntu Generation 2 virtual machine in just a minute or two.

    Will Cooke on Ubuntu Blog on September 17th, 2018:

    Today we’re very pleased to announce that an optimised Ubuntu Desktop image is available from the Hyper-V gallery. This will give an optimum experience when running Ubuntu Desktop as a guest on a Windows 10 Pro desktop host. From the Ubuntu Report data we know that a lot of people are using Ubuntu as a virtual machine, and so we want to make that experience as seamless as possible.

    The Quick Create Gallery Ubuntu VM uses XRDP upstream to add support for Hyper-V Enhanced Session Mode. Everything is pre-installed, the new Ubuntu VM will allow enhanced mode on first boot.

    This tutorial will show how you can set up a Generation 2 Ubuntu VM in a few easy steps.

     Step 1: Setup Ubuntu VM from Quick Create Gallery

    1.1) In Hyper-V Manager, select Quick Create on Actions pane:
    Name:  image.png
Views: 2054
Size:  53.3 KB

    1.2) Select Ubuntu , click Create virtual machine:
    Click image for larger version. 

Name:	image.png 
Views:	79 
Size:	325.2 KB 
ID:	204611

    1.3) Pre-made virtual hard disk will be downloaded (1.5 GB):
    Click image for larger version. 

Name:	image.png 
Views:	60 
Size:	43.4 KB 
ID:	204612

    1.4) After the download, the file integrity will be verified and virtual machine created. It will be created using dynamic memory, with 2 GB RAM to start with. Hyper-V sets number of virtual processors automatically, based on what your host hardware allows. Click Edit settings to change settings, or click Connect:
    Click image for larger version. 

Name:	image.png 
Views:	52 
Size:	78.9 KB 
ID:	204614

    1.5) Accepting default settings, you might be surprised how much of host RAM virtual machine's dynamic memory will consume after a few minutes use. In my case, I had to reduce the max RAM allowed to 4 GB after noticing that when browsing Ten Forums on Ubuntu VM, it suddenly used over 8 GB RAM when nothing else than browser with a few tabs was running.
    Name:  image.png
Views: 2072
Size:  379.7 KB

    Before setting lower max RAM, the VM was constantly using close to 8 GB. When left idle, it settled to 7,662 MB, over 7.5 GB, and remained there constantly as long as VM was idle:
    Click image for larger version. 

Name:	image.png 
Views:	145 
Size:	946.2 KB 
ID:	204625
    (Click screenshot to pop out, click again to enlarge.)


     Step 2: Setup Ubuntu

    2.1) Start the virtual machine.

    2.2) Select OS language, keyboard layout and time zone:
    Click image for larger version. 

Name:	image.png 
Views:	65 
Size:	450.9 KB 
ID:	204615

    2.3) Set up your user account:
    Name:  image.png
Views: 2048
Size:  160.5 KB

    2.4) Setup will take a minute or two. When done, Enhanced Session Mode prompt will be shown. Click Connect:
    Name:  image.png
Views: 2056
Size:  138.4 KB

    2.5) Sign in:
    Name:  image.png
Views: 2058
Size:  69.8 KB

    2.6) That's it! I was on Ubuntu desktop about three minutes after starting the VM first time, using enhanced mode:
    Click image for larger version. 

Name:	image.png 
Views:	77 
Size:	906.6 KB 
ID:	204619

    Happy computing, geeks!

    Kari


    Related Tutorials




  1. Posts : 232
    Microsoft Windows 10 x64
       20 Sep 2018 #1





    I get this in enhanced mode (only)
    strange, strange.. I must investigate
    or may be you have the solution
      My ComputerSystem Spec

  2.    20 Sep 2018 #2

    If it is using that much RAM, something is wrong. This is basically the same development that I posted a guide a while back on how to install ubuntu 18.04 on enhanced mode and it happily ran inside 4GB (even inside 2GB). There must be some kind of memory leak.
      My ComputerSystem Spec

  3. Kari's Avatar
    Posts : 15,251
    Windows 10 Pro
    Thread Starter
       20 Sep 2018 #3

    D4ni3l said: View Post
    I get this in enhanced mode (only)
    strange, strange.. I must investigate
    or may be you have the solution
    I get that every now and then, too, and found out it is my own fault.

    Windows usernames are not case sensitive. I can use KAri, kari, kARI and so on instead of Kari. However, Linux usernames are case sensitive and by default all lowercase.

    When I get that error, it's always because I am so used to write my username as Kari in Windows that I wrote it with uppercase first letter. I just edit the username I entered, replacing the uppercase first letter K with lower case k.

    Might not be your case, but after seeing that error some 20 times and having fixed it every time with this simple way, replacing one letter in username, I thought it's worth to tell.

    Also, check the password. That error usually means authentication error.

    Kari
      My ComputerSystem Spec

  4. Kari's Avatar
    Posts : 15,251
    Windows 10 Pro
    Thread Starter
       20 Sep 2018 #4

    cereberus said: View Post
    If it is using that much RAM, something is wrong. This is basically the same development that I posted a guide a while back on how to install ubuntu 18.04 on enhanced mode and it happily ran inside 4GB (even inside 2GB). There must be some kind of memory leak.
    Yes, I need to inspect this.

    Kari
      My ComputerSystem Spec


  5. Posts : 232
    Microsoft Windows 10 x64
       20 Sep 2018 #5

    thanks kari

    entering a different (non existing) user name give a different error

      My ComputerSystem Spec

  6.    20 Sep 2018 #6

    D4ni3l said: View Post
    thanks kari

    entering a different (non existing) user name give a different error

    Delete vm and restart. When it asks for login credentials - use all lower case - I just use a single letter e.g. c for cereberus, and say p for password.

    You can make more secure later.

    It should boot into it with no problem then.
      My ComputerSystem Spec

  7.    20 Sep 2018 #7

    I have not tested it yet, but there was a bug affecting things if you had printers ticked in the Hyper-V enhance menu popup menus.

    Hi @Kari, I remember getting memory problems with ububtu a while back if I set memory to dynamic. I always uncheck dynamic memory.

    Maybe that is causing you a problem?
      My ComputerSystem Spec

  8. Kari's Avatar
    Posts : 15,251
    Windows 10 Pro
    Thread Starter
       20 Sep 2018 #8

    cereberus said: View Post
    I remember getting memory problems with ububtu a while back if I set memory to dynamic. I always uncheck dynamic memory.

    Maybe that is causing you a problem?

    No, that's not it. Memory demand is in both cases, static or dynamic RAM, over 6 GB. As only 4 GB is assigned, this naturally makes VM quite slow.

    Click image for larger version. 

Name:	image.png 
Views:	52 
Size:	159.5 KB 
ID:	204871
    (Click to enlarge.)

    Kari
      My ComputerSystem Spec

  9.    20 Sep 2018 #9

    Kari said: View Post
    No, that's not it. Memory demand is in both cases, static or dynamic RAM, over 6 GB. As only 4 GB is assigned, this naturally makes VM quite slow.

    Click image for larger version. 

Name:	image.png 
Views:	52 
Size:	159.5 KB 
ID:	204871
    (Click to enlarge.)

    Kari
    What is that screen? I have never seen it - I would like to check my version?
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Tutorial Categories

Hyper-V Quick Create - Setup Ubuntu Linux virtual machine Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
Source: Run Ubuntu virtual machines made even easier with Hyper-V Quick Create - Windows Developer Blog 1041704192837144576 Hyper-V Quick Create - Setup Ubuntu Linux virtual machine Enable or Disable Windows Subsystem for Linux in...
Quick Create is a feature in Hyper-V allowing users to setup new virtual machines with a few mouse clicks. At the moment, Quick Create offers users a quick setup of Windows 10 Developer Environment, Windows 10 PRO edition with Visual Studio...
How to Create Shortcut of Hyper-V Virtual Machine in Windows 8 and 10 There's nothing wrong in running the Hyper-V Manager and launch your virtual machines from there. However, creating a shortcut for each vm you have you can start them fast...
Windows 10 Insider Preview Build 15002 gave a facelift to Hyper-V as told earlier on Ten Forums. One of the new cool things is a new feature in Hyper-V Manager called Quick Create. With it you can create a new virtual machine (VM) literally (yes,...

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:21.
Find Us