How to Install DSM 6.x on Windows Virtual Box

[ windows  dsm  synology  xenology  virtualbox  ]

Please follow the steps below to install virtual box on your windows machine:

  • Install virtualbox (recommended Version 5.2.16). 6.1 doesn’t work for me.
  • Create the physic disk for virtual machine. Open powershell in administrator mode
    • Use wmic diskdrive list brief to list all your harddrive
    • Put the disk offline
    • enable write for raw disk access in vm
      Diskpart
      Select disk 0
      ATTRIBUTES DISK CLEAR READONLY
      
  • Create the raw disk for VM via “C:\Program Files\Oracle\VirtualBox\VBoxManage.exe” internalcommands createrawvmdk -filename 0.vmdk -rawdisk \\.\PhysicalDrive0
  • Download the loader and convert img to vdi via “C:\Program Files\Oracle\VirtualBox\VBoxManage.exe” convertfromraw –format VDI .\synoboot.img .\synoboot.vdi
  • Download the firmware from Synology. Note newer version, e.g., 6.2.1 and 6.2.2 doesn’t work for me (cannot be found in assistant later)
  • Open the virtual box in administrator mode
  • Create the VM as following
  • Start the VM and find it in the assistant. Use F12 to select the boot drive and for boot options both bare-metal and vm options should work
  • Install

Reference

Written on November 20, 2022