Install XPEnology on Proxmox
Obtain the VM image
-
Go to Arc Loader website and copy
arc-{version}.img.zip
link. -
Go to proxmox console and run following commands
1 2 3 |
|
Create the VM
-
General
-
Select your
VM name
andID
-
Select
Start at boot
-
OS
-
Select
Do not use any media
-
System
-
Leave default
-
Disks
-
Delete the SCSI drive and any other disks
-
CPU
-
Set minimum 2 cores
-
Memory
-
Set minimum 4096 MB
-
Network
-
Leave default unless you have special requirements (static, VLAN, etc)
Confirm and finish. Do *NOT** start the VM yet.
Add the image to the VM
In the proxmox console run following commands
1 |
|
For example
1 |
|
Configure XPEnology VM
Select your XPEnology VM and go to the Hardware
tab. Select the Unused Disk
and click the Edit
button selecting SATA
as Bus/Device
.
Finally, we just need to set the sata0
drive as the boot drive
Configuring Arc
Time to boot the VM and configure Arc. You can use the Console
tab on the UI to interact with it.
On first boot, it will automatically boot into Config Mode
which is exactly what we need
Let’s start by choosing the Synology model we want to impersonate, in this case I will choose DS920+
, then choose the latest DSM version and DSM build and press OK
Select No
.
Select No - Install with random Serial/Mac
Arc allows for a series of add-ons
for things like removing limitations of DSM, or allow for extra hardware. I leave it default for now.
We’re ready to build the loader - select Yes
After patching the DSM download, we get a final confirmation before rebooting
Once rebooted, the default boot option will be DSM mode
Configure HDD
Adding a Storage Device to XPEnology VM in Proxmox
To add a storage device to your XPEnology VM in proxmox, follow these steps:
Step 1: List available disks
Open the proxmox console and run the following command to list all available disks in your system:
1 |
|
This command outputs a list of disks along with their corresponding device IDs. The output will look something like this:
1 2 3 |
|
Step 2: Identify the disk to passthrough
Locate the hard drive ID that you want to passthrough to your XPEnology VM. For example, if you want to passthrough the following disk ata-WDC_WD20EFPX-68C4TN0_WD-WX32D94J0KY1
Step 3: Passthrough the disk to XPEnology VM
1 |
|
Replace <VM_ID>
with your VM’s ID.
Step 4: Restart the VM
Finally, restart the VM to apply the changes.
Passthrough HDD Serial Number
Install lshw to verify the HDD serial:
1 |
|
Execute following command:
1 |
|
Sample output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
Open /etc/pve/qemu-server/<VM_ID>.conf
, locate the sata3
configuration, and add the serial:
1 |
|
Note
You can assign static IP address for XPEnology VM in mikrotik using following script
1 2 |
|