Install PhyOS on Hyper-V
Overview
Section titled “Overview”This guide walks you through running PhyOS 5 as a virtual machine on Hyper-V. PhyOS ships as a ready-made virtual hard disk, so there is no installer to run and no media to write - you attach the disk to a new Generation 2 virtual machine and power it on.
Prerequisites
Section titled “Prerequisites”For PhyOS installation
Section titled “For PhyOS installation”- Windows with the Hyper-V role enabled: Windows 10 or 11 Pro or Enterprise, or Windows Server 2019 or later
- Host capacity for 4 vCPU, 4 GB RAM, and a 64 GB disk
- About 10 GB of free disk space for the download and the extracted disk
- A Hyper-V virtual switch that provides DHCP and outbound internet access
- Internet connection
- Access to the PhyStack console
Install PhyOS
Section titled “Install PhyOS”Extract the virtual hard disk, build a Generation 2 virtual machine around it, then power it on.
Download and extract the PhyOS VHDX
Section titled “Download and extract the PhyOS VHDX”- Download the latest PhyOS Hyper-V image
- Open a PowerShell window in the download folder
- Extract the archive:
Terminal window tar -xzf phyos.vhdx.tar.gz - Move the extracted
.vhdxto the folder where you keep virtual hard disks
Create the virtual machine
Section titled “Create the virtual machine”- Open Hyper-V Manager and select Action > New > Virtual Machine
- Click Next, enter a name, and click Next
- On Specify Generation, select Generation 2
- On Assign Memory, enter
4096MB - On Configure Networking, select a virtual switch that provides DHCP and internet access
- On Connect Virtual Hard Disk, select Use an existing virtual hard disk and browse to the extracted
.vhdx - Click Finish
Turn off Secure Boot and set the processor count
Section titled “Turn off Secure Boot and set the processor count”- Select the virtual machine and open Settings
- Under Security, clear Enable Secure Boot
- Under Processor, set Number of virtual processors to
4 - Click Apply, then OK
Or from PowerShell, with the virtual machine powered off:
Set-VMFirmware -VMName NAME -EnableSecureBoot OffSet-VMProcessor -VMName NAME -Count 4Power on the virtual machine
Section titled “Power on the virtual machine”- Select the virtual machine and click Connect
- Click Start - PhyOS boots to the connection screen in the console window
Connect device to PhyStack
Section titled “Connect device to PhyStack”After PhyOS boots:
- You should see the PhyOS splash screen
- The device will display a connection screen
- Note the Serial Number displayed in the top-left corner of the screen
- In the PhyStack portal, navigate to the device connection section
- Enter the Serial Number in the Device Serial field
- Click the Connect device button
- The device will appear under Installations → Devices
Troubleshooting
Section titled “Troubleshooting”Hyper-V installation issues
Section titled “Hyper-V installation issues””Boot Failed. EFI SCSI Device” or “Failed Secure Boot Verification”
Section titled “”Boot Failed. EFI SCSI Device” or “Failed Secure Boot Verification””- Shut the virtual machine down completely
- Open Settings > Security and clear Enable Secure Boot
- Start the virtual machine again
tar is not recognized as a command
Section titled “tar is not recognized as a command”tarships with Windows 10 version 1803 and later- On an older build, extract the archive with 7-Zip
The New Virtual Machine wizard has no processor count
Section titled “The New Virtual Machine wizard has no processor count”- The wizard does not set the processor count
- Set it in Settings > Processor after the virtual machine is created
The virtual machine was created as Generation 1
Section titled “The virtual machine was created as Generation 1”- The generation cannot be changed after creation
- Delete the virtual machine, keep the
.vhdx, and create a new Generation 2 virtual machine pointed at the same disk
The virtual machine has no network
Section titled “The virtual machine has no network”- Attach the virtual machine to a switch that provides DHCP and outbound internet access
- An External switch is the usual choice
Device-specific notes
Section titled “Device-specific notes”Virtual hardware
Section titled “Virtual hardware”Generation 2, 4 virtual processors, 4096 MB of memory, and the extracted VHDX as the only disk.
Firmware
Section titled “Firmware”Generation 2 virtual machines boot via UEFI. Secure Boot is on by default and must be cleared before the first start.
Networking
Section titled “Networking”The virtual switch is chosen in the wizard, on the step before the virtual hard disk.
Storage
Section titled “Storage”The disk grows as it is used. Leave room for the full 64 GB.
Display output
Section titled “Display output”Use the Virtual Machine Connection window to view the screen.
Important notes
Section titled “Important notes”- Attach the virtual machine to a network that provides DHCP and outbound internet access
- The virtual machine must be Generation 2
- Clear Enable Secure Boot before the first start, with the virtual machine powered off
- Keep the extracted
.vhdxif you plan to create more devices