<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div>Hi Angelos/list,<br></div>
<div><br></div>
<div>Pull request created at <a href="https://github.com/OSGeo/OSGeoLive-doc/pull/371">https://github.com/OSGeo/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="highlight" style="background-color:rgb(255, 255, 255)"><span class="colour" style="color:rgb(36, 41, 46)"><span class="font" style="font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol""><span class="size" 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="highlight" style="background-color:rgb(255, 255, 255)"><span class="colour" style="color:rgb(36, 41, 46)"><span class="font" style="font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol""><span class="size" 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">https://wiki.osgeo.org/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="highlight" style="background-color:rgb(255, 255, 255)"><span class="colour" style="color:rgb(36, 41, 46)"><span class="font" style="font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol""><span class="size" style="font-size:14px">Seth</span></span></span></span><br></div>
<div><br></div>
<div id="sig62266145"><div class="signature">--<br></div>
<div class="signature">web:http://geographika.co.uk<br></div>
<div class="signature">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">https://live.osgeo.org/en/quickstart/virtualization_quickstart.html</a><br></div>
<div><br></div>
<div>Best,<br></div>
<div>Angelos<br></div>
</div>
<div><div><br></div>
<div defang_data-gmailquote="yes"><div>On Thu, May 10, 2018 at 10:43 PM, Seth G <span dir="ltr"><<a href="mailto:sethg@geographika.co.uk">sethg@geographika.co.uk</a>></span> wrote:<br></div>
<blockquote defang_data-gmailquote="yes" 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">https://www.starwindsoftware.<wbr>com/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/">https://blogs.technet.<wbr>microsoft.com/virtualization/<wbr>2018/02/28/sneak-peek-taking-<wbr>a-spin-with-enhanced-linux-<wbr>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">https://www.microsoft.com/en-<wbr>us/download/details.aspx?id=<wbr>42497</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">http://members.ozemail.com.au/<wbr>~nulifetv/freezip/freeware/<wbr>dsfok.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-<wbr>f9aa-4910-9e8c-1c14d83a7749"<br></div>
<div> #ddb.uuid.parent="00000000-<wbr>0000-0000-0000-000000000000"<br></div>
<div> #ddb.uuid.modification="<wbr>81a1d704-3e4a-443d-a5ca-<wbr>2fd085ba086a"<br></div>
<div> #ddb.uuid.parentmodification="<wbr>00000000-0000-0000-0000-<wbr>000000000000"<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-<wbr>1c14d83a7749 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">https://stackoverflow.com/a/<wbr>49768353/179520</a> and <a href="http://semantive.com/converting-ova-vm-to-hyper-v-format/">http://semantive.com/<wbr>converting-ova-vm-to-hyper-v-<wbr>format/</a><br></div>
<div> <span><br> Regards,<br> <br> Seth<br> <br> --<br> web:<a href="http://geographika.co.uk">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">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">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">https://www.starwindsoftware.<wbr>com/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/">https://sourceforge.net/<wbr>projects/osgeo-live/files/11.<wbr>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">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">osgeolive@lists.osgeo.org</a><br></div>
<div> <a href="https://lists.osgeo.org/mailman/listinfo/osgeolive">https://lists.osgeo.org/<wbr>mailman/listinfo/osgeolive</a><br></div>
</div>
</div>
</blockquote></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div>-- <br></div>
<div><div dir="ltr"><div><div><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:"Times New Roman""><span class="size" style="font-size:medium"><span class="font" style="font-family:arial"><span class="size" style="font-size:small">Angelos Tzotsos, PhD<br>OSGeo Charter Member</span></span></span></span></span></div>
<div><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:"Times New Roman""><span class="size" style="font-size:medium"><span class="font" style="font-family:arial"><span class="size" style="font-size:small"><a href="http://users.ntua.gr/tzotsos">http://users.ntua.gr/tzotsos</a></span></span></span></span></span><br></div>
<div><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:"Times New Roman""><span class="size" style="font-size:medium"><span class="font" style="font-family:arial"><span class="size" style="font-size:small"></span></span></span></span></span><br></div>
</div>
</div>
</div>
</div>
</blockquote><div><br></div>
</body>
</html>