Expedition Hyper-V VM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Expedition Hyper-V VM

L1 Bithead

Managed to get Expedition working in Hyper-V on my Windows 10 laptop and simply sharing with community.

 

  • Hyper-V is a Type 1 hypervisor available natively in desktop editions of Windows 7 and later on certain Windows editions. Note the Hyper-V role must be added. Strongly recommend Windows 10's Hyper-V due to out-of-box NAT support on the Default Network [virtual network].
  • By comparison VMware Workstation is a Type 2 hypervisor (and arguably slower as a result).
    • Not a comparison of Microsoft vs. VMware -- but of Type 1 vs. Type 2 hypervisors.
  • PAN VM-Series has run on Hyper-V for some time. Panorama runs on Hyper-V as of 8.1 unofficially (since 8.1 brought Azure support). Given that I have PAN VM-Series and Panorama working in Hyper-V, Expedition was logically next.

None of the work discussed here is production ready due to lack of official support across the board. However, for network and system engineers with Hyper-V and not wanting to install VMware Workstation it works well.

 

TL;DR Edition

  1.  Convert Expedition VMDK to VHD using StarWind V2V Image Converter
  2. Build new Hyper-V VM using VHD
  3. Replace Hyper-V Network Adapter with Hyper-V Legacy Network Adapter
  4. Modify /etc/network/interfaces and use correct interface name (likely from ens33 to enp0s10f0 or similar)

 

Long Form Edition

  1. Download Expedition (Expedition.tgz) and extract contents
  2. Download and install StarWind V2V Image Converter
  3. Launch StarWind V2V Image Converter and convert the Virtual Disk.vmdk to Microsoft VHD growable image. Both the source and destination will be Local Files.
    • Local File - find the VMDK to convertLocal File - find the VMDK to convert
    • Convert to Microsoft VHD growable imageConvert to Microsoft VHD growable image
    • Pick your destination for the VHDPick your destination for the VHD
    • Conversion takes a few minutes with SSD storageConversion takes a few minutes with SSD storage
  4. Create a new Hyper-V VM
    • Generation 1
    • 2048 or 4096 MiB RAM, disable Dynamic Memory checkbox. Mine runs in 2048 MiB just fine for just migrations. Haven't done much ML work.
    • Leave the default networking in place as Not Connected – we will make changes in next step.
    • Reference the converted VHD file when creating. Feel free to move/organize on-disk location as needed.
  5. Modify the freshly created Hyper-V VM
    • Consider increasing from 1 CPU to more if doing ML work. Mine works fine with 1 CPU for just migration work.
    • Remove the Network Adapter (click on it, then Remove)
    • Add a new Legacy Network Adapter and connect it to the Default Switch for ease of use. Windows 10 Hyper-V the Default Switch [virtual network] provides a small IP network with DHCP, gateway, and is NAT'd using one of the workstation's working network adapters enabling outbound network/Internet access from the Default Switch [virtual network].
      • Legacy Network Adapter is required. The [standard] Network Adapter will not function (unless you want to do even more work later).Legacy Network Adapter is required. The [standard] Network Adapter will not function (unless you want to do even more work later).
  6. Boot the Hyper-V VM (Start and then Connect to the console)
  7. Login with default Expedition credentials
  8. Search dmesg for Ethernet interface name and update (with sudo) /etc/network/interfaces
    • dmesg | grep ethEthernet interface name in this example is enp0s10f0Ethernet interface name in this example is enp0s10f0
    • sudo vim /etc/network/interfaces or sudo nano /etc/network/interfacesReplace ens33 (Expedition default) with Ethernet interface name determined from previous stepReplace ens33 (Expedition default) with Ethernet interface name determined from previous stepens33 replaced with enp0s10f0 (for example)ens33 replaced with enp0s10f0 (for example)
  9. Save changes to /etc/network/interfaces
  10. Reboot Expedition VM with sudo reboot 
  11. Login and determine IP via ip addressimage.png
  12. Connect via web browserimage.png

 

Enjoy your copy of Expedition running in Hyper-V.

1 REPLY 1

L7 Applicator

Thanks !! Really useful !

  • 5115 Views
  • 1 replies
  • 4 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!