IT Nota

  • Home
  • How To
  • .NET
  • WordPress
  • Contact
You are here: Home / How To / How to Install Linux on Windows 8 Hyper-V

How to Install Linux on Windows 8 Hyper-V

This step-by-step guide focuses more on setting up the Hyper-V environment prior to installing Linux rather than on how to install the OS because Linux Mint installation itself is actually very straightforward.

  1. Launch Hyper-V Manager. If you haven’t had it installed, you can read the previous posting on how to install Hyper-V on Windows 8.

    Hyper-V Manager

  2. While there are several ways to do the setup, I’d like to separate the setup for Virtual Hard Disk from the Virtual Switch and Virtual Machine (VM).

Virtual Hard Disk

  1. From the top menu, click on Action, New, Hard Disk… to open a New Virtual Hard Disk Wizard. Or you can right-click on your computer name under the Hyper-V Manager on the left pane to accomplish the same thing (as shown below).

    Click Next > to Choose Disk Format.

    Hyper-V Action

  2. On choosing what disk format to use, if you run the Hyper-V on Windows 8 or Windows Server 2012, you should select VHDX.

    Hyper-V Virtual Disk Format

  3. Select either Fixed Size or Dynamically expanding for the disk type. Generally with VHDX, the recommendation is to use Dynamic, but since mine is only for testing purposes, I want to setup a size limit on my virtual environment drive.

    Hyper-V Virtual Hard Disk Type

  4. For organizational purpose, name your virtual hard disk file with something meaningful. This is especially helpful if you have several hard disk files.

    Hyper-V Virtual Hard Disk Name and Location

  5. Click on create a new blank virtual hard disk (e.g., 60GB is the max amount I want to allocate for this VM).

    Hyper-V Configure Virtual Hard Disk

  6. Double check all the selections you made just now to make sure they’re all correct. Click Finish when you’re done and Hyper-V will start creating the new virtual hard disk. This is going to take a while depending on the set disk size. It’s a perfect time to take a coffee break.

    Hyper-V Creating New Virtual Hard Disk

Virtual Switch

  1. The next thing we need to setup is the network connection. On the right pane of Hyper-V Manager under Actions, click on Virtual Switch Manager….

  2. On the left pane of Virtual Switch Manager’s window, click on New virtual network switch. On the right pane, select External and click on Create Virtual Switch button to open Virtual Switch Properties.

    Hyper-V Virtual Switch Manager

  3. Set the Virtual Switch Properties as shown below. Substitute the Realtek Controller with your own. Click OK to close.

    Hyper-V Virtual Switch Properties

  4. Virtual Machine

    1. Repeat step 1 from creating the Virtual Hard Disk, but this time we select Virtual Machine….

    2. Specify Name and Location. The name you type in here will be the one used for this particular VM instance in Hyper-V manager.

      Hyper-V Virtual Machine Name and Location

    3. Set the amount of startup memory for the VM and check Use Dynamic Memory. You can set the minimum and maximum RAM later in VM settings.

      Hyper-V Virtual Machine Assign Memory

    4. Select the Virtual Switch we created earlier in the Connection. It should be listed on the drop-down list.

      Hyper-V Virtual Machine Configure Networking

    5. Check Use and existing virtual hard disk and point the location to the VHDX file (i.e., Linux Mint.vhdx) created from Virtual Hard Disk.

      Hyper-V Virtual Machine Connect Virtual Hard Disk

    6. Same drill as when we created the virtual hard disk, double check all the information is correct and click Finish.

      Hyper-V Creating Virtual Machine

    Once completed, the new VM should be listed in the center pane under Virtual Machines.

    Hyper-V Manager Linux Mint

    We’re almost done as far as setting up the virtual environment, but we before we can install the OS, we need to tweak a few more things.

    Back in Hyper-V Manager, click on the VM (i.e., Linux Mint) so it’s highlighted, and you can do this in three ways.

    1. Right-click on it and select Settings…
    2. On the top menu, go to Action, Settings…
    3. On the right pane of Hyper-V Manager, under Linux Mint click on Settings…

      Hyper-V VM Settings

    On Settings window, go to BIOS and make sure that CD is at the top of Startup order for the operating system. We just need to do this once so the VM can boot directly from the OS DVD or ISO file.
    Hyper-V BIOS Settings

    Select Image file on the Media and point the location to the folder of your ISO file. Other Linux flavor or even other OS can also be used the same way.
    Hyper-V IDE Controller 1 Settings

    Click OK and we’re done with the settings.

    Installing Linux Mint

    Double-click on the VM, and you should see the console that says “The virtual machine ‘Name’ is turned off.” Click on the start button to boot the VM.
    Hyper-V Virtual Machine Start

    If everything was set correctly, Linux Mint . Double-click on the Install Linux Mint and just follow the step-by-step instructions to complete the installation.
    Installing Linux Mint (Windows 8 Hyper-V)

    One last thing to point out after the installation is complete. Make sure in the Settings, the startup order from BIOS is set to IDE now. Check the Num Lock if you want to activate your keypad as well.
    Hyper-V Virtual Machine BIOS Settings to IDE

    After installing Linux Mint, you might want to do some additional setup like locale settings and system update. What To Do Next After Installing Linux Mint.

    Download

    Linux Mint (If you’re not sure which edition to get, choose MATE)

    Further Reading

    Hyper-V Dynamic Memory Overview
    Hyper-V Dynamic Memory Configuration Guide
    Hyper-V Virtual Hard Disk Format Overview
    How to Choose the Right Virtual Disk Format
    Linux Mint 13 (Maya) Step by Step Installation Guide with Screenshots
    What To Do Next After Installing Linux Mint

May 24, 2013 Filed Under: How To Tagged With: Linux, Windows 8

Buy me a coffee?

Buy me a coffee If you find any of the articles or demos helpful, please consider supporting my work here, you'll have my big thanks!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Buy me a coffee Support this site
Buy Me a Coffee?

Categories

  • .NET
  • Coding
  • Cybersecurity
  • Database
  • How To
  • Internet
  • Multimedia
  • Photography
  • Programming
  • Resources
  • Review
  • Tips and Tricks
  • Use Case
  • WordPress
  • Writing

Recent Posts

  • How to Delay Shutdown or Restart on a Mac
  • How to Activate Built-in Web Server
  • SSIS Best Practice with Naming Conventions
  • How to Delay Shutdown or Restart on a Windows Server
  • How to Type Emoji Using Keyboard Shortcuts in Windows and macOS

Recent Posts

  • How to Delay Shutdown or Restart on a Mac
  • How to Activate Built-in Web Server
  • SSIS Best Practice with Naming Conventions
  • How to Delay Shutdown or Restart on a Windows Server
  • How to Type Emoji Using Keyboard Shortcuts in Windows and macOS

Tags

.NET ASP.NET Cdonts Dll Classic ASP Code Editor ETL FSharp Genesis Framework Git Google HP Asset Manager HTML5 Hugo IIS Information Security Internet Internet Information Services iOS JAMStack JavaScript Linux macOS Microsoft Microsoft SQL Server MVC PHP PowerShell Python Simple Mail Transfer Protocol Smtp Server SQL SQL Server SSIS SSMS SSRS Sublime Text Visual Studio Visual Studio Code VPN Web Server Windows Windows 8 Windows 10 Windows 2012 Windows Server

Copyright © 2011-2023 IT Nota. All rights reserved. Terms of Use | Privacy Policy | Disclosure