IT Nota

  • Home
  • How To
  • .NET
  • WordPress
  • Contact

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

Configuring Asset Manager Connector in HP Connect-IT

In a Connect-It scenario, typically Asset Manager (AM) connector is used either as a source or destination of data flow. In most cases, AM connector simply works without too many changes from the default settings. But if you receive a System error 126, make sure the “dynamic library to use” is manually specified.

On the AM connector, open the connector configuration wizard by right-click on the box and select Configure connector…
HP Connect-It Configure Connector

In the connection parameters, set the Asset Manager server, login and password.
HP Connect-It Define Connection Parameters

Click on the Test button to see if we get any connections. If it’s unsuccessful with system error 126, the following message will be displayed:

-System error 126: The specified module could not be found..
-Module 'Acapi': Unable to load dynamic library (aamapi93.dll, aamapi52.dll... aamapi30.dll)'
-Connection test unsuccessful

HP Connect-It Database Connection Test Fail

Close the error message dialog box and click Next > button and populate the Dynamic library to use textbox with this path:

C:\Program Files (x86)\HPAsset Manager 9.31\en\bin\aamapi93.dll

HP Connect-It Advanced Configuration Dynamic Library

Go back to the previous screen, re-run the Test and you should see a message that says “Successful connection test.”

May 14, 2013 Filed Under: How To Tagged With: Connect-It, ETL, HP Asset Manager

Windows 8 Updates After Moving User Profile

After moving the user profile to a different folder, certain security updates via Windows 8 Automatic Updates can fail. As mentioned in one user comment, basically, moving a user folder could pose a problem on future updates/upgrade as referenced from this article.

A good example of a failed Windows Update many users encounter is Security Update for Windows 8 for x64-based Systems (KB2781197).

To solve this, we’re going to apply similar steps from Move the Users Directory to a Different Drive in Windows 8 against $$PendingFiles directory.

Please refer to the article as the same drive letters will be used to demonstrate the creation of directory junction for $$PendingFiles folder.

DriveFile ExplorerCommand Prompt
SSD (Source)C:H:
HDD (Destination)F:G:

Repeat steps 2-6 to access the Command Prompt.

Replace steps 7-9 with the following commands:

7. robocopy /copyall /mir /xj H:$$PendingFiles G:Temp$$PendingFiles
8. rmdir /S /Q H:$$PendingFiles
9. mklink /J H:$$PendingFiles F:Temp$$PendingFiles

Exit Command Prompt, reboot and re-run Windows Update.

Further Reading

Windows 8 for x64-based Systems (KB2781197) FAILED

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

How to Install Windows 8 Hyper-V

Client Hyper-V is the virtualization technology built into Windows 8 that is previously available only in Windows Server.

Since it is not enabled by default, to use Client Hyper-V, you need to follow these simple steps:

  1. Go to Control Panel and click Programs, and click Programs and Features.
  2. Click Turn Windows features on or off.
  3. Check all Hyper-V related checkboxes, click OK, and then click Close.
    Windows 8 Enabling Hyper-V
  4. Now, you should see Hyper-V Manager in the Program Tiles.
    Hyper-V Manager ITNota.com

    Further Reading

    Using Windows 8 Client Hyper-V
    Client Hyper-V

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

How to Lock Screen Rotation on iPhone

One simple trick many don’t know I keep getting asked about this many times. Unlike its bigger cousin iPad, iPhone does not have a Side Switch to lock screen orientation, but there’s still a way to do it quickly via the multitasking bar.

  1. Just press the Home button twice. After you see the multitasking bar, swipe to the right and look for the icon below.

    iPhone's Portrait Orientation Lock Icon

  2. Tap on the icon, it should change into a lock.

    iPhone Portrait Rotation Locked

Exit from multitasking bar by clicking the Home button once and you will see the indicator on the top to indicate the orientation is locked.

April 6, 2013 Filed Under: How To Tagged With: iOS

« Previous Page
Next Page »
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
  • Uncategorized
  • Use Case
  • WordPress
  • Writing

Recent Posts

  • How to View Stored Procedure Code in SQL Server
  • How to Find a String in SQL Server Stored Procedures
  • How to Remove Cached Credentials without Rebooting Windows
  • ESP Work Automation: Empowering Enterprises with Streamlined Workflows and Operational Efficiency
  • How to Search for a String in All Tables in a Database

Recent Posts

  • How to View Stored Procedure Code in SQL Server
  • How to Find a String in SQL Server Stored Procedures
  • How to Remove Cached Credentials without Rebooting Windows
  • ESP Work Automation: Empowering Enterprises with Streamlined Workflows and Operational Efficiency
  • How to Search for a String in All Tables in a Database

Tags

.NET .NET Core AdSense 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 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 Windows Windows 8 Windows 10 Windows 2012 Windows Server

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