Hyper-V Quick Create - Setup Ubuntu Linux virtual machine  

Page 1 of 3 123 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:
    Hyper-V Quick Create - Setup Ubuntu Linux virtual machine-image.png

    1.2) Select Ubuntu , click Create virtual machine:
    Hyper-V Quick Create - Setup Ubuntu Linux virtual machine-image.png

    1.3) Pre-made virtual hard disk will be downloaded (1.5 GB):
    Hyper-V Quick Create - Setup Ubuntu Linux virtual machine-image.png

    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:
    Hyper-V Quick Create - Setup Ubuntu Linux virtual machine-image.png

    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.
    Hyper-V Quick Create - Setup Ubuntu Linux virtual machine-image.png

    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:
    Hyper-V Quick Create - Setup Ubuntu Linux virtual machine-image.png
    (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:
    Hyper-V Quick Create - Setup Ubuntu Linux virtual machine-image.png

    2.3) Set up your user account:
    Hyper-V Quick Create - Setup Ubuntu Linux virtual machine-image.png

    2.4) Setup will take a minute or two. When done, Enhanced Session Mode prompt will be shown. Click Connect:
    Hyper-V Quick Create - Setup Ubuntu Linux virtual machine-image.png

    2.5) Sign in:
    Hyper-V Quick Create - Setup Ubuntu Linux virtual machine-image.png

    2.6) That's it! I was on Ubuntu desktop about three minutes after starting the VM first time, using enhanced mode:
    Hyper-V Quick Create - Setup Ubuntu Linux virtual machine-image.png

    Happy computing, geeks!

    Kari



  1. D4ni3l's Avatar
    Posts : 308
    Microsoft Windows 10 x64
       #1





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

  2. cereberus's Avatar
    Posts : 12,037
    Windows10
       #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 Computer

  3. Kari's Avatar
    Posts : 17,438
    Windows 10 Pro
    Thread Starter
       #3

    D4ni3l said:
    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 Computer

  4. Kari's Avatar
    Posts : 17,438
    Windows 10 Pro
    Thread Starter
       #4

    cereberus said:
    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 Computer

  5. D4ni3l's Avatar
    Posts : 308
    Microsoft Windows 10 x64
       #5

    thanks kari

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

      My Computer

  6. cereberus's Avatar
    Posts : 12,037
    Windows10
       #6

    D4ni3l said:
    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 Computer

  7. cereberus's Avatar
    Posts : 12,037
    Windows10
       #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 Computer

  8. Kari's Avatar
    Posts : 17,438
    Windows 10 Pro
    Thread Starter
       #8

    cereberus said:
    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.

    Hyper-V Quick Create - Setup Ubuntu Linux virtual machine-image.png
    (Click to enlarge.)

    Kari
      My Computer

  9. cereberus's Avatar
    Posts : 12,037
    Windows10
       #9

    Kari said:
    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.

    Hyper-V Quick Create - Setup Ubuntu Linux virtual machine-image.png
    (Click to enlarge.)

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


 
Page 1 of 3 123 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 Discussions
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 17:23.
Find Us




Windows 10 Forums