Install Synology DSM on Virtual Machine

For my blog I do a lot of testing on my own ‘production’ Synology DS410. Because I’m hosting all my media and personal documents on this DS it will be very annoying if anything went wrong. I was thinking of buying a low priced DS (like the DS 212j) for testing when I discovered a community project called XPEnology. XPEnology is a modified Synology DSM firmware which runs on virtual hardware (and some physical hardware to), of course without any support from Synology but great for testing.

In this post I’ll guide you to the process of installing Synology DSM inside a virtual machine.

Installing the hypervisor

First we need some virtualisation software to run the virtual machine. I work a lot with VMware products but because VMware doesn’t support virtualized SATA controllers I can’t use that. A (free) alternative is Oracle VM VirtualBox, this piece of software from Oracle does support virtualized SATA controllers and disks and the XPEnology download contains a pre-configured virtual disk for VM VirtualBox. You can download Oracle VM VirtualBox at https://www.virtualbox.org/

Get XPEnology

You can download XPEnology at http://xpenology.com, the download link is available in one of the forum posts. In this guide I’m using the patched DS3612xs 4.2 Beta build 3161 pat file. After downloading and unpacking the package you’ll find 3 files;

  1. DSM_DS3612xs_3161.pat
    This is the modified DSM firmware to run on your virtual Synology DS (based on the Synology DS3612xs)
  2. SynoBoot_3612xs_4.2b.img
    This is a boot image witch emulate your hardware to be a Synology DS
  3. SynoBoot_3612xs_4.2b.vdi
    This is a virtual disk for Oracle VM VirtualBox containing the above image

Creating the virtual machine

Now we’re ready to create the VM. Open VirtualBox and click at the ‘New’ button.

vm_new

The wizard which will guide you trough the configuration of the VM will open. Select ‘Linux’ as type, ‘Linux 2.6 (64-bit)’ as version and click ‘Next’.

create_new_vm_step01

Choose an amount of RAM memory for the VM (minimal 512MB, I’m using 2048MB, the same minimum amount of the DS3612xs) and click ‘Next’.

create_new_vm_step02

In the next step we need to create a new virtual disk, this disk will represent the usable storage for your media and the Synology DSM operating system.

create_new_vm_step03

Choose your favorite type of disk.

create_new_vm_step04

Choose for ‘Dynamically allocated’ (Thin provisioned) or ‘Fixed size’.

create_new_vm_step05

Select a location, name and size for the disk and click ‘Create’ to create the VM and virtual harddisk.

create_new_vm_step06

Configure the VM for DSM

Now we’ve created the VM it’s time to change some settings, select the VM in VirtualBox and click ‘Settings’.

XPEnology_settings

Select ‘Storage’ and click the button next to ‘Controller IDE’ to add the XPEnology boot disk.

XPEnology_settings_step01

Click ‘Choose existing disk’.

XPEnology_settings_step02

Browse to and open the SynoBoot virtual disk.

XPEnology_settings_step03

Finally we need to alter the networking configuration. Click on ‘Network’ and set the adapter to ‘Bridged Adapter’. Change the ‘MAC Address’ to 00113208D62A, this is necessary for DS Assistant to detect the VM as Synology hardware. After you’ve changed the settings click ‘OK’.

XPEnology_settings_step04

The configuration part of the VM is now completed.

Installing DSM

The VM is now ready for DSM installation. For the installation process we use the Synology DS Assistant (the same way you would if you’ve to install a regular Disk Station). Download DS Assistant from the Synology Download Center (choose a random model, the DS Assistant is the same for all models).

Before we can detect and install DSM we have to power on the VM. Select the VM in VirtualBox and click ‘Start’.

XPEnology_startVM

The VM is ready when you see ‘Booting the kernel.’.

XPEnology_startVM02

Now you’ve to start the DS Assistant application and if you’ve done everything right it should detect the VM as a Synology DS3612xs.

DSA_step01

Now right-click the detected DiskStation and click ‘Install’.

DSA_step02

Select the .pat file from the XPEnology archive (don’t try an official Synology .pat file, it won’t work!) and click ‘Next’.

DSA_step03

Enter a password for the admin user and provide a name for your XPEnology.

DSA_step04

Accept the warning by clicking ‘OK’.

DSA_step05

Enter the network settings and click ‘Finish’.

DSA_step06

Sit back while DSM is being installed.

DSA_step07

And a few minutes later the installation is completed.

DSA_step08

Logon to DSM

Open a webbrowser and browse to the ip-address you’ve configured in DS Assistant. Logon with the username ‘admin’ and the password you’ve chosen during the installation and hit ‘Enter’. Enjoy testing Synology DSM!

Please note, this is a fully working version of Synology Disk Station Manager but not usable for production purpose. If like DSM consider buying one of there products http://www.synology.com/products/index.php?lang=enu.

DSM_login

DSM

 

Source: http://www.robvanhamersveld.nl/2013/01/21/install-and-test-synology-dsm-in-a-virtual-machine/

Advertisements

About Qiusheng Wu

Assistant Professor of Geography at Binghamton University, State University of New York

Posted on February 17, 2014, in Sci/Tech, Software and tagged , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

REDD+ for the Guiana Shield

Technical Cooperation Project

LidarBlog.com

Dr. Qiusheng Wu @ SUNY Binghamton

Writing Science

How to write papers that get cited and proposals that get funded

GIS In Ecology

Providing Training, Advice And Consultation On The Use Of GIS In Ecology

metrhispanic

On cities, land, ...

GeoAcademy

Open GIS: No Bounds

Scientia Plus Conscientia

Thoughts on Science and Nature

r4hydrology

Learning hydrology with R

Karl Hennermann

GIS at the University of Manchester

GIS and Science

Applications of geospatial technology for scientific research and understanding.

GISblog.com

GIS, Mapping, Remote Sensing, Geodata, Geospatial news

Whitebox Geospatial Analysis Tools

Open-source GIS development and spatial analysis with Whitebox GAT

TopoToolbox

MATLAB-based software for topographic analysis

Anything Geospatial – AnyGeo

Dr. Qiusheng Wu @ SUNY Binghamton

GeospatialPython.com

Dr. Qiusheng Wu @ SUNY Binghamton

Another GIS Blog

Dr. Qiusheng Wu @ SUNY Binghamton

ArcPy Café

Get all your ArcGIS Python Recipes here!

Planet Python

Dr. Qiusheng Wu @ SUNY Binghamton

%d bloggers like this: