How to Install Xpenology on Proxmox (DSM 7)

In this tutorial, we will look at how to install Xpenology on Proxmox (DSM 7).

Xpenology is a community-based bootloader than runs Synology’s DSM 7. It allows you to have a fully functional Synology NAS operating system (DSM 7) that can run inside of a virtual machine in Proxmox. The process is pretty straightforward, but I want to be clear on two things:

  • The most important point: Xpenology is a home-brewed version of Synology’s DSM. It is suggested that you use this for testing purposes. Xpenology has a great developer community, but there is no true “support”, and no guarantee that this operating system will be stable. I would highly suggest that you purchase a Synology NAS if you’re interested in this type of NAS device due to increased support and authenticity.
  • Do NOT update Xpenology without ensuring that the new version works with the existing bootloader. Incremental updates are generally fine, but major version updates may require a new or updated bootloader.

How to Install Xpenology on Proxmox (DSM 7)

1. Launch Proxmox and select Create VM.

image 128

2. Select a node and give the VM a name. Select Start at boot if you’d like this VM to start when Proxmox is started.

how to install xpenology on proxmox

3. In the OS tab, select do not use any media.

image 130

4. Skip to the Disks tab and delete the scsi0 disk (red icon next to scsi0).

image 131

The VM should look like this when completed:

image 132

5. Set the CPU to use as many cores as you’d like.

image 133

6. Set the Memory to use as much as you’d like.

image 134

7. In the Network tab, set the Model to be Intel E1000.

image 63

8. In the Confirm tab, ensure start after created is not selected, then select Finish.

image 64

9. Download the redpill bootloader which we’ll use to get Xpenology setup and configured. When it’s done downloading, extract it on your local machine.

image 137

10. Navigate to the Local Proxmox Storage (you can select a different storage location to upload it, but you’ll have to modify the location in step 12) and upload the redpill.img file.

image 138

11. After the file is finished uploading, access the Proxmox Shell.

image 139

12. Run the command below substituting the current version of the redpill bootloader and your VM ID.

qm importdisk <VMID> /var/lib/vz/template/iso/tinycore-redpill.v0.8.0.0.img <STORAGE_LOCATION>
image 140

13. In the VMs Hardware section, select Edit on the Unused Disk.

image 141

14. Change the Bus/Device to SATA and then select Add.

image 142

15. In the Options menu, select Boot Order and Edit.

image 143

16. Uncheck all options other than sata0 and then select OK.

image 144

17. Start the virtual machine and navigate to the console! The loader should run and when it’s ready, you’ll be at a blue screen.

image 146

18. Select the icon all the way to the right to launch the terminal.

image 147

19. Run the command below to generate a serial number and press y when asked to update the values.

./ serialgen DS3622xs+
image 148

20. Run the command below to find the latest DS3622xs+ build (at the time of this tutorial, it’s broadwellnk-7.1.0-42661).

./ build
image 149

21. Update the command to install the latest broadwellnk version.

./ build broadwellnk-7.1.0-42661

22. If the command above states that there’s a newer version of the loader found, enter y and then run the command above again.

image 151

23. Select the Exit icon and then Shutdown.

image 156

24. When the virtual machine is no longer running, select Hardware and then add a new hard disk.

image 154

25. Select the correct storage location, set the disk size as 20GB, and then select Add.

image 155

26. Select Start to start the virtual machine.

image 157

27. After a few minutes pass, navigate to the URL below to find the new Xpenology system. If the system is found, you’ll see that you can connect to it!

NOTE: I had some issues and after selecting connect so I had to navigate to the URL below again and connect to the NAS, then install the OS.
image 158

28. You can now install the new DSM operating system! Download the correct version of DSM (what you selected earlier) from Synology’s Download Center (for the DS3622xs+), then install it. Just make sure that you don’t automatically install updates as they may break Xpenology.

image 159

29. After installing the DSM operating system, it should boot up!

NOTE: Please keep in mind that in Proxmox, you’ll have to pass the hard drives (either the drives themselves or something like a SAS controller) to the virtual machine!

Conclusion – How to Install Xpenology on Proxmox (DSM 7)

This tutorial looked at how to install Xpenology on Proxmox. The overall process on how to install Xpenology on Proxmox isn’t particularly complicated, but I want to reiterate that for authenticity and reliability purposes, you should really purchase a Synology NAS. This is a great way to test the OS and determine if you like it, but a device purchased from Synology directly will have much greater support.

Thanks for checking out the tutorial on how to install Xpenology on Proxmox. If you have any questions on how to install Xpenology on Proxmox, please leave them in the comments!

Please share if this helped you!