KaraokeStu

DSM 6 Boot Image for Hyper-V

Recommended Posts

Hi guys,

 

Has anyone managed to get a boot loader working for Hyper-V?

 

I know we have some working on ESXi and VMWare, but I'm running Hyper-V and really want to help test packages against DSM 6 (I'm a member of the SynoCommunity)

 

Cheers,

 

Stu

Share this post


Link to post
Share on other sites

I want to use Hyper-V server 2016 when it becomes available so I am curious about this as well.

However, in the very long 'working dsm6'-post I saw people talking about this working with Hyper-V. So there should be some things available.

Share this post


Link to post
Share on other sites

I am also very interested in when the traditional xpenology iso will be released for DSM6. There are solid works to make USB boot, ESXi and VMWare workstation work, what is still needed/missing to be modified to form a ready to use ISO?

Share this post


Link to post
Share on other sites

I tried converting most of images that were created for Hyper-V and none work (as iso or vhdx) under Hyper-V.

Unfortunately, I didn't had too much time to test all image versions and all tricks but I still have hope...

Share this post


Link to post
Share on other sites

Another one here very interested in this.

Unfortunetaly my knowledge of linux is minimal and nonexistant when it comes to building stuff :???:

 

PS :!: If you have something for testing, but don't have time, I could help with that :grin: I have alot of it :!:

Share this post


Link to post
Share on other sites
Only XPEnoboot 5.2-5967.1 (17/07/2016) is working stable on Hyper-V.

DSM 6.0 is not supported until now (driver problems).

Please have a look at the general diskussion

viewtopic.php?f=2&t=24308#p82016

I think it's' not only driver problem, but some needed parts are missing on synology kernel

Reading some web it seems we need these drivers

CONFIG_HYPERVISOR_GUEST: Processor type and featueres > Linux Guest Support
CONFIG_PARAVIRT: Processor type and features > Linux Guest Support > Enable paravirtualization code
CONFIG_PARAVIRT_SPINLOCKS: Processor type and features > Linux Guest Support > Paravirtualization layer for spinlocks
CONFIG_HYPERV: Device Drivers > Microsoft Hyper-V guest support > Microsoft Hyper-V client drivers
CONFIG_HYPERV_UTILS: Device Drivers > Microsoft Hyper-V guest support > Microsoft Hyper-V Utilities driver
CONFIG_HYPERV_BALLOON: Device Drivers > Microsoft Hyper-V guest support > Microsoft Hyper-V Balloon driver
CONFIG_HYPERV_NET: Device Drivers > Network device support > Microsoft Hyper-V virtual network driver
CONFIG_HYPERV_STORAGE: Device Drivers > SCSI device support > SCSI low-level drivers > Microsoft Hyper-V virtual storage driver
CONFIG_HYPERV_KEYBOARD: Device Drivers > Input device support > Hardware I/O ports > Microsoft Synthetic Keyboard driver
CONFIG_FB_HYPERV: Device Drivers > Graphics support > Frame buffer Devices > Microsoft Hyper-V Synthetic Video support
CONFIG_HID_HYPERV_MOUSE: Device Drivers > HID support > Special HID drivers > Microsoft Hyper-V mouse driver

That aren't present in synology kernel source.

Share this post


Link to post
Share on other sites

Are there any guides on how to inject drivers?

 

I'm thinking why don't we just copy the ones from Sancombe's 5. img and put them into 6?

 

It might be a simplistic way of looking at it, but surely it could work?

 

 

 

Ah sorry, just read the above. We have to wait until Synology release the Kernal then..

Share this post


Link to post
Share on other sites

I was able to get 6.0 running in gen 1 hyper-v but it comes up as 100mbps and the image i use did not allow upgrade. What i am going to try is to do the nic SR-IOV and see if that works in gen 2 hyper-v; will net you now

Share this post


Link to post
Share on other sites
I was able to get 6.0 running in gen 1 hyper-v but it comes up as 100mbps and the image i use did not allow upgrade. What i am going to try is to do the nic SR-IOV and see if that works in gen 2 hyper-v; will net you now

 

That's great medric!

 

I could test, if needed

Share this post


Link to post
Share on other sites
I was able to get 6.0 running in gen 1 hyper-v but it comes up as 100mbps and the image i use did not allow upgrade. What i am going to try is to do the nic SR-IOV and see if that works in gen 2 hyper-v; will net you now

 

That's great medric!

 

I could test, if needed

 

+1 for testing.

 

Can you share your findings too? The more people we have we the shared knowledge on how to do this, the better chance we have of getting a Hyper-V img out the door when DSM 6.x or 7x is released.

Share this post


Link to post
Share on other sites
Why do you want to move to HPV pay to play?

 

Some of us have Windows Server as the hosting server OS for one reason or another. I guess the alternative would be to run VMware workstation which would be extra.(unless pirated of course). Hyper-v comes free though and integrates nicely with the Windows ecosystem.

Share this post


Link to post
Share on other sites
Have you used winimage to convert the syno boot img to a vhd?

 

I did.

Not working. Probably missing nw drivers

 

 

Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites

I got it to boot under Hyper-V. No network yet! But you'll need a sata drive for that.

I used Etcher in dangerous mode to write the .img file to a 16GB SSD (salvaged from a Thin Client)

Attached the drive to my Windows 2016 server via a Sharkoon SATA to USB converter.

Offlined the disk in Windows Disk Management

Created a new Hyper-V VM with the offline disk as a boot device

Powered on the device and....

full.jpg

Alas, no networking yet.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now