<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to create an ESXi v4 Whitebox ISO with Windows Tools</title>
	<atom:link href="http://blog.spreendigital.de/2009/07/27/how-to-create-an-esxi-v4-whitebox-iso-with-windows-tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.spreendigital.de/2009/07/27/how-to-create-an-esxi-v4-whitebox-iso-with-windows-tools/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-create-an-esxi-v4-whitebox-iso-with-windows-tools</link>
	<description>A blog about Delphi programming, web and other technical stuff</description>
	<lastBuildDate>Thu, 10 May 2012 06:28:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Onyrmom</title>
		<link>http://blog.spreendigital.de/2009/07/27/how-to-create-an-esxi-v4-whitebox-iso-with-windows-tools/comment-page-2/#comment-7873</link>
		<dc:creator>Onyrmom</dc:creator>
		<pubDate>Sun, 05 Feb 2012 05:43:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.spreendigital.de/blog/?p=276#comment-7873</guid>
		<description>And one last one: don&#039;t forget to make a manifest file in /etc/vmware/init/manifests. Again, just copy the format of the other files.

What is a manifest file?
http://blogs.vmware.com/vapp/2009/08/inside-the-ovf-package.html

But you do not need to go start generating SHA hashes quite yet. The drivers will load just fine, although you will get errors in your vmkernel logs about loading unsigned drivers.

