Skip to content

Instantly share code, notes, and snippets.

@ngoc-minh-do
Created February 20, 2025 14:51
Show Gist options
  • Select an option

  • Save ngoc-minh-do/f036df46d1decf5567ad37080b85e462 to your computer and use it in GitHub Desktop.

Select an option

Save ngoc-minh-do/f036df46d1decf5567ad37080b85e462 to your computer and use it in GitHub Desktop.

Proxmox VM

Create VM

  1. General

    Enter a Name for the VM

  2. OS

     Select iso image
     Type: Linux or Windows
     Version: Pick the latest
    

    For Windows:

     Add additional drive for VirtIO drivers: Check
     And point to virtio-win iso file
    
  3. System

     Machine: q35
     Bios: OVMF (UEFI)
     SCSI Controller: VirtIO SCSI single
     EFI Storage: specific storage
     Qemu Agent: Check
    

    For Windows:

     Add TPM: Check
     TPM Storage: specific storage
    
  4. Disks

     Bus/Device: SCSI
     Disk size (GiB): Appropriate number
     Discard: Check
     IO Thread: Check
     SSD emulation: Check
    
  5. CPU

     Cores: 4
     Type: `x86-64-v4` or `host`
    
  6. Memory

     Memory (MiB): Appropriate number
    
  7. Network

    Appropriate Setting

  8. Confirm and Start VM

  9. (Optional) Disable secure boot

     Hit `Esc` while the boot splash screen is visible
     Select `Device Manager`
     Select `Secure Boot Configuration`
     Uncheck `Attempt Secure Boot`
     Select Continue
     Select Restart
    

Post install (Windows)

  • Install the Guest Agent from the VirtIO Win ISO: guest-agent\qemu-ga-x86_64.msi.
  • Install the driver from the VirtIO Win ISO: virtio-win-gt-x64.msi. Check for any missing drivers. If found, select Update Driver, then specify the VirtIO Win ISO location
  • (Optional) Install virtio-win-guest-tools.exe if you want all at one (Drivers, Guest Agent, SPICE Agent...)
  • Activate Windows.
  • Update Windows.
  • Enable Remote Desktop: Settings > System > Remote Desktop. (If using a Microsoft account, login with a password is required.)
  • Configure a static IP.

Ref

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment