Jump to content
XPEnology Community

Esxi DSM 6 ovf deploy - Jun's loader


koroziv

Recommended Posts

I made some posts a while ago with this image for an easy install on Esxi; from time to time someone has issues with the installation, so here is a topic only for Esxi installs, hoping that this will make the info easier to access.

 

First :

- This is Jun's loader 1.01 (thanks), I just changed the vm version and some settings in it.

- The instructions for editing the grub are also from other users in this forum, can't remember their names now but many thanks to them too, for helping with the linux commands; if I manage to find their posts again I will add their names here.

 

hw10-xpeno6-v1.01:

https://mega.nz/#!Vk40FCDT!r2ertz7Eyoeh ... W2p1GLgzfs

 

hw10-xpeno6.1 - this is with 1.02alpha loader (thanks jun); dsm already installed, use this user/pass :admin/123456

https://mega.nz/#!UpQgiYRS!yFQmPmuAqcdX ... sNVSWnKW70

Some users have problems with the 6.1 version, it can't get an ip; for me and others all is ok. Change mac/sn in grub.cfg if possible.

 

This is a hw version 10 vm, it should work on Esxi 5.5, 6.0 and 6.5; I used this ovf successfully on Esxi 6.0 and 6.5, mostly on hp gen8 microservers.

All you need to do after import is to add your drives and edit ram/cpu to your needs, then start the vm and continue with the install process. It will start with the vmware boot option automatically, and after the install you will not see the 50mb boot drive.

If you want to modify the grub cfg after install you need to set the boot drive as dependent or persistent before edit. But I see no need for abusing synology services, a free dns is all you need.

 

Here is how you can edit grub after dsm6 install (make sure the boot drive is NOT non-persistent for this to work):

SSH into dsm and type

echo 1 > /proc/sys/kernel/syno_install_flag

mount /dev/synoboot1 /mnt

/mnt/grub/grub.cfg

umount /mnt

 

or for using winscp to edit the file with notepad++ (vi editor is not that hard, but...):

 

1. Login using putty or any other ssh client with administrator account (usually "admin")

2. You will be asked for a password. Enter the one for the administrator account

3. You will get a command prompt

4. Enter: sudo su -

5. You will be asked for a password. Enter again the one for the administrator account

6. You will get a command prompt root@...

7. Enter command: synouser --setpw root your_new_root_password

 

For "your_new_root_password" please use the desired password for root account.

 

Nou you can do

SSH into dsm and type

echo 1 > /proc/sys/kernel/syno_install_flag

mount /dev/synoboot1 /mnt

login using winscp (user root and the password you set before) an go to /mnt/grub/ and edit grub.cfg Save and close editor when finished.

Get back to the ssh sesion and do

umount /mnt

Shut down dsm normally (not from esxi cli or webui) and edit the vm setting - change the boot drive back to non-persistent.

 

Here is another way to install on Esxi using the same loader (thanks vrm42):

 

"Jun's loader works fine with esx 6.0.

I did the following:

- open .vmx file with a text editor and change hw version from 12 to 11

- upload the files from the .zip to the datastore

- don't deploy .ovf, instead, just open server IP in web browser and login to the esx web page

- click on datastore and select register vm, select the .vmx file

- now you can return to vsphere client, edit your vm as you like

- I needed to remove nic and re-add a new one, don't forget to add an hdd

- open console, start vm, select vmware install from boot menu (keep pressing down arrow from the start, loader is very fast)

- open find.synology.com within your browser and install your nas (you need a dhcp server within the same ip segment)

- after that you can update to update-9 directly"

 

Here is a link to Jun's post with this loader, with all the info for it:

viewtopic.php?f=2&t=20216

 

Edit - SHR on dsm6:

edit synoinfo.conf located in /etc.defaults/synoinfo. conf

 

comment out / delete

support raid group = "yes"

 

then add

support_syno_hybrid_raid = "yes"

Edited by Guest
Link to comment
Share on other sites

Hi koroziv,

 

thanks for your instructions!

 

I've tried to follow it, using ESXi 6.5 (free) and imported the .ovf file including the .vmdk using the vSphere Web Client. After the import I only added a new harddisk with 20 GB capacity using the SCSI adapter. I decreased the amount of CPU from 4 to 2 and started the VM.

 

After seeing the boot menu for a second I now see this screen below - nothing more. The synology assistant does not find the Diskstation nor is there any other sign of life.

 

