Skip to main content
  1. Posts/

Xpenology DSM 6.1.x on VMware ESXi 7

·713 words·4 mins·
The Masked Farter
Author
The Masked Farter
😷 🍑 :dashing_away:
Table of Contents

Goals
#

To build a virtual DSM machine starting with just the synoboot.img.

VMware Steps
#

Steps to create a VM with the hardware necessary to boot Jun’s synoboot image

  1. Create new VM
  2. Configure similar to table below
    1. Important settings are the Guest OS name, NIC type, NIC MAC address, Hard disk 1 capacity, Hard disk 1 device node
  3. Add any additional hard disks, attached to the second SATA controller starting at position 1:0
  4. In the VM’s CD/DVD drive, mount a Linux Live ISO (I used Fedora 33 Workstation). All you really need is something that has dd and a browser.
  5. Boot VM, booting into the Linux OS.

VM - Linux Steps
#

Steps to write the synoboot.img to your VM’s VMDK

  1. Once Linux is booted, use it’s browser to download synoboot.img
  2. Write synoboot.img to the 50MB disk
    # use sudo fdisk -l to identify the 50MB disk for the following command
    sudo dd if=synoboot.img of=/dev/sda
    
  3. Restart the VM
  4. Disconnect Linux Live ISO; you want to make sure you’re booting from the 50MB disk now.
  5. If you’re successfully booting from the 50MB disk, then grub should load and present you with 3 boot options: choose the ESXi option (this menu will disappear quickly)
  6. Once the VM is on the Happy hacking screen, from your main computer (on the same network as the VM) run Synology Assistant and search for devices (I had better luck running this on Windows vs macOS. If Windows doesn’t automatically ask to allow the Synology Assistant through the firewall, then you might need to manually allow it or disable the Windows Firewall)

DSM Install
#

  1. If your vDSM is found, the Synology Assistant should pop up the EULA agreement (if it doesn’t pop up you can select the discovered device and click Connect). Once you’ve agreed, your browser should open to the Set up screen to install/setup DSM.
  2. Click Set up
  3. Click Manual Install
  4. Click Browse and select the .pat file downloaded from Synology (Download a base release [without a -number at the end]. I used DSM_DS918+_23739.pat but have since upgraded to DSM 6.2.3-25426)
  5. Click Install Now
  6. Acknowledge that all data will be erased from the existing disks
  7. The DSM install will proceed
  8. After install completes a reboot counter will show. You can monitor the VM console to see once the VM has rebooted and is back on the Happy hacking screen. Then you should be able to load the DSM web console at https://<IP address>:5000 (IP address is shown in the Synology Assistant) and continue the DSM setup
  9. Complete the administrator account setup screen: assigning the hostname, and creating the administrator user
  10. Complete the DSM Update and Maintenance setup screen: Choose the option to be notified about updates, avoid automatic updates
  11. On the Set up QuickConnect screen, click the link at the bottom of the page to Skip this step
  12. On the final setup screen, leave the option to share your location with Synology unchecked
  13. DSM should load normally

DSM Setup
#

  1. Open Storage Manager and create a volume, the details of which are up to you. This step is required before you’ll be able to install any packages.
  2. Download the latest open-vm-tools for your selected model/architecture. For the DS918+ I used the latest apollolake tools.
  3. Open Package Center, click Manual Install
  4. Click Browse and find the open-vm-tools_*.spk file you downloaded above, and complete the package install.

VM Configuration Table
#

SettingValue
Guest OS nameOther 3.x Linux (64-bit)
Virtualization Based SecurityDisabled
CPUs2
Memory8 GB
NIC 1 typeE1000E
NIC 1 MAC address00:11:32:12:34:56 - This must match the value present inside the synoboot.img’s grub.cfg. The value provided here matches the value as of the 1.04b release
SATA Controller 0
Hard disk 1 Capacity50 MB - This is the size of the synoboot.img which we’ll be writing to this disk
Hard disk 1 Virtual device nodeSATA(0:0) - This is the boot disk so we want it as the first disk
Hard disk 1 ModeDependent
SATA Controller 1Attach any additional disks here
Hard disk 2 Capacity40 GB
Hard disk 2 Virtual device nodeSATA(1:0)
Hard disk 2 ModeDependent
IDE Controller 0
CD/DVD Drive 1 Status[X] Connect At Power On
CD/DVD Drive 1 CD/DVD MediaISO file - iso/Fedora-Workstation-Live-x86_64-33-1.2.iso

Related

Docker Contexts & Synology
·2042 words·10 mins
Matthew P. Slanker
A place for various projects
·16 words·1 min
Matthew P. Slanker