Digital Posted February 18, 2018 Share #1 Posted February 18, 2018 Hi everyone, This is a quick tutorial about installing DSM 6.1.5 on ESXi 6.5. I spent quite some time trying to make it work and I had to use different tutorials to find the match working on my system. That is why I uploaded this tutorial. One of the main problem I got was making my virtual interface getting an IP from my DHCP, I realised it was because of a mismatch between the mac address in the grub.cfg and the mac address of the virtual interface. The second issue, during the install, no disks were shown, it is because they were tagged to a scsi controller and it only work in IDE or SATA. (I choose IDE) The third issue was an error message I was getting during the installation of DSM: ”Failed to install the file. The file is probably corrupted. (13)”. This one because I was using the vmdk of V1.01 for DSM 6.0.2 from this link: ” https://mega.nz/#F!yQpw0YTI!DQqIzUCG2RbBtQ6YieScWg!LAZmSagJ” The tutorial: First, we need to download these 3 files: 1. DS3617xs 6.1 Jun’s Mod V1.02-alpha.zip https://mega.nz/#F!BtFQ2DgC!JgomNP3X8V9EuwxL4TXbng!5kcjyJ7R 2. synoboot.img https://mega.nz/#F!BtFQ2DgC!JgomNP3X8V9EuwxL4TXbng!R4VmQbaC 3. DSM_DS3617xs_15254 (Last DSM version) https://archive.synology.com/download/DSM/release/6.1.5/15254/ ------------------------------------------------------------------------------ Unzip DS3617xs 6.1 Jun’s Mod V1.02-alpha.zip and open the folder. Then, replace the file synoboot.img with the specifically downloaded before (It is 1.02b version) Remove the files DS3615.ovf and ds3615.vmx as we don’t need them. Upload the two files synoboot.img and synoboot.vmdk to the esxi. Create a new VM. The setting are : 2 CPU 2 GB Remove the default HDD and add an existing Hard Drive And select the synoboot.vmdk previously uploaded and put it as IDE Controller 0 and as Master Add a new Hard Drive, 16 GB, IDE Controller 1 as Master and with Thick provisioned, Eargerly zeroed (For better performances) Make sure your Network Adapter is mapped to your network. Click Next and finish. Wait for the VM to be created as it needs to setup a Thick HDD. We will need to power on the VM to get an IP and Mac Address. From now, you shouldn’t have a network working on the VM, the reason is because the mac address in your grub.cfg doesn’t match the one from your interface. We will need to edit this file. Go to the options after powered on and check the Mac address of the adapter. In our case: 000C29FD75B1 Shutdown the VM, go to your windows and install OSFMount: https://www.osforensics.com/tools/mount-disk-images.html Mount new, select the synoboot.img from the folder used before on the windows. Mount Partition 0, 15MB Make sure to uncheck Read-only drive Go to the mounted drive, Grub folder and edit grub.cfg with notepad++ We will need to input the mac1 address with the interface we got previously. Save Dismount the virtual disk and upload the new edited version of your synoboot.img to the esxi. Power on the VM. From your windows, open http://find.synology.com or install the synology assistant. https://www.synology.com/en-us/support/download/DS3617xs#utilities You should be able to find your DSM and process the installation. Select manual install and use the .pat previously downloaded. And that’s it. Your Synology should restart once and you should be able to setup your personal settings. The tutorial is finished. I hope it was enough clear for you and it will help. Kind regards, Digital 2 2 Quote Link to comment Share on other sites More sharing options...
aspric3 Posted February 23, 2018 Share #2 Posted February 23, 2018 AWESOME!!! You saved my day! After couple of hours of testing with different guides. Love you man 1 Quote Link to comment Share on other sites More sharing options...
Clutzz Posted February 26, 2018 Share #3 Posted February 26, 2018 (edited) Cheers Digital! For someone like me that's new to Xpenology and ESXi, this is a great tutorial - appreciate the time and effort you put into coming up with this. Thought I'd share my experience with this install. DS3615xs Files: Instead of the DS3617xs files, I used the DS3615xs set from the above. I haven't experienced any problems (well at least not that I can attribute to the loader). HDDs Not Visible: Using Raw Device Mapping (RDM), I mapped 5 SATA HDDs to Xpenology. On my first Xpenology installation attempt, Xpenology only saw 5 HDDs: 2 were the disks created as part of the tutorial, and a further 3 related to the RDM drives. This meant 2 RDM drives were missing. So within grub.cfg, I changed sata_pcislot=8 (was =5, and I'm guessing I could have got away with =7), rebooted, and Xpenology was then able to see all 5 SATA HDDs via RDM. I haven't needed to touch SataPortMap. Not sure if this was the correct way to resolve my issue but seems to have worked. MAC Address: I inserted the actual MAC address of my NIC into grub.cfg instead of the MAC address reported under VM - Edit Settings (they were different). Haven't had any issues. Boot Menu: I've tried using both the Bare Metal install option (which is what I think is used if you follow the tutorial above) and the ESXi install option. I don't know what the difference is between them but to my untrained eye they seem the same. So all good you think, but I do have an issue.... When I attempt to Shutdown Xpenology (from within Xpenology), it doesn't Shutdown. After looking at the console it appears Xpenology maybe Restarting as I can see the Boot menu pop up again, and then presumably continue to load once the menu timer runs out. I suspect this is where my blissful ignorance is biting me in the backside. Should I be seeing the boot menu again? Is there a simple fix? Appreciate any help. Thanks Clutzz Edited February 26, 2018 by Clutzz 1 Quote Link to comment Share on other sites More sharing options...
Vladislav Posted March 4, 2018 Share #4 Posted March 4, 2018 When I try to mount synoboot.img from here https://mega.nz/#F!BtFQ2DgC!JgomNP3X8V9EuwxL4TXbng!5kcjyJ7R my windows 10 and OSFmount say that the disk image file is corrupted. Any ideas ? Thank you. Quote Link to comment Share on other sites More sharing options...
Dfds Posted March 4, 2018 Share #5 Posted March 4, 2018 All current loaders can be found here: I suggest that you download the relevant loader from here & try again. Quote Link to comment Share on other sites More sharing options...
Polanskiman Posted March 6, 2018 Share #6 Posted March 6, 2018 On 3/4/2018 at 11:59 PM, Vladislav said: When I try to mount synoboot.img from here https://mega.nz/#F!BtFQ2DgC!JgomNP3X8V9EuwxL4TXbng!5kcjyJ7R my windows 10 and OSFmount say that the disk image file is corrupted. Any ideas ? Thank you. On 3/5/2018 at 2:42 AM, Dfds said: All current loaders can be found here: I suggest that you download the relevant loader from here & try again. The link provided by the user is fine as it is the source (jun's repo). I suggest you try downloading again. Quote Link to comment Share on other sites More sharing options...
George Posted March 8, 2018 Share #7 Posted March 8, 2018 Where do I download DSM 6.1.5-15254.pat file? Can't see it on MEGA with the june 1.0.2b boot loader ? or can I pull it directly of www.synology.com 's download site/page. G Quote Link to comment Share on other sites More sharing options...
sbv3000 Posted March 8, 2018 Share #8 Posted March 8, 2018 2 minutes ago, George said: Where do I download DSM 6.1.5-15254.pat file? Can't see it on MEGA with the june 1.0.2b boot loader ? or can I pull it directly of www.synology.com 's download site/page. G from the syno archive https://archive.synology.com/download/DSM/ Quote Link to comment Share on other sites More sharing options...
George Posted March 8, 2018 Share #9 Posted March 8, 2018 ok, was not thinking that the pat file from synology compiled for the ARM architecture would be useable on the intel architecture. (another thing learned ) thanks. G Quote Link to comment Share on other sites More sharing options...
b0fh Posted March 8, 2018 Share #10 Posted March 8, 2018 @George - That is not ARM software. That is Intel. Quote Link to comment Share on other sites More sharing options...
George Posted March 8, 2018 Share #11 Posted March 8, 2018 8 minutes ago, b0fh said: @George - That is not ARM software. That is Intel. hehehe and as you typed that I just remembered reading the Datasheet for the DS3615xs and remember reading the mention of a i3 CPU. My mistake, you are all correct... thanks. G Quote Link to comment Share on other sites More sharing options...
kachunkachunk Posted March 12, 2018 Share #12 Posted March 12, 2018 On 2/25/2018 at 11:25 PM, Clutzz said: Boot Menu: I've tried using both the Bare Metal install option (which is what I think is used if you follow the tutorial above) and the ESXi install option. I don't know what the difference is between them but to my untrained eye they seem the same. They are close, but not the same. Baremetal will not mask the local SATA controller in the VM, while ESXi will. I don't know what other changes there are (if any), though. The idea behind ESXi mode is that you can use the loader as a virtual SATA disk, and have it disappear from DSM, not taking up a drive slot. Switching between the two has caused me problems between boots (installation recovery mode). I strongly recommend editing Grub and setting the default selection to ESXi if you are planning on using the other boot option even once. Just to also note, it counts from zero, so "2" will be the third grub menuentry selection. Quote Link to comment Share on other sites More sharing options...
bmac6996 Posted March 29, 2018 Share #13 Posted March 29, 2018 Wanted to add.. running esxi 6.5 and using 3617 latest 6.1.6. Choosing the option ESXI in the bootloader, at most I can move forward with the DSM upload but after that reboot, it throws out the error and cannot see the hard drives. I've tried it with SCSI, SATA and even IDE. Choosing bare metal, will work but will show the 50 MB VMDK file as an actual hard drive plus any hard drives you added. That worked using IDE, SATA, (and if I remember, SCSI). Using IDE, SATA, (maybe SCSI), does show you different hard drive numbers/configurations when you go look at your drives under storage FYI. I read somewhere that masking the VMDK hard drive file was working with earlier version of the 6.1 DSM but something must of changed and broke that. So there is a way to get it to work, but my OCD side says gaining that ONE sata drive space back should be possible. I have been experimenting with maybe somehow emulating (like in a real Bare Metal installed) booting the CD-ROM/Floppy Drive with the IMG/ISO file and having the bootloader load that way. No luck so far. Any attempts of mounting the IMG file or converting the IMG to ISO, ESXI just does not boot and/or recognize the file(s) correctly (i'm assuming). Quote Link to comment Share on other sites More sharing options...
flyride Posted March 29, 2018 Share #14 Posted March 29, 2018 1 hour ago, bmac6996 said: Wanted to add.. running esxi 6.5 and using 3617 latest 6.1.6. Choosing the option ESXI in the bootloader, at most I can move forward with the DSM upload but after that reboot, it throws out the error and cannot see the hard drives. This is the same problem I'm encountering specifically with the 6.1.6 upgrade. Try using 6.1.5 for now until we figure out what's going on. Quote Link to comment Share on other sites More sharing options...
bmac6996 Posted March 29, 2018 Share #15 Posted March 29, 2018 Just for clarification: Are you confirm that a clean install using 6.1.5 DSM and selecting the ESXI option in the boot loader and having it on either SATA, IDE, or SCSI will work? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
flyride Posted March 30, 2018 Share #16 Posted March 30, 2018 The synoboot.vmdk referencing the bootloader img should be connected via the default virtual SATA controller, and it will be automatically hidden when you boot with the ESXi option. No other devices should be attached to that SATA controller. I have had the best results with VMDK's for data drives by adding a separate VM SCSI controller and connecting the virtual disk to that. If you have a plan to passthrough a physical SATA controller and all the drives attached to it, that generally works without much fanfare assuming that DSM has driver support for the hardware. Quote Link to comment Share on other sites More sharing options...
Polanskiman Posted March 30, 2018 Share #17 Posted March 30, 2018 15 hours ago, flyride said: This is the same problem I'm encountering specifically with the 6.1.6 upgrade. Try using 6.1.5 for now until we figure out what's going on. In my opinion, although I haven't looked in detail, the problem is coming from a module in the DS3617xs loader. If you use DS3615xs it will work. Quote Link to comment Share on other sites More sharing options...
bmac6996 Posted March 30, 2018 Share #18 Posted March 30, 2018 (edited) I did test. Clean install using the 3617 loader, DSM version 6.1.6. On ESXI selecting the baremetal option in the bootloader, I have to do the initial install have all the drives on the SATA controller. Once installed, I have to install another SATA controller, move the spare HD there and then i can use the ESXI option and the vmdk HD will disappear. If i try to move the spare HD to a SCSI controller, DSM won't see the HD and will not boot. I also did test using the DSM 6.1.5 version also. With that, I still have to install everything on SATA but I can move the HD to the SCSI controller and use the ESXI bootloader option. If i have time and am bored.. I'll try the 3615 loader in ESXI. Edited March 30, 2018 by bmac6996 grammer Quote Link to comment Share on other sites More sharing options...
DarioP Posted April 18, 2018 Share #19 Posted April 18, 2018 hello guys, I have a problem that I can not solve, after every reboot requested by the update I can not find the VM in the network anymore. I followed the guide step but neto to do. changed the mac address, type of network card, serial but nothing to do, the only way to start the Vm is to recharge the img file is to reconfigure the settings (the data remain) did it happen to you? I have not been updating the DSM for a long time now Thank you Quote Link to comment Share on other sites More sharing options...
sp00n Posted May 22, 2018 Share #20 Posted May 22, 2018 if I try to install DSM as a VM in a virtualized environment that is already protected by ZFS how should I add disks to it? JBOD single drive? Quote Link to comment Share on other sites More sharing options...
havast Posted June 9, 2018 Share #21 Posted June 9, 2018 Hope someone can help me how can i add virtual SSD for cache to DSM.. My setup is: Gen8 Microserver ESXI 6.7 Jun 1.02b loader DS3617xs 16GB MicroSD (ESXI installation) 250GB SSD (50 Virtual disk to Syno, another 100 to Windows Server) 120GB SSD (host swap, i would create 2x20GB virtual SSD to this drive) 2TB HDD (1.5TB virtual HDD to Synology, what i would cache with 1*20GB virtual SSD) 4TB HDD (3.5TB virtual HDD to Synology, what i would cache with the another 1x20GB virtual SSD) Syno VM config: loader, 50mb as virtual SCSI device, virtual disks as SATA drives. Loader working in barmemetal mode, i cant see the 50mb loader disk, SATA mapping is good, everything is fine, it's upgrading good, no errors so far. Just i can't add drives to the VM as SSD, the DSM recognize all drives as vmware virtual HDD. Quote Link to comment Share on other sites More sharing options...
JMRR Posted June 9, 2018 Share #22 Posted June 9, 2018 Because its a virtualized layer, you can only do that if you passthrouh the sata controler, that way, dsm will use disks with direct access to hardware.Evem rdm wont work because its well a pointer to a maped disk.If you realy need firts read about passttrough, and all implications.Sent from my iPad using Tapatalk Quote Link to comment Share on other sites More sharing options...
Ikyo Posted August 13, 2018 Share #23 Posted August 13, 2018 If anyone finds a working version of VMWare Tools let me know. My old version errored out when I upgraded to 6.2 Quote Link to comment Share on other sites More sharing options...
Stefan Posted August 19, 2018 Share #24 Posted August 19, 2018 Does anyone have an actual guide for installing DSM 6.2 with Jun’s Mod V1.03b on ESXi 6.7? Quote Link to comment Share on other sites More sharing options...
luchuma Posted August 19, 2018 Share #25 Posted August 19, 2018 (edited) On 8/14/2018 at 12:47 AM, Ikyo said: If anyone finds a working version of VMWare Tools let me know. My old version errored out when I upgraded to 6.2 http://spk.4sag.ru/?fulllist=true open-vm-tools_x64-6.1_10.1.15-4 14 hours ago, Stefan said: Does anyone have an actual guide for installing DSM 6.2 with Jun’s Mod V1.03b on ESXi 6.7? its almost the same you need synoboot.vmdk from 6.0.2 loader and synoboot.img from Jun’s Mod V1.03b with edited grub.cfg while creating new vm remove default disk and scsi device in the network section set the same mac as in the grub.cfg add sata device add existing vmdisk synoboot.vmdk as sata 0:0 add new sata device add new disks as sata 1:0, 1:1 and so on when you edit grub.cfg you dont need to change vid/pid/mac/sn but you can remove baremetal instal and reinstall section or mark it with # sign like this #menuentry "DS3615xs 6.2 Baremetal $VERSION" --class os { # set img= # savedefault # loadlinux 3615 usb # loadinitrd # showtips #} # #menuentry "DS3615xs 6.2 Baremetal $VERSION Reinstall" --class os { # set img= # loadlinux 3615 usb mfg # loadinitrd # showtips #} # #menuentry "DS3615xs 6.2 Baremetal AMD $VERSION" --class os { # set img= # set zImage=bzImage # savedefault # loadlinux 3615 usb # loadinitrd # showtips #} menuentry "DS3615xs 6.2 VMWare/ESXI $VERSION" --class os { set img= savedefault loadlinux 3615 sata loadinitrd showtips } Hope someone can help me how can i add virtual SSD for cache to DSM.. My setup is: Gen8 Microserver ESXI 6.7 Jun 1.02b loader DS3617xs 16GB MicroSD (ESXI installation) 250GB SSD (50 Virtual disk to Syno, another 100 to Windows Server) 120GB SSD (host swap, i would create 2x20GB virtual SSD to this drive) 2TB HDD (1.5TB virtual HDD to Synology, what i would cache with 1*20GB virtual SSD) 4TB HDD (3.5TB virtual HDD to Synology, what i would cache with the another 1x20GB virtual SSD) Syno VM config: loader, 50mb as virtual SCSI device, virtual disks as SATA drives. Loader working in barmemetal mode, i cant see the 50mb loader disk, SATA mapping is good, everything is fine, it's upgrading good, no errors so far. Just i can't add drives to the VM as SSD, the DSM recognize all drives as vmware virtual HDD. maybe install 6.2 baremetal on hp and try use vmm from synology. im considering it for myself Edited August 19, 2018 by luchuma Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.