{"id":2201,"date":"2022-09-14T12:44:42","date_gmt":"2022-09-14T10:44:42","guid":{"rendered":"http:\/\/clark.tipistrani.it\/?p=2201"},"modified":"2022-09-14T12:44:42","modified_gmt":"2022-09-14T10:44:42","slug":"vm-windows-10-enterprise-ltsc2021-su-xen-4-14","status":"publish","type":"post","link":"http:\/\/clark.tipistrani.it\/?p=2201","title":{"rendered":"VM Windows 10 enterprise LTSC2021 su xen 4.14"},"content":{"rendered":"<p>In questi giorni stiamo varando un nuovo applicativo di Autodesk per l&#8217;ufficio tecnico.<br \/>\nQuesto applicativo (Vault) richiede un server dedicato e un client dedicato che in buona sostanza elabora le istanze SQL, il server deve essere per l&#8217;attuale versione un win 2019 e il client un win 10 pro.<br \/>\nVIsto che win 10 pro si aggiorna come e quando vuole lei per macchine di questo tipo usiamo win LTSC enterprise che e&#8217; un pochino meno scemo in questo senso.<br \/>\nIl problema si e&#8217; posto quando abbiamo dovuto fare il setup della VM client e sto parlando di setup base vale a dire l&#8217;installazione del SO, lanciata la macchina su xen semplicemente non faceva boot, e quindi non era possibile fare installazione, la 2019 partiva senza problemi la 2021 neanche a piangere.<br \/>\nIl file di configurazione della macchina era questo:<\/p>\n<p>#<br \/>\n# Configuration file for the Xen instance pclos<br \/>\n#<\/p>\n<p>#<br \/>\n# \u00a0How to boot<br \/>\n#<\/p>\n<p>builder = &#8216;hvm&#8217;<br \/>\nboot = &#8216;d&#8217;<br \/>\n#boot = &#8216;c&#8217;<br \/>\ndevice_model_version=&#8221;qemu-xen&#8221;<br \/>\ndevice_model_override = &#8216;\/usr\/bin\/qemu-system-x86_64&#8217;<br \/>\n#<br \/>\n# \u00a0Hostname<br \/>\n#<br \/>\nname \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0= &#8216;chioggia&#8217;<br \/>\n#<br \/>\n# \u00a0Disk device(s).<br \/>\n#<br \/>\ndisk \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0= [ &#8216;phy:\/dev\/xen1\/chioggia,xvda,w&#8217; ]<br \/>\n#disk \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0= [ &#8216;phy:\/dev\/xen1\/chioggia,xvda,w&#8217;, &#8216;file:\/home\/xen\/cdrom\/chioggia.iso,xvdc:cdrom,r&#8217; ]<br \/>\n#disk \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0= [ &#8216;phy:\/dev\/xen1\/chioggia,xvda,w&#8217;, &#8216;file:\/home\/xen\/cdrom\/PV-8.2.2.iso,xvdc:cdrom,r&#8217; ]<br \/>\n#<br \/>\n# \u00a0Networking<br \/>\n#<br \/>\nvif = [ &#8216;mac=00:16:3e:fe:aa:28, bridge=xenbr0&#8217; ]<\/p>\n<p># \u00a0Local set-up<br \/>\n#<br \/>\n# \u00a0\u00a0Limits<\/p>\n<p>vcpus \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0= &#8216;4&#8217;<br \/>\nmemory \u00a0\u00a0\u00a0\u00a0\u00a0= &#8216;32768&#8217;<\/p>\n<p>#<br \/>\n# choose vnc or sdl for console<br \/>\n#<\/p>\n<p>vga \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0= &#8216;stdvga&#8217;<br \/>\nvideoram \u00a0= 16<br \/>\nsdl \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0= 0<br \/>\nvnc=1<br \/>\nvncunused=0<br \/>\nvncdisplay=28<br \/>\nvnclisten=&#8221;0.0.0.0&#8243;<br \/>\nvncpasswd = &#8216;secret&#8217;<br \/>\nkeymap \u00a0\u00a0\u00a0= &#8216;it&#8217;<br \/>\nusb \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0= 1<br \/>\nusbdevice = &#8216;tablet&#8217;<br \/>\nserial \u00a0\u00a0\u00a0= &#8216;pty&#8217;<br \/>\n#device_model_version = &#8220;qemu-xen-traditional&#8221;<br \/>\n#<\/p>\n<p>#<br \/>\n# \u00a0Behaviour<br \/>\n#<br \/>\non_poweroff = &#8216;destroy&#8217;<br \/>\non_reboot \u00a0\u00a0= &#8216;restart&#8217;<br \/>\non_crash \u00a0\u00a0\u00a0= &#8216;restart&#8217;<br \/>\nDopo non poche ricerche in Internet ho trovato la quadra, si tratta di sostituire la voce builder = &#8216;hvm con la voce type = &#8216;hvm&#8217; e di aggiungere immediatamente dopo la voce firmware = &#8216;uefi&#8217; a questo punto con xl create nome VM lei parte ed \u00e8 possibile fare l&#8217;installazione.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In questi giorni stiamo varando un nuovo applicativo di Autodesk per l&#8217;ufficio tecnico. Questo applicativo (Vault) richiede un server dedicato e un client dedicato che in buona sostanza elabora le istanze SQL, il server deve essere per l&#8217;attuale versione un win 2019 e il client un win 10 pro. VIsto che win 10 pro si [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,165,10,6],"tags":[252,166,26,86],"class_list":["post-2201","post","type-post","status-publish","format-standard","hentry","category-linux","category-virtualizzazione-work","category-windows","category-work","tag-uefi","tag-vm","tag-windows-2","tag-xen"],"_links":{"self":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/2201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2201"}],"version-history":[{"count":1,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/2201\/revisions"}],"predecessor-version":[{"id":2202,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/2201\/revisions\/2202"}],"wp:attachment":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2201"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}