{"id":2681,"date":"2017-06-16T22:42:37","date_gmt":"2017-06-16T10:42:37","guid":{"rendered":"http:\/\/www.zoyinc.com\/?p=2681"},"modified":"2018-01-31T20:53:11","modified_gmt":"2018-01-31T07:53:11","slug":"run-esx-from-usb-on-old-hp-desktop","status":"publish","type":"post","link":"http:\/\/www.zoyinc.com\/?p=2681","title":{"rendered":"Run ESX from USB on old HP desktop"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-2684\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX02-300x171.jpg\" alt=\"\" width=\"300\" height=\"171\" srcset=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX02.jpg 300w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX02-150x86.jpg 150w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>I have running VMware ESXi servers for years, sometimes at work on servers but recently at home on a whole bunch of older desktop machines. Not too many problems and when I did have problems it was usually about an unsupported network adaptor.<\/p>\n<p>Just a few weeks ago I tried to run ESX from USB flash drives on a couple of older HP SFF desktops a DC7700 and a DC7900. Boy was it a lot of trouble, it turned out the problem was that the desktops, even with the most recent firmware still didn&#8217;t support GPT partitions and thus it stubornly refused to boot even with flash disks that worked perfectly ok on other machines.<\/p>\n<p>The answer is to tell ESX to install using the MBR partition scheme. Of course now that I know this I found heaps of posts about it.<\/p>\n<p>The intention of this post is not to talk about everything to do with running VMware ESX but rather how to overcome this specific problem.<\/p>\n<p>Also see my other post on a similar topic <a  href=\"http:\/\/www.zoyinc.com\/?p=1202\">Running ESX 5.1 from a USB key<\/a><\/p>\n<h2>Steps<\/h2>\n<p>I would suggest disconnecting all drives at this point so you can be confident you will install where you want.<\/p>\n<p>It is also worth noting we will load the ESX iso image on the flash drive and also install ESX on the flash drive. This is because once ESX is loaded it is 100% running from RAM and is not using the flash drive, thus it can install cleaning into the flash drive &#8211; cool huh.<\/p>\n<p>Download the iso image from VMware, in my case I am using v6.0 update 2 because v6.5 doesn&#8217;t support my old CPU. My iso was &#8220;VMware-VMvisor-Installer-6.0.0.update02-3620759.x86_64.iso&#8221;.<\/p>\n<p>Also download Rufus, <a  href=\"https:\/\/rufus.akeo.ie\/\">https:\/\/rufus.akeo.ie\/<\/a>.<\/p>\n<p>Start Rufus browse to the ISO and ensure you set the partition scheme to &#8220;MBR partition scheme for BIOS or UEFI&#8221;:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2690 size-full\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX04.jpg\" alt=\"\" width=\"317\" height=\"450\" srcset=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX04.jpg 317w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX04-106x150.jpg 106w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX04-211x300.jpg 211w\" sizes=\"auto, (max-width: 317px) 100vw, 317px\" \/><\/p>\n<p>Once the flash drive has been created boot your desktop from it and select the ESX boot option from the Rufus menu:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2692 size-full\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX05.jpg\" alt=\"\" width=\"400\" height=\"220\" srcset=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX05.jpg 400w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX05-150x83.jpg 150w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX05-300x165.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>As it starts to boot ESX you can see in the bottom right you should see &#8220;&lt;SHIFT+O: Edit boot options&gt;&#8221; at this point, right as ESX pauses, quickly enter &lt;shift&gt;O &#8211; which is a letter &#8220;O&#8221; not a zero:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2693 size-full\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX06.jpg\" alt=\"\" width=\"500\" height=\"373\" srcset=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX06.jpg 500w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX06-150x112.jpg 150w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX06-300x224.jpg 300w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX06-402x300.jpg 402w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>Then the bottom left corner changes to: <img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2696 size-full\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX07.jpg\" alt=\"\" width=\"268\" height=\"61\" srcset=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX07.jpg 268w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX07-150x34.jpg 150w\" sizes=\"auto, (max-width: 268px) 100vw, 268px\" \/>This is the critical bit, you need to enter &#8220;formatwithmbr&#8221; &#8211; of course putting a space after &#8220;runweasel&#8221;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2697\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX08.jpg\" alt=\"\" width=\"258\" height=\"56\" srcset=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX08.jpg 258w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX08-150x33.jpg 150w\" sizes=\"auto, (max-width: 258px) 100vw, 258px\" \/><\/p>\n<p>Before you press &lt;enter&gt; I would suggest if you haven&#8217;t plugged in the destination USB flash drive do it now and press &lt;enter&gt;.<\/p>\n<p>This will eventually take you to the start of the installer screen, press &lt;enter&gt; to begin:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2698 size-full\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX09.jpg\" alt=\"\" width=\"400\" height=\"174\" srcset=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX09.jpg 400w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX09-150x65.jpg 150w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX09-300x131.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>At the next screen press &lt;F11&gt; to continue. The installer will now search for install media, you will then see the possible storage devices. If you have disconnected any disks and only have your flash drive then you will only see it. Obviously if you have other drives ensure you select the correct flash drive and press &lt;enter&gt;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2699 size-full\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX10.jpg\" alt=\"\" width=\"430\" height=\"221\" srcset=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX10.jpg 430w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX10-150x77.jpg 150w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX10-300x154.jpg 300w\" sizes=\"auto, (max-width: 430px) 100vw, 430px\" \/><\/p>\n<p>Keep accepting defaults and entering a root password. Then at the end press &lt;F11&gt; to begin the installation:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2700 size-full\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX11.jpg\" alt=\"\" width=\"430\" height=\"145\" srcset=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX11.jpg 430w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX11-150x51.jpg 150w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX11-300x101.jpg 300w\" sizes=\"auto, (max-width: 430px) 100vw, 430px\" \/><\/p>\n<p>Once finished you will see the final screen where you press &lt;enter&gt; to reboot:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2702 size-full\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX12.jpg\" alt=\"\" width=\"400\" height=\"223\" srcset=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX12.jpg 400w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX12-150x84.jpg 150w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX12-300x167.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>It will take a short while to restart but that&#8217;s fine. So it should now reboot to the same key but this time start up a normal ESX install that you can connect to:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2703 size-full\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX13.jpg\" alt=\"\" width=\"600\" height=\"448\" srcset=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX13.jpg 600w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX13-150x112.jpg 150w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX13-300x224.jpg 300w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2017\/06\/HPFlashDiskBootESX13-402x300.jpg 402w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h2>Resources<\/h2>\n<p>ESXi 5 Won\u2019t Boot From USB<\/p>\n<p><a  href=\"http:\/\/vmtoday.com\/2012\/09\/esxi-5-wont-boot-from-usb\/\">http:\/\/vmtoday.com\/2012\/09\/esxi-5-wont-boot-from-usb\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Why doesn&#8217;t the Internal USB port boot ESXi 6 on my Microserver Gen8?<\/p>\n<p><a  href=\"https:\/\/serverfault.com\/questions\/750051\/why-doesnt-the-internal-usb-port-boot-esxi-6-on-my-microserver-gen8\">https:\/\/serverfault.com\/questions\/750051\/why-doesnt-the-internal-usb-port-boot-esxi-6-on-my-microserver-gen8<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have running VMware ESXi servers for years, sometimes at work on servers but recently at home on a whole bunch of older desktop machines. Not too many problems and when I did have problems it was usually about an unsupported network adaptor. Just a few weeks ago I tried to run ESX from USB [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2686,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[124],"tags":[317,343,342,315,170,46,371,372,308],"class_list":["post-2681","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-esxi","tag-boot","tag-esx","tag-esxi","tag-flash-drive","tag-hp","tag-image","tag-usb-key","tag-vm","tag-vmware"],"_links":{"self":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/2681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2681"}],"version-history":[{"count":12,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/2681\/revisions"}],"predecessor-version":[{"id":2707,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/2681\/revisions\/2707"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/media\/2686"}],"wp:attachment":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2681"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}