In this situation, the manifest file simply makes the logical connection between the location of the driver.o file and the vmkernel driver loading process. Without it, the boot process has no idea where to go to get your &quot;r8168&quot; driver, for example.</description>
		<content:encoded><![CDATA[<p>And one last one: don&#8217;t forget to make a manifest file in /etc/vmware/init/manifests. Again, just copy the format of the other files.</p>
<p>What is a manifest file?<br />
<a href="http://blogs.vmware.com/vapp/2009/08/inside-the-ovf-package.html" rel="nofollow">http://blogs.vmware.com/vapp/2009/08/inside-the-ovf-package.html</a></p>
<p>But you do not need to go start generating SHA hashes quite yet. The drivers will load just fine, although you will get errors in your vmkernel logs about loading unsigned drivers.</p>
<p>In this situation, the manifest file simply makes the logical connection between the location of the driver.o file and the vmkernel driver loading process. Without it, the boot process has no idea where to go to get your &#8220;r8168&#8243; driver, for example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Onyrmom</title>
		<link>http://blog.spreendigital.de/2009/07/27/how-to-create-an-esxi-v4-whitebox-iso-with-windows-tools/comment-page-2/#comment-7872</link>
		<dc:creator>Onyrmom</dc:creator>
		<pubDate>Sun, 05 Feb 2012 05:09:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.spreendigital.de/blog/?p=276#comment-7872</guid>
		<description>Oops: correction to above

simple.map does NOT refer directly to the filename. It *might* work if you do not have the driver XML file created, but assume it won&#039;t.</description>
		<content:encoded><![CDATA[<p>Oops: correction to above</p>
<p>simple.map does NOT refer directly to the filename. It *might* work if you do not have the driver XML file created, but assume it won&#8217;t.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Onyrmom</title>
		<link>http://blog.spreendigital.de/2009/07/27/how-to-create-an-esxi-v4-whitebox-iso-with-windows-tools/comment-page-2/#comment-7871</link>
		<dc:creator>Onyrmom</dc:creator>
		<pubDate>Sun, 05 Feb 2012 05:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.spreendigital.de/blog/?p=276#comment-7871</guid>
		<description>This is as good of a place to put my comments as any: Both ESX and ESXi really only need two files: simple.map and the .o file which is the actual driver. Simple.map is found in /etc/vmware, and the .o files are found in /usr/lib/vmware/vmkmod. At boot time, simple.map is read to match PCI vendor/device codes that are reported to the OS from the BIOS with drivers in /usr/lib/vmware/vmkmod. All other files are trivial, but there are a few things to note: 

1: The /etc/vmware/pciid directory contains xml formatted files that contain information on the installed drivers. It&#039;s a good idea to make a .xml file in here - just copy the format of a driver for a similar device (network to network, storage to storage, etc). Remember: the  tag in this file refers to the driver name, not the driver filename. For example, the tg3 driver is called &quot;tg3&quot;, not &quot;tg3.o&quot;, even though the file is named &quot;tg3.o&quot;. This will cause the &quot;invalid module name&quot; error listed above. Simple.map, however should refer directly to the filename (i.e. r8168.o).
2: There is a pci.xml file in /etc/vmware that can be ignored. It&#039;s used to simply provide human-readable descriptions of various PCI vendor/device codes.
3: There are other pci-related files in /etc/vmware, but they are autogenerated - you don&#039;t really need to touch them. However, the pci.ids file does contain a list of PCI vendors and devices that could potentially be required by the OS, so you may add your device here if you wish. The format is pretty simple to follow.
4: After you add your driver and pci pointer, look in /var/log/boot-logs for helpful information. &quot;sysboot-vmkernel-boot.log&quot; contains information on devices being identified by the BIOS and referred to the OS. If you see your pci device code here, then you know it&#039;s available to the OS. You can also use &quot;lspci -vv&quot; and &quot;lspci -nn&quot; to get this information. &quot;sysboot.log&quot; will tell you about the driver loading process itself. If the kernel has a problem loading your driver, you&#039;ll see the error messages here.
5: Use &quot;vmkload_mod &quot; to see if you can manually load your driver. If it works here, then it&#039;s just typo/permission/path problems that are preventing your driver from being loaded. There are VMware article on manually configuring driver options: 

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1038247

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=1017588

I use the &quot;esxcfg-module&quot; command to set my options. There is a driver option config stanza that can be created in /etc/vmware/esx.conf, occasionally bad option entries will cause your driver to fail to load. The sysboot log should tell you this.

6: Personally, I&#039;m testing all of this with the Realtek 8168 gig driver. There are many versions of this driver out there - I&#039;ve found five, all compiled differently. YMMV. However, a note for those who just want the NIC to work: many of the pre-made &quot;oem.tgz&quot; files you will find contain an AHCI driver as well. You likely do not want this if you&#039;re making a whitebox- most current manufacturers are using the Intel IDE chipsets, not the Realtek one that requires this driver. Remove it if you don&#039;t specifically need it. It shouldn&#039;t interfere if the PCI ID for the Realtek IDE chip is not found, but it just makes things easier to debug.

7: The process above applies equally to ESX 4.0, 4.1 (all updates), and ESXi of these versions as well. The difference with ESXi, of course, is that you must prepackage your driver and simple.map file into an oem.tgz that you will copy onto your *already installed* ESXi box. Of course, ESXi won&#039;t install without a NIC and Storage, but I&#039;m sure you&#039;ll figure a way around that :D

For all you lazy kids who are looking for a premade install .ISO with the drivers installed....you&#039;re wasting your time. Just make your own oem.tgz. It&#039;s easy enough to figure out how oem.tgz is put together by just pulling it apart on your Windows box with 7-zip and Notepad++. Just find a pre-made oem.tgz for whatever and copy the format. You should find all the files I&#039;ve discussed above in various subdirectories and archives.</description>
		<content:encoded><![CDATA[<p>This is as good of a place to put my comments as any: Both ESX and ESXi really only need two files: simple.map and the .o file which is the actual driver. Simple.map is found in /etc/vmware, and the .o files are found in /usr/lib/vmware/vmkmod. At boot time, simple.map is read to match PCI vendor/device codes that are reported to the OS from the BIOS with drivers in /usr/lib/vmware/vmkmod. All other files are trivial, but there are a few things to note: </p>
<p>1: The /etc/vmware/pciid directory contains xml formatted files that contain information on the installed drivers. It&#8217;s a good idea to make a .xml file in here &#8211; just copy the format of a driver for a similar device (network to network, storage to storage, etc). Remember: the  tag in this file refers to the driver name, not the driver filename. For example, the tg3 driver is called &#8220;tg3&#8243;, not &#8220;tg3.o&#8221;, even though the file is named &#8220;tg3.o&#8221;. This will cause the &#8220;invalid module name&#8221; error listed above. Simple.map, however should refer directly to the filename (i.e. r8168.o).<br />
2: There is a pci.xml file in /etc/vmware that can be ignored. It&#8217;s used to simply provide human-readable descriptions of various PCI vendor/device codes.<br />
3: There are other pci-related files in /etc/vmware, but they are autogenerated &#8211; you don&#8217;t really need to touch them. However, the pci.ids file does contain a list of PCI vendors and devices that could potentially be required by the OS, so you may add your device here if you wish. The format is pretty simple to follow.<br />
4: After you add your driver and pci pointer, look in /var/log/boot-logs for helpful information. &#8220;sysboot-vmkernel-boot.log&#8221; contains information on devices being identified by the BIOS and referred to the OS. If you see your pci device code here, then you know it&#8217;s available to the OS. You can also use &#8220;lspci -vv&#8221; and &#8220;lspci -nn&#8221; to get this information. &#8220;sysboot.log&#8221; will tell you about the driver loading process itself. If the kernel has a problem loading your driver, you&#8217;ll see the error messages here.<br />
5: Use &#8220;vmkload_mod &#8221; to see if you can manually load your driver. If it works here, then it&#8217;s just typo/permission/path problems that are preventing your driver from being loaded. There are VMware article on manually configuring driver options: </p>
<p><a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&#038;cmd=displayKC&#038;externalId=1038247" rel="nofollow">http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&#038;cmd=displayKC&#038;externalId=1038247</a></p>
<p><a href="http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&#038;docType=kc&#038;externalId=1017588" rel="nofollow">http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&#038;docType=kc&#038;externalId=1017588</a></p>
<p>I use the &#8220;esxcfg-module&#8221; command to set my options. There is a driver option config stanza that can be created in /etc/vmware/esx.conf, occasionally bad option entries will cause your driver to fail to load. The sysboot log should tell you this.</p>
<p>6: Personally, I&#8217;m testing all of this with the Realtek 8168 gig driver. There are many versions of this driver out there &#8211; I&#8217;ve found five, all compiled differently. YMMV. However, a note for those who just want the NIC to work: many of the pre-made &#8220;oem.tgz&#8221; files you will find contain an AHCI driver as well. You likely do not want this if you&#8217;re making a whitebox- most current manufacturers are using the Intel IDE chipsets, not the Realtek one that requires this driver. Remove it if you don&#8217;t specifically need it. It shouldn&#8217;t interfere if the PCI ID for the Realtek IDE chip is not found, but it just makes things easier to debug.</p>
<p>7: The process above applies equally to ESX 4.0, 4.1 (all updates), and ESXi of these versions as well. The difference with ESXi, of course, is that you must prepackage your driver and simple.map file into an oem.tgz that you will copy onto your *already installed* ESXi box. Of course, ESXi won&#8217;t install without a NIC and Storage, but I&#8217;m sure you&#8217;ll figure a way around that <img src='http://blog.spreendigital.de/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>For all you lazy kids who are looking for a premade install .ISO with the drivers installed&#8230;.you&#8217;re wasting your time. Just make your own oem.tgz. It&#8217;s easy enough to figure out how oem.tgz is put together by just pulling it apart on your Windows box with 7-zip and Notepad++. Just find a pre-made oem.tgz for whatever and copy the format. You should find all the files I&#8217;ve discussed above in various subdirectories and archives.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gundam</title>
		<link>http://blog.spreendigital.de/2009/07/27/how-to-create-an-esxi-v4-whitebox-iso-with-windows-tools/comment-page-2/#comment-7776</link>
		<dc:creator>Gundam</dc:creator>
		<pubDate>Wed, 03 Aug 2011 23:44:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.spreendigital.de/blog/?p=276#comment-7776</guid>
		<description>Andy: Yes I&#039;m having the same issue that you have.
Gnoma: Yes I was first suspect that as well. But later I tried to install this VMware-VMvisor-Installer-4.1.0.update1-348481.x86_64.iso on my VMWare and it did install properly. So this is a full version of ESXi 4.1 with update 1. And there is no more image.tgz! VMWare don&#039;t allow me to down load ESXi 4.0, which I assume the image.tgz is still there?</description>
		<content:encoded><![CDATA[<p>Andy: Yes I&#8217;m having the same issue that you have.<br />
Gnoma: Yes I was first suspect that as well. But later I tried to install this VMware-VMvisor-Installer-4.1.0.update1-348481.x86_64.iso on my VMWare and it did install properly. So this is a full version of ESXi 4.1 with update 1. And there is no more image.tgz! VMWare don&#8217;t allow me to down load ESXi 4.0, which I assume the image.tgz is still there?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gnoma</title>
		<link>http://blog.spreendigital.de/2009/07/27/how-to-create-an-esxi-v4-whitebox-iso-with-windows-tools/comment-page-2/#comment-7746</link>
		<dc:creator>gnoma</dc:creator>
		<pubDate>Sat, 28 May 2011 08:28:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.spreendigital.de/blog/?p=276#comment-7746</guid>
		<description>Andy are you sure that this is the installable operating system, not just update from something to version 4.1?
if you doubt so, just put it in the CD and try to boot and install it : )</description>
		<content:encoded><![CDATA[<p>Andy are you sure that this is the installable operating system, not just update from something to version 4.1?<br />
if you doubt so, just put it in the CD and try to boot and install it : )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.spreendigital.de/2009/07/27/how-to-create-an-esxi-v4-whitebox-iso-with-windows-tools/comment-page-2/#comment-7745</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Fri, 27 May 2011 11:56:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.spreendigital.de/blog/?p=276#comment-7745</guid>
		<description>Erm I am lost!
1. Extract image.tgz from the VMware ISO with UltraIso

I am using &quot;VMware-VMvisor-Installer-4.1.0.update1-348481.x86_64.iso&quot; and there is no file called &quot;image.tgz&quot;

Am I missing something here?</description>
		<content:encoded><![CDATA[<p>Erm I am lost!<br />
1. Extract image.tgz from the VMware ISO with UltraIso</p>
<p>I am using &#8220;VMware-VMvisor-Installer-4.1.0.update1-348481.x86_64.iso&#8221; and there is no file called &#8220;image.tgz&#8221;</p>
<p>Am I missing something here?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gnoma</title>
		<link>http://blog.spreendigital.de/2009/07/27/how-to-create-an-esxi-v4-whitebox-iso-with-windows-tools/comment-page-2/#comment-7744</link>
		<dc:creator>gnoma</dc:creator>
		<pubDate>Wed, 25 May 2011 04:58:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.spreendigital.de/blog/?p=276#comment-7744</guid>
		<description>Yes, and there comes another question...
Because ESXI 4.1 x64 has a problem with some intel motherboards and I can&#039;t install it directly.
I can run it only by installind 4.0 and then update. If somehow I make that driver runs on 4.0, will it be affected when updateing to 4.1?
Thanks : )</description>
		<content:encoded><![CDATA[<p>Yes, and there comes another question&#8230;<br />
Because ESXI 4.1 x64 has a problem with some intel motherboards and I can&#8217;t install it directly.<br />
I can run it only by installind 4.0 and then update. If somehow I make that driver runs on 4.0, will it be affected when updateing to 4.1?<br />
Thanks : )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Umarzuki</title>
		<link>http://blog.spreendigital.de/2009/07/27/how-to-create-an-esxi-v4-whitebox-iso-with-windows-tools/comment-page-2/#comment-7743</link>
		<dc:creator>Umarzuki</dc:creator>
		<pubDate>Wed, 25 May 2011 04:49:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.spreendigital.de/blog/?p=276#comment-7743</guid>
		<description>any update on this article for ESXi 4.1?</description>
		<content:encoded><![CDATA[<p>any update on this article for ESXi 4.1?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gnoma</title>
		<link>http://blog.spreendigital.de/2009/07/27/how-to-create-an-esxi-v4-whitebox-iso-with-windows-tools/comment-page-2/#comment-7742</link>
		<dc:creator>gnoma</dc:creator>
		<pubDate>Mon, 23 May 2011 13:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.spreendigital.de/blog/?p=276#comment-7742</guid>
		<description>Sorry for the reply post, I forgot to write that my network card is with 8169 chip</description>
		<content:encoded><![CDATA[<p>Sorry for the reply post, I forgot to write that my network card is with 8169 chip</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gnoma</title>
		<link>http://blog.spreendigital.de/2009/07/27/how-to-create-an-esxi-v4-whitebox-iso-with-windows-tools/comment-page-2/#comment-7741</link>
		<dc:creator>gnoma</dc:creator>
		<pubDate>Mon, 23 May 2011 13:19:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.spreendigital.de/blog/?p=276#comment-7741</guid>
		<description>I am trying to build esxi4.0 installation iso.
Tryed many oem.tgz files from internet, no success. Tryed to build my own as it says up, no success, because the driver pack from that link is damaged archive.

Then
I&#039;ve did everything as it says with the ready oem.tgz (skipped step 5-12), And I got pink screen of death.
Then I did as Sacx from RandomBugs says about the moving of pci.ids file, installation went normal, but after reboot, still no interface loaded.

During installation, cat /var/log/messages &#124; grep 8169 or grep 8168, and no output. Grep for vmnic1  (I have vmnic0 as intel onboard and it is running normal), still no results.
After installation, same search of /var/log/messages and still nothing. How do I find out why the kernel module doesn&#039;t load?

Thank you!</description>
		<content:encoded><![CDATA[<p>I am trying to build esxi4.0 installation iso.<br />
Tryed many oem.tgz files from internet, no success. Tryed to build my own as it says up, no success, because the driver pack from that link is damaged archive.</p>
<p>Then<br />
I&#8217;ve did everything as it says with the ready oem.tgz (skipped step 5-12), And I got pink screen of death.<br />
Then I did as Sacx from RandomBugs says about the moving of pci.ids file, installation went normal, but after reboot, still no interface loaded.</p>
<p>During installation, cat /var/log/messages | grep 8169 or grep 8168, and no output. Grep for vmnic1  (I have vmnic0 as intel onboard and it is running normal), still no results.<br />
After installation, same search of /var/log/messages and still nothing. How do I find out why the kernel module doesn&#8217;t load?</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

