<div dir="ltr">Hi Seth,<div><br></div><div>Thank for the pull request. I actually had in mind that you would describe how to convert the image to the hyper-V format and add this as a section in the generic virtualization quickstart...</div><div>Do others feel we should include a new page for Hyper-V?</div><div>Personally I would like to avoid duplication of data on SF (those guys are very kind with us and the disk space we occupy on their mirrors so far).</div><div><br></div><div>Best,</div><div>Angelos</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 15, 2018 at 1:42 AM, Seth G <span dir="ltr"><<a href="mailto:sethg@geographika.co.uk" target="_blank">sethg@geographika.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div><div>Hi Angelos/list,<br></div>
<div><br></div>
<div>Pull request created at <a href="https://github.com/OSGeo/OSGeoLive-doc/pull/371" target="_blank">https://github.com/OSGeo/<wbr>OSGeoLive-doc/pull/371</a> - as its my first contribution to the project please let me know if there are any steps I've missed out. <br></div>
<div>The quickstart would rely on a converted <span class="m_5126454907278772045highlight" style="background-color:rgb(255,255,255)"><span class="m_5126454907278772045colour" style="color:rgb(36,41,46)"><span class="m_5126454907278772045font" style="font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol""><span class="m_5126454907278772045size" style="font-size:14px">vhdx disk image. The conversion process is probably too complicated to put in a quickstart guide. </span></span></span></span><br></div>
<div><span class="m_5126454907278772045highlight" style="background-color:rgb(255,255,255)"><span class="m_5126454907278772045colour" style="color:rgb(36,41,46)"><span class="m_5126454907278772045font" style="font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol""><span class="m_5126454907278772045size" style="font-size:14px">Let me know if I can help creating/uploading a converted vhdx to SourceForge. </span></span></span></span><br></div>
<div><br></div>
<div>On a separate note the wiki page at <a href="https://wiki.osgeo.org/wiki/OSGeoLive" target="_blank">https://wiki.osgeo.org/<wbr>wiki/OSGeoLive</a> seemed to have broken links to this mailing list. I updated them, but not sure if this had to be reviewed first. I'm happy to revert if this is the case. <br></div>
<div><br></div>
<div><span class="m_5126454907278772045highlight" style="background-color:rgb(255,255,255)"><span class="m_5126454907278772045colour" style="color:rgb(36,41,46)"><span class="m_5126454907278772045font" style="font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol""><span class="m_5126454907278772045size" style="font-size:14px">Seth</span></span></span></span><br></div>
<div><br></div>
<div id="m_5126454907278772045sig62266145"><div class="m_5126454907278772045signature">--<br></div>
<div class="m_5126454907278772045signature">web:<a href="http://geographika.co.uk" target="_blank">http://geographika.co.uk</a><br></div>
<div class="m_5126454907278772045signature">twitter: @geographika<br></div>
</div>
<div><br></div>
<div><br></div>
<div>On Fri, May 11, 2018, at 12:20 PM, Angelos Tzotsos wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div>Thanks for the feedback Seth.<br></div>
<div><br></div>
<div>I think it would be valuable to document the above steps in our VM Quickstart on a section for Hyper-V users.<br></div>
<div><a href="https://live.osgeo.org/en/quickstart/virtualization_quickstart.html" target="_blank">https://live.osgeo.org/en/<wbr>quickstart/virtualization_<wbr>quickstart.html</a><br></div>
<div><br></div>
<div>Best,<br></div>
<div>Angelos<br></div>
</div>
<div><div><br></div>
<div><div>On Thu, May 10, 2018 at 10:43 PM, Seth G <span dir="ltr"><<a href="mailto:sethg@geographika.co.uk" target="_blank">sethg@geographika.co.uk</a>></span> wrote:<br></div>
<blockquote style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div>Hi Brian,<br></div>
<div> <br></div>
<div> Thanks for getting back to me. I've been trying out the conversion process using MS tools to avoid reliance on software, that whilst currently free, may not be in the future (the <a href="https://www.starwindsoftware.com/converter" target="_blank">https://www.starwindsoftware.c<wbr>om/converter</a>). Full steps are at the end of the email. <br></div>
<div> <br></div>
<div> I'm fine with disabling Hyper-V for upcoming workshops - but it may make things a little easier for users in Windows environments to work directly with Hyper-V in the future. <br></div>
<div> <br></div>
<div> The resultant .vhdx file is 10.3 GB. Using 7-zip this produces a 3.2 GB file. This is essentially the same as the VirtualBox HD file, but in Hyper-V format. It can then be used directly in Hyper-V on Windows 10 Professional (and presumably other versions). I'd be happy to create the vhdx file for Sourceforge and a Hyper-V installation page for the docs if people think this is worthwhile addition to the OSGeoLive project (and should be able to do the same for the v12 planned in the summer). <br></div>
<div> <br></div>
<div> One drawback with Hyper-V / Lubuntu is there is no equivalent to the "Guest Additions" of Virtual Box. The shared clipboard and automatic full screen don't seem to be available. It looks like this may be on the way later this year - <a href="https://blogs.technet.microsoft.com/virtualization/2018/02/28/sneak-peek-taking-a-spin-with-enhanced-linux-vms/" target="_blank">https://blogs.technet.microsof<wbr>t.com/virtualization/2018/02/<wbr>28/sneak-peek-taking-a-spin-<wbr>with-enhanced-linux-vms/</a><br></div>
<div> <br></div>
<div> Conversion steps for OSGeoLive 11.0 vmdk for reference are as follows:<br></div>
<div> <br></div>
<div> - Download the Microsoft Virtual Machine Converter 3.0 from <a href="https://www.microsoft.com/en-us/download/details.aspx?id=42497" target="_blank">https://www.microsoft.com/en-u<wbr>s/download/details.aspx?id=424<wbr>97</a> and install<br></div>
<div> - Download the "DS File Ops Kit" from <a href="http://members.ozemail.com.au/~nulifetv/freezip/freeware/dsfok.zip" target="_blank">http://members.ozemail.com.au/<wbr>~nulifetv/freezip/freeware/dsf<wbr>ok.zip</a> and unzip<br></div>
<div> - Open PowerShell (with admin rights)<br></div>
<div> - Run the following command to get the disk descriptor from the OSGeoLive vmdk:<br></div>
<div> <br></div>
<div> cd D:\osgeo-live-11.0-vm<br></div>
<div> D:\tools\dsfo.exe .\osgeo-live-11.0-vm.vmdk 512 1024 descriptor1.txt<br></div>
<div> <br></div>
<div> - This saves the disk description to the "descriptor1.txt" file. Open this in Notepad / a text editor and comment out the following lines (using hashes). This metadata is VirtualBox specific and is not recognised by the converter. <br></div>
<div> <br></div>
<div> #ddb.uuid.image="0247ca9d-f9aa<wbr>-4910-9e8c-1c14d83a7749"<br></div>
<div> #ddb.uuid.parent="00000000-000<wbr>0-0000-0000-000000000000"<br></div>
<div> #ddb.uuid.modification="81a1d7<wbr>04-3e4a-443d-a5ca-2fd085ba086a<wbr>"<br></div>
<div> #ddb.uuid.parentmodification="<wbr>00000000-0000-0000-0000-000000<wbr>000000"<br></div>
<div> #ddb.comment=""<br></div>
<div> <br></div>
<div> - Run the following command to insert the disk descriptor back into the .vmdk<br></div>
<div> <br></div>
<div> D:\tools\dsfi.exe .\osgeo-live-11.0-vm.vmdk 512 1024 descriptor1.txt<br></div>
<div> <br></div>
<div> Failing to do the above steps will result in the error "ConvertTo-MvmcVirtualHardDisk : The entry 0247ca9d-f9aa-4910-9e8c-1c14d8<wbr>3a7749 is not a supported disk database entry for the descriptor."<br></div>
<div> <br></div>
<div> - Finally run the conversion process:<br></div>
<div> <br></div>
<div> Import-Module "C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1"<br></div>
<div> cd D:\osgeo-live-11.0-vm<br></div>
<div> ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath .\osgeo-live-11.0-vm.vmdk -VhdFormat Vhdx <br></div>
<div> <br></div>
<div> Above steps based on <a href="https://stackoverflow.com/a/49768353/179520" target="_blank">https://stackoverflow.com/a/49<wbr>768353/179520</a> and <a href="http://semantive.com/converting-ova-vm-to-hyper-v-format/" target="_blank">http://semantive.com/convertin<wbr>g-ova-vm-to-hyper-v-format/</a><br></div>
<div> <span><br> Regards,<br> <br> Seth<br> <br> --<br> web:<a href="http://geographika.co.uk" target="_blank">http://geographika.co.uk</a><br> twitter: @geographika<br> <br> </span></div>
<div><div><div>On Thu, May 10, 2018, at 6:26 PM, Brian M Hamlin wrote:<br></div>
<div> > <br></div>
<div> > On Thu, 10 May 2018 18:01:47 0200, Seth G <<a href="mailto:sethg@geographika.co.uk" target="_blank">sethg@geographika.co.uk</a>> wrote:<br></div>
<div> > > Hi list,<br></div>
<div> > ><br></div>
<div> > > I'm currently preparing a Python workshop for the OSGeo Ireland<br></div>
<div> > > meetup, using OSGeo Live as the training environment - it is an<br></div>
<div> > > exceptional resource.<br></div>
<div> > <br></div>
<div> > Hi Seth<br></div>
<div> > <br></div>
<div> > > Several users have Windows 10 Professional machines which are enabled<br></div>
<div> > > to run Hyper-V, Microsoft's virtualisation software. If this is<br></div>
<div> > > enabled then VirtualBox doesn't have a x64 option for creating new<br></div>
<div> > > Linux machines. This feature can be disabled at the command line, or<br></div>
<div> > > using the <a href="https://unclassified.software/en/apps/hypervswitch" target="_blank">https://unclassified.software/<wbr>en/apps/hypervswitch</a> tool<br></div>
<div> > > which automates this.<br></div>
<div> > Either option requires a reboot, and means using Hyper-V VMs would<br></div>
<div> > require enabling the setting and another reboot.<br></div>
<div> > <br></div>
<div> > ok, new to me, but if I understand, Windows 10 plus Hyper-V has some<br></div>
<div> > 'features' which prevent people from executing a VM ..<br></div>
<div> > a small tool works around this..<br></div>
<div> > <br></div>
<div> > > An alternative is to run the VM under Hyper-V, but this requires<br></div>
<div> > > converting the .vmdk HD to .vhd. There are a few commandline options<br></div>
<div> > > and hacks around to do this but only the<br></div>
<div> > > <a href="https://www.starwindsoftware.com/converter" target="_blank">https://www.starwindsoftware.c<wbr>om/converter</a> option worked for me. The<br></div>
<div> > > converted OSGeoLive VM then ran fine on Hyper-V.<br></div>
<div> > <br></div>
<div> > So, you take the VirtualBox VM setup, and then convert just the disk<br></div>
<div> > image ? and the result runs without more steps under Hyper-V ?<br></div>
<div> > <br></div>
<div> > > Is there an option of adding this download to<br></div>
<div> > > <a href="https://sourceforge.net/projects/osgeo-live/files/11.0/" target="_blank">https://sourceforge.net/projec<wbr>ts/osgeo-live/files/11.0/</a> ? It would be<br></div>
<div> > > another large file to host, and would likely need to be done manually<br></div>
<div> > > for each release.<br></div>
<div> > <br></div>
<div> > Yes, a new file could be added to sourceforge.. What is it and do<br></div>
<div> > we want it is the next part :-)<br></div>
<div> > <br></div>
<div> > > Are final builds / uploading to SourceForge currently a manual process?<br></div>
<div> > <br></div>
<div> > builds and uploads are automated with manual steps, might be one<br></div>
<div> > way to say it..<br></div>
<div> > What is the time frame for your setup? <br></div>
<div> > <br></div>
<div> > This is the first time anyone has requested Hyper-V support, that I<br></div>
<div> > know of..<br></div>
<div> > <br></div>
<div> > <br></div>
<div> > --<br></div>
<div> > Brian M Hamlin<br></div>
<div> > OSGeo California<br></div>
<div> > <a href="http://blog.light42.com" target="_blank">blog.light42.com</a><br></div>
<div> > <br></div>
<div> > <br></div>
<div> > <br></div>
<div> ______________________________<wbr>_________________<br></div>
<div> osgeolive mailing list<br></div>
<div> <a href="mailto:osgeolive@lists.osgeo.org" target="_blank">osgeolive@lists.osgeo.org</a><br></div>
<div> <a href="https://lists.osgeo.org/mailman/listinfo/osgeolive" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/osgeolive</a><br></div>
</div>
</div>
</blockquote></div>
<div><br></div>
<div><br></div><span class="HOEnZb"><font color="#888888">
<div><br></div>
<div>-- <br></div>
<div><div dir="ltr"><div><div><span class="m_5126454907278772045colour" style="color:rgb(0,0,0)"><span class="m_5126454907278772045font" style="font-family:"Times New Roman""><span class="m_5126454907278772045size" style="font-size:medium"><span class="m_5126454907278772045font" style="font-family:arial"><span class="m_5126454907278772045size" style="font-size:small">Angelos Tzotsos, PhD<br>OSGeo Charter Member</span></span></span></span></span></div>
<div><span class="m_5126454907278772045colour" style="color:rgb(0,0,0)"><span class="m_5126454907278772045font" style="font-family:"Times New Roman""><span class="m_5126454907278772045size" style="font-size:medium"><span class="m_5126454907278772045font" style="font-family:arial"><span class="m_5126454907278772045size" style="font-size:small"><a href="http://users.ntua.gr/tzotsos" target="_blank">http://users.ntua.gr/tzotsos</a></span></span></span></span></span><br></div>
<div><span class="m_5126454907278772045colour" style="color:rgb(0,0,0)"><span class="m_5126454907278772045font" style="font-family:"Times New Roman""><span class="m_5126454907278772045size" style="font-size:medium"><span class="m_5126454907278772045font" style="font-family:arial"><span class="m_5126454907278772045size" style="font-size:small"></span></span></span></span></span><br></div>
</div>
</div>
</div>
</font></span></div>
</blockquote><div><br></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="border-collapse:separate;color:rgb(0,0,0);font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:arial;font-size:small">Angelos Tzotsos, PhD<br>OSGeo Charter Member<div><a href="http://users.ntua.gr/tzotsos" target="_blank">http://users.ntua.gr/tzotsos</a></div></span></span></div></div></div>
</div>