{"id":42,"date":"2021-07-09T16:13:40","date_gmt":"2021-07-09T20:13:40","guid":{"rendered":"https:\/\/gregoryscentral.com\/?p=42"},"modified":"2021-07-10T10:02:33","modified_gmt":"2021-07-10T14:02:33","slug":"running-esxi-on-a-raspberry-pi","status":"publish","type":"post","link":"https:\/\/gregoryscentral.com\/index.php\/2021\/07\/09\/running-esxi-on-a-raspberry-pi\/","title":{"rendered":"Running ESXi on a RPi"},"content":{"rendered":"\n<p>Let&#8217;s be honest. I never knew this was or could be a thing. I heard about ESXi previously while doing research on home labs and NAS options. However it always struck me as far too advanced, needing specific equipment requirements, and something I simply didn&#8217;t need.<\/p>\n\n\n\n<p>Recently I came across a Network Chuck video concerning running a Kemp Load Balancer (see this post) for free. As you may know free is one of my favorite four letter f words. While looking into this option my initial thought was to run it in unRAID as a virtual machine. However that did not work. I was doing some research and discovered you could run it in ESXi. For the above listed reasons I kind of gave up on it.<\/p>\n\n\n\n<p>Not long after I came across an October 2020 video from <a href=\"https:\/\/www.youtube.com\/watch?v=VLRKZHN6hRo\">Data Knox<\/a> where he put ESXi on a Raspberry Pi. Now my interest is peaked. Raspberry Pi&#8217;s are amazing, mostly inexpensive and if they can now run these kinds of programs perhaps I need to reevaluate my position. I did some research and I downloaded the instructions (<a href=\"https:\/\/flings.vmware.com\/esxi-arm-edition?download_url=https%3A%2F%2Fdownload3.vmware.com%2Fsoftware%2Fvmw-tools%2Fesxi-on-arm%2FESXi-Arm-Fling-Doc.pdf\">Fling-on-Raspberry-Pi.pdf<\/a>).<\/p>\n\n\n\n<p>I first started with an old raspberry pi that I had laying around and quickly discovered that it simply was not powerful enough to do what I wanted it to do. I also found Data Knox difficult to watch. I don&#8217;t really know why, but again I set the project aside. However the idea stuck with me.<\/p>\n\n\n\n<p>A few days later Network Chuck was recommended to me by YouTube and low and behold he had a video covering the same topic! I finally broke down and bought a <a href=\"https:\/\/www.amazon.com\/gp\/product\/B0897XZDF2\/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&amp;th=1\">8gb Raspberry Pi 4<\/a> and followed Chuck&#8217;s video instructions.<\/p>\n\n\n\n<p>Coffee break! <\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<figure class=\"wp-block-embed is-type-rich is-provider-embed-handler wp-block-embed-embed-handler wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"VMware on a Raspberry Pi!?!?! (ESXi Install)\" width=\"750\" height=\"422\" src=\"https:\/\/www.youtube.com\/embed\/6aLyZisehCU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n<\/div>\n<\/div>\n<\/div><\/div>\n<\/div>\n<\/div>\n\n\n\n<p>Chuck&#8217;s video spoke to me much better then Data Knox&#8217;s and I was able to follow along getting everything working fine. At least until we got to the point where we install ESXi on the usb drive (Page 13 item 4). <\/p>\n\n\n\n<p>This is where you are choosing which drive the pi should boot from. Once selected you start hitting Shift-O and are supposed to append the command with:<br>autoPartitionOSdatasize=8192<\/p>\n\n\n\n<p>This creates an 8gb partition for ESXi to live in while leaving the rest of the drive available for as a datastore.<\/p>\n\n\n\n<p>It kept failing. My monitor would not allow me to see the line. I couldn&#8217;t understand what was happening. Now, to understand my situation, what you need to know about my set up is that my main desktop is connected to a monitor directly in front of my chair. Directly to the right is an older television that I use to watch TV while working. This is what I use as my monitor for my Pi&#8217;s during the initial setup before disconnecting and running headless. What was happening is that when TV&#8217;s are connected to a Pi via the HDMI port the television enlarges the signal and that part of the image is shows outside of the visible bounds of the screen. I found that if I edited the config.txt file on the flash drive to include:<br><kbd>overscan_top=20<br>overscan_bottom=20<br>overscan_left=20<br>overscan_right=20<\/kbd><\/p>\n\n\n\n<p>I added these commands right after the<br>gpu_mem=16<br>addition.<\/p>\n\n\n\n<p>This time everything worked. ESXi installed on the USB stick, a datastore was created, and I was able to start creating virtual machines.<\/p>\n\n\n\n<p>I didn&#8217;t write up detailed instructions because quite honestly there are better people out there who have done this. One of the nicest is from <a href=\"https:\/\/kalifornia909.info\/post\/esxi-raspberry-pi\/\">https:\/\/kalifornia909.info\/post\/esxi-raspberry-pi\/<\/a> (interestingly this is also one of the people that Network Chuck highlights in his &#8220;You need a website&#8221; video)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s be honest. I never knew this was or could be a thing. I heard about ESXi previously while doing research on home labs and NAS options. However it always struck me as far too advanced, needing specific equipment requirements, and something I simply didn&#8217;t need. Recently I came across a Network Chuck video concerning&hellip; <a class=\"more-link\" href=\"https:\/\/gregoryscentral.com\/index.php\/2021\/07\/09\/running-esxi-on-a-raspberry-pi\/\">Continue reading <span class=\"screen-reader-text\">Running ESXi on a RPi<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"wprm-recipe-roundup-name":"","wprm-recipe-roundup-description":"","footnotes":""},"categories":[4],"tags":[],"class_list":["post-42","post","type-post","status-publish","format-standard","hentry","category-rpi","entry"],"_links":{"self":[{"href":"https:\/\/gregoryscentral.com\/index.php\/wp-json\/wp\/v2\/posts\/42","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gregoryscentral.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gregoryscentral.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gregoryscentral.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gregoryscentral.com\/index.php\/wp-json\/wp\/v2\/comments?post=42"}],"version-history":[{"count":12,"href":"https:\/\/gregoryscentral.com\/index.php\/wp-json\/wp\/v2\/posts\/42\/revisions"}],"predecessor-version":[{"id":97,"href":"https:\/\/gregoryscentral.com\/index.php\/wp-json\/wp\/v2\/posts\/42\/revisions\/97"}],"wp:attachment":[{"href":"https:\/\/gregoryscentral.com\/index.php\/wp-json\/wp\/v2\/media?parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gregoryscentral.com\/index.php\/wp-json\/wp\/v2\/categories?post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gregoryscentral.com\/index.php\/wp-json\/wp\/v2\/tags?post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}