Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save x10an14/af992dfdea0123b6fe8951435b03991f to your computer and use it in GitHub Desktop.
Save x10an14/af992dfdea0123b6fe8951435b03991f to your computer and use it in GitHub Desktop.
Installation of Ubuntu 16.04 LTS VM on Windows 10 HyperV

Installation of Ubuntu 16.04 LTS VM on Windows 10 HyperV

Installation steps executed:

  1. Selected "Generation 2" VM during installation wizard
    • So as to choose UEFI as default boot mode.
  2. Turned off SecureBoot
    1. By following these instructions in an admnin-escalated powershell terminal.
  3. Added video=hyperv_fb:1920x1200 to GRUB_CMDLINE_LINUX_DEFAULT to use the full available resolution of the laptop monitor (in fullscreen).
  4. Replaced english keyboard with norwegian inside of the VM 'try ubuntu live' session.
  5. Confirmed google ping; ping 8.8.8.8 from terminal inside live Ubuntu VM session.
  6. Started apport installation ('Install Ubuntu 16.04 TLS' icon on desktop)
    1. Chose to encrypt disk partitions and utilize LVM from checkboxes made available
    2. Chose to download/install updates during installation
    3. Chose to install third-party/proprietary apps
    4. Made a user with my signature as name
    5. Completed installation and restarted
Problems with this approach:
  1. Unable to enter disk-encryption password.
    • Solutions found for same symptom did not work. Windows 'stole' the keybind captures (like ctrl+alt+delete), and ctrl+alt+F buttons were just ignored...
    • Had to re-start whole installation process.
  2. Lenovo laptops don't have a dedicated 'break' button (nor scroll-lock), so Hyper-V fullscreen keyboard combo is unavailable.
    • As are REISUB Linux kernel commands...
  3. There is a noticeable lag for anything graphical on the VM, even in fullscreen mode.
    • Will either be tolerated by users, or make them go 'table-flip-rage-mode'
  4. Terminal text can be a bit too small for a majority of users when utilizing/setting the VM to fullscreen mode and full available resolution.
    • But should be easily enough fixed by users who want to run Linux...
  5. Network fails/falls intermittently 2-3 times every 5 minutes.
    • Seems to be caused by the default network config only permitting the one (or the other) to use the network adapter at a time.
    • In other words: Not able to let both VM guest and host utilize the physical network adapter simultaneously.
  6. Seems to be incompatible with VPN?
    • VPN from home accepted password, but disconnected immediately after I pressed "Accept"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment