userdoc:guest_vm_hyperv

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
userdoc:guest_vm_hyperv [2017/03/23 21:20]
abelbeck
userdoc:guest_vm_hyperv [2017/03/28 17:51]
abelbeck
Line 4: Line 4:
  
 **VM Host Specifications:**  [[https://en.wikipedia.org/wiki/Hyper-V|Hyper-V]] **VM Host Specifications:**  [[https://en.wikipedia.org/wiki/Hyper-V|Hyper-V]]
 +
 +**VM Host Requirements:** Windows Server 2008 or newer, Windows 8 Professional or newer versions (64-bit)
  
 **AstLinux Board Type:** **AstLinux Board Type:**
Line 14: Line 16:
   * CPU: 2 Processor Cores   * CPU: 2 Processor Cores
   * Virtual Storage: 4 to 8 GB   * Virtual Storage: 4 to 8 GB
-  * Network: Bridged Interface+  * Network: Virtual Switch (needs to be created in advance in the Hyper-V Manager) 
 + 
 +**Assumptions:** 
 + 
 +  * A working installation of Hyper-V Server. These instructions use Hyper-V Server 2012R2. 
 +  * A Virtual Switch configured within Hyper-V Server. 
 +  * Hyper-V Manager available, with the necessary permissions on the server. 
 +  * AstLinux installation ISO copied to local storage on the server.
  
 **Configuration:** **Configuration:**
  
-... TBD ...+!!Special Thanks ->!! Nick Mace graciously provided the following configuration detail.
  
-Finally, configure AstLinux using the normal **[[userdoc:new-install|setup]]**.+Create a new virtual machine using Hyper-V ManagerIf using Hyper-V Server 2012R2 or later, you must select a "Generation 1" virtual machine. The screenshot below shows a new virtual machine with the default configuration and a virtual hard disk attached:
  
-!!Tip ->!! Note the "IPv4 Address:" on the screen and access the VM with SSH or an HTTPS browser on the same network.+{{:userdoc:vm_hyperv-1-NewVirtualMachine.png?nolink|1-NewVirtualMachine}}
  
-After persistent storage is configured, edit the ''/etc/rc.modules'' file and uncomment ''hv_netvsc''+{{:userdoc:vm_hyperv-2-AddNetworkAdapter.png?nolink|2-AddNetworkAdapter}}
  
-  ## These modules get modprobe'd when the system starts up. +{{:userdoc:vm_hyperv-3-ConfigureOtherNetworkAdapters.png?nolink|3-ConfigureOtherNetworkAdapters}}
-  rtc +
-  ## Comment out any modules you don't need. +
-  ## +
-  ## Ethernet support +
-  ## Virtual first, then Emulated +
-  hv_netvsc +
-  virtio-pci +
-  vmxnet3 +
-  pcnet32 +
-  e1000 +
-  e1000e +
-  8139too+
  
-Correspondingly, change the configuration of the VM in Hyper-V Manager to use the virtual network driver.+{{:userdoc:vm_hyperv-4-MountISO.png?nolink|4-MountISO}}
  
 +{{:userdoc:vm_hyperv-5-SetRequiredNumberofProcessors.png?nolink|5-SetRequiredNumberofProcessors}}
 +
 +{{:userdoc:vm_hyperv-6-SetRequiredMemory.png?nolink|6-SetRequiredMemory}}
 +
 +{{:userdoc:vm_hyperv-7-InstallAstLinux.png?nolink|7-InstallAstLinux}}
 +
 +{{:userdoc:vm_hyperv-8-EjectISO.png?nolink|8-EjectISO}}
 +
 +{{:userdoc:vm_hyperv-9-AstLinuxRunning.png?nolink|9-AstLinuxRunning}}
 +
 +
 +Finally, configure AstLinux using the normal **[[userdoc:new-install|setup]]**.
 +
 +!!Tip ->!! Note the "IPv4 Address:" on the screen and access the VM with SSH or an HTTPS browser on the same network.
  • userdoc/guest_vm_hyperv.txt
  • Last modified: 2017/03/28 18:03
  • by abelbeck