[Err - cannot upload any attachment here, what's the deal with this message: "Sorry, the board attachment quota has been reached.", so I will type it in here]

Intro:
This mod is brought to you by Jun....

Credit:
This mod contains up-to-date drivers compiled by Arcao...

Happy hacking.

Screen will stop updating shortly, please open http://find.synology.com to continue.
_

 

When I'm able to stop at the boot menu too choose a different item, e.g. the one with VMWare/ESXi, the very same happens.

 

What did a made wrong?

 

EDIT: tried the second approach, but have got a few questions:

"Jun's loader works fine with esx 6.0.

I did the following:

- open .vmx file with a text editor and change hw version from 12 to 11

Which .vmx did you use? Should I create a VM on my ESXi and use this .vmx?

- upload the files from the .zip to the datastore

Which .zip file was used here, Juns loader linked to the OP does only contain a .vmdk and a .ovf file

- don't deploy .ovf, instead, just open server IP in web browser and login to the esx web page

So, I should not use any of the files, which I can download from the OP?

- click on datastore and select register vm, select the .vmx file

Same question as above? Which .vmx file was used?

- now you can return to vsphere client, edit your vm as you like

- I needed to remove nic and re-add a new one, don't forget to add an hdd

- open console, start vm, select vmware install from boot menu (keep pressing down arrow from the start, loader is very fast)

Which menu item should I use? The one with VMware/ESXi or any of the others? Which one exactly?

 

cu

Michael

Link to comment
Share on other sites

sorry for the late reply

For the first attempt:

that screen is normal, you should be able to use (in browser) find.synology.com and continue with the install. If that fails to find the server, try the assistant app; if that also fails try to find all the ip's allocated in your lan. Do that with an app or go in your router administration page for a dhcp client list, you should find in there everything in your lan.

You don't need to choose the esxi option at boot, the loader starts with that by default (on my image), and with jun's you only need to select it one time, it always remembers the last option used.

For the second method :

the zip from jun's (1.01) is here https://mega.nz/#F!18kB1BTB!1ft3N5Hnrcnqsneu0aQUkA

that is the link posted in his topic first post

it contains : ovf, vmx, synoboot image and synoboot vmdk

-you edit his vmx

-put all the files on a folder in the datastore (use the edited vmx not the original one)

-from the esxi web client you register an vm usig the edited vmx

-at first boot choose the esxi option

 

If you need any help send me a pm, we can start a teamviewer session and I'll try to see what is wrong.

Link to comment
Share on other sites

  • 2 weeks later...

All i can say is thank you very much. Everything worked like a charm.

 

My setup: ESXi 6 with PCI passthrough IBM M1015 (flashed to IT mode) with 8 drives

Steps i have done:

- Import new VM (configured with 2CPU

- Shutdown old VM

- Add PCI passthrough adapter to new VM

- Set Memory reserve to the same amount as configured memory value (VM wouldn't start without)

- Turn on VM

- Manually install PAT from Synology

- Everything worked

- Update Packages

- Update DSM6 to Update 9

Link to comment
Share on other sites

  • 2 weeks later...

Thanks for the detailed instruction in the pdf :smile: I didn't tested the vm but everything should be ok. I recommend posting a separate link with only the pdf.

Here is an working DSM 6.1 vm, with Jun's alpha loader for 6.1

https://mega.nz/#!dko1GTiL!8_lIQsUPbkPq ... iKepS2Nfe4

user- admin

pass- 123456

it is hw version 13, so only for esxi 6.5

I removed the serial port and one of the usb ports (it had two) and changed the controller from parallel to paravirtual before installing; 2cpu, 2gb ram, 16gb drive added for install (thick). It is up and running on an hp gen8 microserver, didn't had the time to test package functionality.

 

Edit: Deploy the vm using the old vsphere app; for some reason it gives some error from web-ui. After deployment you can use the web-ui to edit the vm settings, vsphere can't do that.

Edited by Guest
Link to comment
Share on other sites

Thanks for the detailed instruction in the pdf :smile: I didn't tested the vm but everything should be ok. I recommend posting a separate link with only the pdf.

Here is an working DSM 6.1 vm, with Jun's alpha loader for 6.1

https://mega.nz/#!dko1GTiL!8_lIQsUPbkPq ... iKepS2Nfe4

user- admin

pass- 123456

it is hw version 13, so only for esxi 6.5

I removed the serial port and one of the usb ports (it had two) and changed the controller from parallel to paravirtual before installing; 2cpu, 2gb ram, 16gb drive added for install (thick). It is up and running on an hp gen8 microserver, didn't had the time to test package functionality.

Doh! that's cool!

Link to comment
Share on other sites

You have to deploy from ovf

 

Inviato dal mio PLK-L01 utilizzando Tapatalk

I got it up and running Thank god....

 

 

 

Sent from my XT1565 using Tapatalk

 

 

What vm did you deployed ? I ask because we have 3 in this topic. If it was mine I'll try to find out what was the issue and correct it.

Edit:

Tested mine and there are issues when using web-ui to deploy the vm; that is strange because the export was done using the webui.

Using vsphere 6 the deploy works fine; but to edit the vm you have to use the web-ui (after deploy)

Edit 2:

Here is one with hw version 10; deploy from webui works for me, I tested this one. It's the same vm, same user/pass.

https://mega.nz/#!UpQgiYRS!yFQmPmuAqcdX ... sNVSWnKW70

Link to comment
Share on other sites

Thanks Koroziv, for the latest and greatest DSM 6.1 Virtual Machine OVF and disk files. Tested on ESXI 6.5 running on a Dell PowerEdge R420.

The VM on ESXI hardware version 13 is running fine, also with packages installed.

 

Here's the link to the installation PDF as requested (its modified to use with the latest DSM 6.1, build by Koroziv) :

 

https://dl.dropboxusercontent.com/u/501 ... %206.5.pdf

 

A copy of the DSM 6.1 Virtual Machine OVF and disk files, (build by Koroziv) build on ESXI hardware version 13 (so only for esxi 6.5 !), you can download here:

 

https://dl.dropboxusercontent.com/u/501 ... -15047.zip

 

Again, all the kudo's to Koroziv for sharing his knowledge !

Link to comment
Share on other sites

I've tried to deploy both ovf and copy to ESXi 5.5 server (and WS12) none of them works.

The deploy works but I cannot se it in Synology Assistant.

 

I've tried to remove and add network (e1000), still nothing.

 

I' ve also explicitly added MAC to the DHCP server....nothing.

 

The VM boots and the console shows: The screen will stop updating shortly

 

What am I doing wrong?

Link to comment
Share on other sites

I've tried to deploy both ovf and copy to ESXi 5.5 server (and WS12) none of them works.

The deploy works but I cannot se it in Synology Assistant.

 

I've tried to remove and add network (e1000), still nothing.

 

I' ve also explicitly added MAC to the DHCP server....nothing.

 

The VM boots and the console shows: The screen will stop updating shortly

 

What am I doing wrong?

Did you try force install? That did the trick for me...

 

Sent from my XT1565 using Tapatalk

Link to comment
Share on other sites

I've tried to deploy both ovf and copy to ESXi 5.5 server (and WS12) none of them works.

The deploy works but I cannot se it in Synology Assistant.

 

I've tried to remove and add network (e1000), still nothing.

 

I' ve also explicitly added MAC to the DHCP server....nothing.

 

The VM boots and the console shows: The screen will stop updating shortly

 

What am I doing wrong?

Did you try force install? That did the trick for me...

 

Sent from my XT1565 using Tapatalk

 

Yes, I've tried all 4 alternatives....same result. Nothing happens.

Is there a way to find out whats wrong?

Link to comment
Share on other sites

I've tried to deploy both ovf and copy to ESXi 5.5 server (and WS12) none of them works.

The deploy works but I cannot se it in Synology Assistant.

 

I've tried to remove and add network (e1000), still nothing.

 

I' ve also explicitly added MAC to the DHCP server....nothing.

 

The VM boots and the console shows: The screen will stop updating shortly

 

What am I doing wrong?

Did you try force install? That did the trick for me...

 

Sent from my XT1565 using Tapatalk

 

Yes, I've tried all 4 alternatives....same result. Nothing happens.

Is there a way to find out whats wrong?

I'll go fire up my server in an hour and see how I have the settings.

 

Sent from my XT1565 using Tapatalk

Link to comment
Share on other sites

I've tried to deploy both ovf and copy to ESXi 5.5 server (and WS12) none of them works.

The deploy works but I cannot se it in Synology Assistant.

 

I've tried to remove and add network (e1000), still nothing.

 

I' ve also explicitly added MAC to the DHCP server....nothing.

 

The VM boots and the console shows: The screen will stop updating shortly

 

What am I doing wrong?

Did you try force install? That did the trick for me...

 

Sent from my XT1565 using Tapatalk

 

Yes, I've tried all 4 alternatives....same result. Nothing happens.

Is there a way to find out whats wrong?

I'll go fire up my server in an hour and see how I have the settings.

 

Sent from my XT1565 using Tapatalk

Just noticed your running 5.5 it will only work on ESXI 6.5

 

Sent from my XT1565 using Tapatalk

Link to comment
Share on other sites

The hw 10 vm should work in esxi 5.5. I can't test but that's why I chose hw version 10 and not 11 or 12, many use the old 5.5.

In ws12 I can import and run hw10 version with no issues, didn't try the hw13 one.

What hardware are you using?

 

Sent from my SM-G930F using Tapatalk

Link to comment
Share on other sites

The hw 10 vm should work in esxi 5.5. I can't test but that's why I chose hw version 10 and not 11 or 12, many use the old 5.5.

In ws12 I can import and run hw10 version with no issues, didn't try the hw13 one.

What hardware are you using?

 

Sent from my SM-G930F using Tapatalk

 

I'm using the following :

 

HP Proliat DL380 G7

ESXi 5.5

(standard/built in network and controller)

 

I have a lot of other VM's running on this host and they work fine.

I have only 1 LAN interface active on the ESX and all other VM's are using it fine.

DHCP works to other VM's.

Is there a way to what the console says?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...