The officially official Devuan Forum!

You are not logged in.

#1 2017-12-19 15:57:53

tlathm
Member
Registered: 2017-11-25
Posts: 103  

Converting a Devuan VMware VM for HyperV?

We're hoping to convert a copy of our headless Devuan VM (jessie) to be used in HyperV...yuk...wouldn't if we didn't have to. I'm hoping we don't run into issues.

What exactly is that status of the current hyperv-daemons package in Devuan? I was reading some Debian jessie centric stuff around this like this:

https://oitibs.com/install-hyper-v-lis-on-debian-8/

There's a lot there that I can't quite make sense of. I see that there's a hyperv-daemons in the standard repo, but this is all it contains:

dpkg-query -L hyperv-daemons
/.
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/hyperv-daemons.hv-vss-daemon.service
/lib/systemd/system/hyperv-daemons.hv-kvp-daemon.service
/lib/systemd/system/hyperv-daemons.hv-fcopy-daemon.service
/usr
/usr/share
/usr/share/doc
/usr/share/doc/hyperv-daemons
/usr/share/doc/hyperv-daemons/changelog.Debian.gz
/usr/share/doc/hyperv-daemons/copyright
/usr/share/doc/hyperv-daemons/README.Debian
/usr/sbin
/usr/sbin/hv_fcopy_daemon
/usr/sbin/hv_kvp_daemon
/usr/sbin/hv_vss_daemon

Notably nothing around init scripts if they're needed for example.

It appears there are some related modules for the current kernel:

find /lib/modules |grep hv
/lib/modules/3.16.0-4-amd64/kernel/drivers/scsi/hv_storvsc.ko
/lib/modules/3.16.0-4-amd64/kernel/drivers/hv
/lib/modules/3.16.0-4-amd64/kernel/drivers/hv/hv_balloon.ko
/lib/modules/3.16.0-4-amd64/kernel/drivers/hv/hv_utils.ko
/lib/modules/3.16.0-4-amd64/kernel/drivers/hv/hv_vmbus.ko
/lib/modules/3.16.0-4-amd64/kernel/drivers/net/hyperv/hv_netvsc.ko

I do see however that the notes in the above link around /etc/initramfs-tools/modules and updating the initramfs mentions hv_blkvsc, which I don't see there.

I'm also unclear as to how much of any of that is actually required to run under HyperV.

Thanks in advance for any info!

Tom

Last edited by tlathm (2017-12-19 16:01:41)

Offline

#2 2017-12-19 17:12:25

tlathm
Member
Registered: 2017-11-25
Posts: 103  

Re: Converting a Devuan VMware VM for HyperV?

I think I'm clear on what we're going to try here. Looking at the existing steps we took to use our old CentOS 6 VM in hyperv, we didn't install any services at all. All we did was to ensure that the initramfs included hv_utils, hv_vmbus, hv_storvsc, and hv_netvsc. So I think all we need to do is to add those to
/etc/initramfs-tools/modules and run "update-initramfs -u". Hopefully that's all we need.

Tom

Offline

Board footer