 {"id":302,"date":"2013-08-18T14:05:32","date_gmt":"2013-08-18T19:05:32","guid":{"rendered":"http:\/\/www.networkjack.info\/blog\/?p=302"},"modified":"2013-08-18T14:17:43","modified_gmt":"2013-08-18T19:17:43","slug":"gplpv-drivers-in-an-iso","status":"publish","type":"post","link":"http:\/\/www.networkjack.info\/blog\/2013\/08\/18\/gplpv-drivers-in-an-iso\/","title":{"rendered":"GPLPV drivers in an ISO"},"content":{"rendered":"<p>We host Windows based virtual servers on Xen host machines and to get the best performance from these systems, we add in the GPL&#8217;ed Paravirtualization drivers available on the Meadowcourt page.<\/p>\n<p>Maybe I&#8217;m doing it wrong or the hard way, but when doing a fresh install of a Windows system, the only way of getting the drivers onto the new domU is to make a &#8216;throwaway&#8217; model=e1000 VIF which I can use to download the drivers onto the system. Then after getting the drivers onto the system (all the while actually accessing the system via the VNC frame-buffer), I can properly configure the new and final interface(s).<\/p>\n<p>I&#8217;ve come up with a slightly easier\/faster way of getting the drivers onto the system: put them into ISO image and attach it to the domU so it looks like a CD-ROM from which I can run the driver installers.<\/p>\n<p>Here is the result for anyone to download and do the same:<\/p>\n<p><a title=\"GPLPV-20130818.iso\" href=\"\/files\/GPLPV-20130818.iso\">\u00c2\u00a0GPLPV-20130818.iso<\/a><\/p>\n<p>Here are some snippets from the xen cfg:<\/p>\n<pre>disk = [\r\n \"phy:\/dev\/vm5vg1\/win7bench-disk,hda,w\",\r\n# \"file:\/storage\/iso\/GPLPV-20130818.iso,ioemu:hdc:cdrom,r\",\r\n# \"file:\/storage\/iso\/SW_DVD5_Win_Pro_7w_SP1_64BIT_English_-2_MLF_X17-59279.ISO,ioemu:hdc:cdrom,r\",\r\n ]\r\nvif = [\r\n# \"bridge=xenbr999,model=e1000,vifname=win7bench-colo\",\r\n \"bridge=xenbr3,type=paravirtualized,vifname=win7bench-dmz\",\r\n \"bridge=xenbr999,type=paravirtualized,vifname=win7bench-colo\",\r\n ]<\/pre>\n<p>I used Windows XP under VMWare Fusion on my Mac to download the drivers and created the ISO with MagicISO. I saved that to a shared directory with then Mac and then scp&#8217;ed the file to the Linux server. Hows that for geek?<\/p>\n<p>&nbsp;<\/p>\n<p>ok, this shell script looks even more geekier:<\/p>\n<p>https:\/\/github.com\/tmartinx\/xenlivecd\/blob\/master\/arch-common\/32-gen-windows-gplpv-drivers-iso.sh<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We host Windows based virtual servers on Xen host machines and to get the best performance from these systems, we add in the GPL&#8217;ed Paravirtualization&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"http:\/\/www.networkjack.info\/blog\/2013\/08\/18\/gplpv-drivers-in-an-iso\/\">Continue reading<span class=\"screen-reader-text\">GPLPV drivers in an ISO<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,70],"tags":[72,32,71],"class_list":["post-302","post","type-post","status-publish","format-standard","hentry","category-servers","category-virtualization","tag-drivers","tag-windows","tag-xen","entry"],"_links":{"self":[{"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/posts\/302"}],"collection":[{"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/comments?post=302"}],"version-history":[{"count":7,"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/posts\/302\/revisions"}],"predecessor-version":[{"id":307,"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/posts\/302\/revisions\/307"}],"wp:attachment":[{"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/media?parent=302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/categories?post=302"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/tags?post=302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}