Set up a Virtual Machine running Synology DiskStation OS 6.x
The acticle describes the process of installing Synology DiskStation OS 6.x on a VirtualBox or VMWare VM.
The Synology DiskStation is currently one of the best NAS on the market and provides a huge feature set. For this reason, it would be desirable to be able to test the functions in advance or simply to play around a little. One solution to this is virtualization, since the operating system of the DiskStation is freely available. Installing Synology DSM 5.2 operation system using a XPEnology loader isn't that complicated. But currently there's no XPEnology loader for DSM version 6 available. Fortunately there are other loaders around.
The following procedure describes the setup of a VirtualBox and a VMWare virtual machine and uses a special loader which supports DSM 6.1 on a virtual DS3517xs disk station.
VirtualBox
Create a new VirtualBox virtual machine
- Download and install VirtualBox x.y.z platform packages and the VirtualBox x.y.z Oracle VM VirtualBox Extension Pack (Support for USB 2.0/3.0 devices)
- Install VirtualBox, start VB Manager and go to File Preferences Extensions and install the Extension Pack
- In the VirtualBox Manager click New
- Name: "SynologyNAS", Typ: Linux, Version: Linux 2.6 / 3.x / 4.x (64-bit) Next
- Memory size >= 2GB (2048MB) Next
- Download
DS3617xs 6.1 Jun's Mod V1.02-alpha
and unzip the files to the newly created virtual machine folder - Use an existing virtual hard disk file Browse for synoboot.vmdk Create
Configure the VirtualBox virtual machine
- Go back to VirtualBox Manager
- Settings System Motherboard Uncheck "Floppy" and "Optical" Move entry "Hard Disk" to the top position
- Next tab: Processor Number of CPUs = 2
- Settings Storage Remove Controller: IDE
- Settings Storage Controller: SATA Create new disk Size >= 8GB Create
- Settings Network
Attached to: Bridged Adapter; Advanced Promiscuous-Mode: Allow
All MAC Address: 0011322CA785 (The MAC address is set in
grub.cfg
insynoboot.img
/Partition 0 near line 25, entry setmac1=0011322CA785
. Refer to section Start the virtual machine to see how to open grub.cfg) OK - Continue with section Start the virtual machine
VMWare
Create a new VMWare virtual machine
- Download and install the latest VMWare Player or VMWare Workstation package. In my case, I use the older version no. 9 of VMWare Workstation.
- Download
DS3617xs 6.1 Jun's Mod V1.02-alpha
archive and unzip its contents. - OPTIONAL (if you're using an older VMWare version like I do)
- Open file
ds3615.vmx
in a text editor (e.g. Notepad++) and change the value of virtualHW.version to the appropriate value reflecting the major version number of your VMWare package. Additionally you might have to change the entryguestOS
because an older VMWare version does not support newer OS versions it doesn't know of. Since I'm using VMWare Workstation 9, I had to change the values as follows: - Open file
synoboot.vmdk
and editddb.virtualHWVersion
accordingly
- Open file
Configure the VMWare virtual machine
- Open VMWare and import the virtual machine: File Open...
ds3615.vmx
- Edit virtual machine settings Hardware Add... Hard Disk Next
> Use an existing virtual disk Browse... and select
synoboot.vmdk
Finish - Create a new virtual disk (SCSI node 0:1, >= 8GB)
- Exit Virtual Machine Settings OK
Start the virtual machine
- OPTIONAL: Edit file
grub.cfg
and increase the menu timeout of the loader Install and/or run OSFMount Mount new... Select image filesynoboot.img
Select "Partition 0" Uncheck "Read only drive" OK Open file/grub/grub.cfg
in a text editor Change the value ofset timeout='1'
(in seconds) - Power on the virtual machine Click in the VM window and select the first menu item "DS3617xs 6.1 Baremetal ..." by using or on your keyboard if it isn't already selected by default Enter (If you don't have enough time to access the menu, shutdown the VM and increase the menu timeout as described above)
- Even if the command line output does not allow further conclusions on activity, wait approximately 60 seconds until the VM has booted completely
- Open a browser and try to find the IP-Address of your currently started VM-DiskStation. Here are some
options:
- Open the web interface of your router and check the list of network connections. There should be an
entry named "DiskStation". Copy the IP-Address and open the page:
http://<IP-Address-VM-DiskStation>:5000
- Open
http://find.synology.com
in y browser. This page will help you to identify the VM-DiskStation within your network - Download Synology Assistant and start a network search
- Open the web interface of your router and check the list of network connections. There should be an
entry named "DiskStation". Copy the IP-Address and open the page:
- You should see the DiskStation welcome screen
Install the DiskStation OS
- Click the set up button
- Choose
manual install
and pick the DiskStation fileDSM_DS3617xs_15047.pat
from your local PC that you've downloaded earlier Click Install Now Confirm message dialog OK - Wait for the installation procedure to terminate Next
- Set up your DiskStation as you like (e.g. enable terminal, set static IP address, ...)
Links
- VirtualBox
https://www.virtualbox.org/wiki/Downloads - VMWare Player Download
https://my.vmware.com/de/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/12_0 - DS3617xs 6.1 Jun's Mod V1.02-alpha.zip
http://uploaded.net/file/vde6lns8 - Synology downloads for DS3617xs
https://www.synology.com/en-us/support/download/DS3617xs - [German] Grundlegende Befehle auf der Kommandozeile
http://www.synology-wiki.de/index.php/Grundlegende_Befehle_auf_der_Kommandozeile - DiskStation Administration
Commands
https://www.synology.com/en-global/support/developer#web_developer