{"id":25079,"date":"2020-05-28T12:03:25","date_gmt":"2020-05-28T12:03:25","guid":{"rendered":"https:\/\/3dwork.io\/booteando-nuestra-raspberry-pi-desde-usb\/"},"modified":"2020-12-11T18:36:34","modified_gmt":"2020-12-11T18:36:34","slug":"raspberry-pi-from-usb","status":"publish","type":"post","link":"https:\/\/3dwork.io\/en\/raspberry-pi-from-usb\/","title":{"rendered":"Booting our Raspberry Pi from USB with an SSD hard drive (or pendrive)"},"content":{"rendered":"<p>If you are deranged by the exciting world of Raspberry Pi, you are in luck. Now you can drastically increase the speed of it <strong> by booting your Raspberry Pi from USB<\/strong>.<\/p>\n<p>These devices are normally configured to boot naturally from an SDCard inserted for this purpose. This is where we install our entire operating system, such as Raspberry Pi OS.<\/p>\n<p>Raspberry Pi OS, formerly called Raspbian, is based on the well-known Linux distribution Debian, which is one of the best and most stable options in the Linux world (and my favorite without any doubts).<\/p>\n<p>As a mere anecdote, Debian owes its name to the fact that Ian (its developer) linked its name to that of the girlfriend he had at the time named Debra, and from there Deb-Ian was born in 1993, curious the truth.<\/p>\n<p>[toc]<\/p>\n<p>&nbsp;<\/p>\n<h2>Booting the Raspberry Pi 4 from USB<\/h2>\n<p>Returning to the topic that concerns us, and thanks to <strong><a href=\"https:\/\/tynick.com\/blog\/05-22-2020\/raspberry-pi-4-boot-from-usb\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\">tynic<\/a><\/strong>, now we can make our boot available directly from any USB port of our beloved Raspberry Pi.<\/p>\n<p>However, this solution is currently available in &#8220;beta&#8221; mode. You may not want (or should) use it on any Raspberry Pi that you use in production. Although good, it could be said that an SDCard is not something suitable to use as a hard disk in any kind of self-respecting server, so it is up to you.<\/p>\n<p>The clear advantage that we can see at first sight will be speed. <strong>An SSD hard drive is approximately 10 times faster than an SDCard<\/strong>. If we add to that a 64-bit operating system, the difference in terms of speed will be noticeable.<\/p>\n<p>&nbsp;<\/p>\n<h2>Hardware needed<\/h2>\n<p>Here I leave some of the components that appear in the article. They are affiliate links to different Marketplaces, so if you use any of them we will have a small commission and you will be helping to support the 3DWork.io project.<\/p>\n<table class=\"table table-responsive table-sm\">\n<tbody>\n<tr>\n<td style=\"font-size: 14px; text-align: left; color: #690;\"><b>Raspberry Pi 4<\/b><\/td>\n<td style=\"font-size: 13px; text-align: left;\"><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/amzn.to\/3gEPIlO\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21668\" style=\"border: 0px solid white !important; display: inline; opacity: 0.7; margin: 0px; padding: 0px;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png\" alt=\"- - -\" width=\"57\" height=\"18\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png 1267w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-300x94.png 300w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1024x322.png 1024w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-768x242.png 768w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1200x399.png 1200w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-585x184.png 585w\" sizes=\"auto, (max-width: 57px) 100vw, 57px\" \/><\/a><\/td>\n<td style=\"font-size: 13px; text-align: center; padding: 0px; margin: 0px;\"><a href=\"https:\/\/s.click.aliexpress.com\/e\/_dZRk0D9\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-24186\" style=\"border: 0px solid white !important; display: inline; opacity: 0.7; margin: 0px; padding: 0px;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/aliexpress-logo.png\" alt=\"- - -\" width=\"83\" height=\"18\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/aliexpress-logo.png 500w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/aliexpress-logo-300x65.png 300w\" sizes=\"auto, (max-width: 83px) 100vw, 83px\" \/><\/a><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/www.banggood.com\/es\/Raspberry-Pi-4-Model-B-1GB2GB4GB-Mother-Board-Mainboard-With-Broadcom-BCM2711-Quad-core-Cortex-A72-ARM-v8-64-bit-SoC-1_5GHz-p-1539102.html?p=IB201941683835201911&amp;custlinkid=929270\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21386\" style=\"border: 0px solid white !important; display: inline; opacity: 0.7; margin: 0px; padding: 0px;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood.jpg\" alt=\"- - -\" width=\"64\" height=\"21\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood.jpg 524w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood-300x99.jpg 300w\" sizes=\"auto, (max-width: 64px) 100vw, 64px\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 14px; text-align: left; color: #690;\"><b>MicroSD Card + Reader<\/b><\/td>\n<td style=\"font-size: 13px; text-align: left;\"><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/amzn.to\/3nn5pk0\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21668\" style=\"border: 0px solid white !important; display: inline; opacity: 0.7; margin: 0px; padding: 0px;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png\" alt=\"- - -\" width=\"57\" height=\"18\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png 1267w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-300x94.png 300w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1024x322.png 1024w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-768x242.png 768w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1200x399.png 1200w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-585x184.png 585w\" sizes=\"auto, (max-width: 57px) 100vw, 57px\" \/><\/a><\/td>\n<td style=\"font-size: 13px; text-align: center; padding: 0px; margin: 0px;\"><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/www.banggood.com\/custlink\/G3K3fpfpQo\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21386\" style=\"border: 0px solid white !important; display: inline; opacity: 0.7; margin: 0px; padding: 0px;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood.jpg\" alt=\"- - -\" width=\"64\" height=\"21\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood.jpg 524w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood-300x99.jpg 300w\" sizes=\"auto, (max-width: 64px) 100vw, 64px\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 14px; text-align: left; color: #690;\"><b>Power Supply 3A<\/b><\/td>\n<td style=\"font-size: 13px; text-align: left;\"><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/amzn.to\/2Luga6j\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21668\" style=\"border: 0px solid white !important; display: inline; opacity: 0.7; margin: 0px; padding: 0px;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png\" alt=\"- - -\" width=\"57\" height=\"18\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png 1267w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-300x94.png 300w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1024x322.png 1024w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-768x242.png 768w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1200x399.png 1200w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-585x184.png 585w\" sizes=\"auto, (max-width: 57px) 100vw, 57px\" \/><\/a><\/td>\n<td style=\"font-size: 13px; text-align: center; padding: 0px; margin: 0px;\"><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/www.banggood.com\/custlink\/3mmvwJucUp\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21386\" style=\"border: 0px solid white !important; display: inline; opacity: 0.7; margin: 0px; padding: 0px;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood.jpg\" alt=\"- - -\" width=\"64\" height=\"21\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood.jpg 524w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood-300x99.jpg 300w\" sizes=\"auto, (max-width: 64px) 100vw, 64px\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 14px; text-align: left; color: #690;\"><b>Case (optional)<\/b><\/td>\n<td style=\"font-size: 13px; text-align: left;\"><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/amzn.to\/3a6DGQX\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21668\" style=\"border: 0px solid white !important; display: inline; opacity: 0.7; margin: 0px; padding: 0px;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png\" alt=\"- - -\" width=\"57\" height=\"18\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png 1267w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-300x94.png 300w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1024x322.png 1024w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-768x242.png 768w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1200x399.png 1200w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-585x184.png 585w\" sizes=\"auto, (max-width: 57px) 100vw, 57px\" \/><\/a><\/td>\n<td style=\"font-size: 13px; text-align: center; padding: 0px; margin: 0px;\"><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/www.banggood.com\/custlink\/vmKKuC1W1P\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21386\" style=\"border: 0px solid white !important; display: inline; opacity: 0.7; margin: 0px; padding: 0px;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood.jpg\" alt=\"- - -\" width=\"64\" height=\"21\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood.jpg 524w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/banggood-300x99.jpg 300w\" sizes=\"auto, (max-width: 64px) 100vw, 64px\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 14px; text-align: left; color: #690;\"><b>Samsung 860 EVO 500GB 2.5&#8243; SSD<\/b><\/td>\n<td style=\"font-size: 13px; text-align: left;\"><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/amzn.to\/37StrwZ\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21668\" style=\"border: 0px solid white !important; display: inline; opacity: 0.7; margin: 0px; padding: 0px;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png\" alt=\"- - -\" width=\"57\" height=\"18\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png 1267w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-300x94.png 300w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1024x322.png 1024w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-768x242.png 768w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1200x399.png 1200w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-585x184.png 585w\" sizes=\"auto, (max-width: 57px) 100vw, 57px\" \/><\/a><\/td>\n<td style=\"font-size: 13px; text-align: center; padding: 0px; margin: 0px;\"><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 14px; text-align: left; color: #690;\"><b>ELUTENG USB3 SATA Adapter 2.5&#8243;<\/b><\/td>\n<td style=\"font-size: 13px; text-align: left;\"><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><a href=\"https:\/\/amzn.to\/3oMN9kH\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21668\" style=\"border: 0px solid white !important; display: inline; opacity: 0.7; margin: 0px; padding: 0px;\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png\" alt=\"- - -\" width=\"57\" height=\"18\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346.png 1267w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-300x94.png 300w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1024x322.png 1024w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-768x242.png 768w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-1200x399.png 1200w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/01\/Amazon-Logo-PNG-e1579685453346-585x184.png 585w\" sizes=\"auto, (max-width: 57px) 100vw, 57px\" \/><\/a><\/td>\n<td style=\"font-size: 13px; text-align: center; padding: 0px; margin: 0px;\"><\/td>\n<td style=\"font-size: 13px; text-align: center;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h2>STEP 1: Updating the boot firmware<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-22537\" src=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/02\/RaspPI.jpg\" alt=\"- - -\" width=\"1200\" height=\"675\" title=\"- -\" srcset=\"https:\/\/3dwork.io\/wp-content\/uploads\/2020\/02\/RaspPI.jpg 1200w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/02\/RaspPI-300x169.jpg 300w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/02\/RaspPI-1024x576.jpg 1024w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/02\/RaspPI-768x432.jpg 768w, https:\/\/3dwork.io\/wp-content\/uploads\/2020\/02\/RaspPI-585x329.jpg 585w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>Before starting to configure our Raspberry Pi 4 to boot from USB, we need to have it updated with the latest available packages and restart it. For this purpose, you must execute the following commands:<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nsudo apt-get update\r\nsudo apt-get upgrade -y\r\nsudo rpi-update \r\nsudo reboot\r\n<\/pre>\n<p>After making sure that the Raspberry Pi 4 has restarted correctly, we will proceed to install a package that will allow us to update the bootloader. The latest version of Raspbian Buster already comes with this package, however we will make sure to put the following lines in the console:<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nsudo apt install rpi-eeprom -y\r\n<\/pre>\n<p>Now we will execute this other command to indicate that we are going to use beta firmware versions.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nsudo sed -i 's\/critical\/beta\/g' \/etc\/default\/rpi-eeprom-update\r\n<\/pre>\n<p>We install the new bootloader with this other command.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nsudo rpi-eeprom-update -d -f \/lib\/firmware\/raspberrypi\/bootloader\/beta\/pieeprom-2020-05-15.bin\r\n<\/pre>\n<p>If everything went correctly, the new manager will have been installed and a message will have appeared indicating &#8220;EEPROM update pending. Please reboot to apply the update&#8221;. So we will proceed to restart our system again so that all the changes made with the following command (already well known) are applied.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nsudo reboot\r\n<\/pre>\n<p>At this point, you can check if everything has gone correctly by executing the following commands. The first one (vcgencmd bootloader_version) will show you a more recent date, and the second command (vcgencmd bootloader_config) will indicate the boot order currently set.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nvcgencmd bootloader_version \r\nvcgencmd bootloader_config\r\n<\/pre>\n<p>If we take a look at the information output of the second command, you will see a parameter called BOOT_ORDER. This parameter, or better said property, will define the sequence of the different startup modes according to how they are arranged. The manager will use the first character on the right and then continue with the next ones, if any.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\npi@raspberrypi:~ $ vcgencmd bootloader_config\r\n\r\n&#x5B;all]\r\nBOOT_UART=0\r\nWAKE_ON_GPIO=1\r\nPOWER_OFF_ON_HALT=0\r\nDHCP_TIMEOUT=45000\r\nDHCP_REQ_TIMEOUT=30000\r\nENABLE_SELF_UPDATE=1\r\nDISABLE_HDMI=0\r\nSD_BOOT_MAX_RETRIES=1\r\nBOOT_ORDER=0xf41\r\n\r\npi@raspberrypi:~ $\r\n<\/pre>\n<p>These are the available boot modes, and we are allowed to put up to 8 modes on the same line:<\/p>\n<p>0x0 &#8211; NONE (stop with error pattern)<br \/>\n0x1 &#8211; SD CARD<br \/>\n0x2 &#8211; NETWORK<br \/>\n0x3 &#8211; USB device boot (<strong><a href=\"https:\/\/github.com\/raspberrypi\/usbboot\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external\">usbboot<\/a><\/strong>)<br \/>\n0x4 &#8211; USB mass storage boot<br \/>\n0xf &#8211; RESTART (loop) &#8211; start again with the first boot order field.<\/p>\n<p>And as you can imagine, here is the crux of the matter. Now in this line you will see &#8220;BOOT_ORDER=0xf41&#8221;, and as you can imagine what will happen is that first it will try to load the operating system from the SDCARD and if it does not exist, from our hard drive.<\/p>\n<p>By default, the value of BOOT_ORDER is 0x1, but since we have updated the firmware to the latest beta version &#8220;<strong>pieeprom-2020-05-15.bin<\/strong>&#8221; 0x41 should now appear. This means that it will try to boot from SDCard and if it does not find a memory it will test USB Mass Storage (our hard drive).<\/p>\n<p>If you have more concerns about the rest of the parameters referring to the Bootloader configuration, you can find the full description in the official documentation of the Raspberry Pi project at <strong><a href=\"https:\/\/www.raspberrypi.org\/documentation\/hardware\/raspberrypi\/bcm2711_bootloader_config.md\" target=\"_blank \" rel=\"noopener noreferrer nofollow\" class=\"external\">next link<\/a><\/strong>.<\/p>\n<p>&nbsp;<\/p>\n<h2>STEP 2: Install Raspbian on your SSD (or pendrive)<\/h2>\n<p>Now the second step that we must carry out to boot our Raspberry Pi from USB is to install the Raspbian operating system on our SSD or Pendrive hard drive, depending on what you want to use. Here the process is similar to how it is installed on an SDCard, so I will not proceed to detail it.<\/p>\n<p>When you have finished installing on your SSD hard drive, we will mount the drive using these commands:<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nsudo mkdir \/mnt\/usb\r\nsudo mount \/dev\/sda1 \/mnt\/usb\r\n<\/pre>\n<p>Now, with the unit mounted and having access to it, we will copy some necessary files to it and the configuration process will be finished.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nsudo cp \/boot\/*.elf \/mnt\/usb\r\nsudo cp \/boot\/*.dat \/mnt\/usb\r\n<\/pre>\n<p>To finish, we will turn off our Raspberry Pi with the &#8220;halt&#8221; command and extract the SDCard. And if everything went correctly it should work.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nsudo halt\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Well, I hope that this short mini-tutorial to boot your Raspberry Pi from USB has been to your liking. And do not hesitate to add us to our social networks (<strong><a href=\"https:\/\/www.facebook.com\/3DWork.Spain\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external\">Facebook<\/a><\/strong>, <strong><a href=\"https:\/\/twitter.com\/3dwork_io\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external\">Twitter<\/a><\/strong>, <strong><a href=\"https:\/\/www.instagram.com\/3dwork.io\" class=\"external\" rel=\"nofollow\">Instagram<\/a><\/strong>) or to our <a href=\"https:\/\/t.me\/joinchat\/FzEj0ETGzUJVtc9DD1kgZQ\" class=\"external\" rel=\"nofollow\"><strong>Telegram<\/strong><\/a> channel.<\/p>\n<p>&nbsp;<\/p>\n<p>You can find more interesting articles at <a href=\"https:\/\/3dwork.io\/en\/\" target=\"_blank\" rel=\"noopener noreferrer\" data-wpel-link=\"internal\"><strong>3DWork.io<\/strong><\/a> in the following links:<\/p>\n<ul>\n<li><a style=\"font-size: 14px;\" href=\"https:\/\/3dwork.io\/en\/maker-ultimate-2-review-of-the-latest-monoprice-printer\/\">Maker Ultimate 2: Review of the latest Monoprice printer<\/a><\/li>\n<li><a style=\"font-size: 14px;\" href=\"https:\/\/3dwork.io\/analyzing-the-new-resin-printer-phrozen-sonic-mini-review\/\">Analyzing the new resin printer Phrozen Sonic Mini (Review)<\/a><\/li>\n<li><a style=\"font-size: 14px;\" href=\"https:\/\/3dwork.io\/en\/mks-robin-nano-v1-2-analyzing-the-new-makerbase-32bit-boards\/\">MKS Robin Nano v1.2: Analyzing the new MakerBase 32bit boards<\/a><\/li>\n<li><a style=\"font-size: 14px;\" href=\"https:\/\/3dwork.io\/en\/hollow-3d-objects-with-chitubox-to-save-resin\/\" data-wpel-link=\"internal\">Hollow 3D objects with ChiTuBox to save resin<\/a><\/li>\n<li><a style=\"font-size: 14px;\" href=\"https:\/\/3dwork.io\/en\/10-reasons-to-use-chitubox-with-your-resin-printer-sla-dlp-2\/\" data-wpel-link=\"internal\">10 reasons to use ChiTuBox with your resin printer (SLA \/ DLP)<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are deranged by the exciting world of Raspberry Pi, you are in luck. Now you can drastically increase the speed of it by booting your Raspberry Pi from USB. These devices are normally configured to boot naturally from an SDCard inserted for this purpose. This is where we install our entire operating system, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":25013,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[3702],"tags":[4022,4025,4024,4023],"class_list":["post-25079","post","type-post","status-publish","format-standard","has-post-thumbnail","category-articles","tag-raspberry-pi-4","tag-raspbian-en","tag-ssd","tag-usb"],"uagb_featured_image_src":{"full":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/Raspi4_Boot_USB.jpg",1200,586,false],"thumbnail":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/Raspi4_Boot_USB-150x150.jpg",150,150,true],"medium":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/Raspi4_Boot_USB-300x147.jpg",300,147,true],"medium_large":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/Raspi4_Boot_USB-768x375.jpg",768,375,true],"large":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/Raspi4_Boot_USB-1024x500.jpg",1024,500,true],"1536x1536":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/Raspi4_Boot_USB.jpg",1200,586,false],"2048x2048":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/Raspi4_Boot_USB.jpg",1200,586,false],"pixwell_370x250":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/Raspi4_Boot_USB-370x250.jpg",370,250,true],"pixwell_370x250-2x":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/Raspi4_Boot_USB-740x500.jpg",740,500,true],"pixwell_370x250-3x":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/Raspi4_Boot_USB-1110x586.jpg",1110,586,true],"pixwell_280x210":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/Raspi4_Boot_USB-280x210.jpg",280,210,true],"pixwell_280x210-2x":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/Raspi4_Boot_USB-560x420.jpg",560,420,true],"pixwell_400x450":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/Raspi4_Boot_USB-400x450.jpg",400,450,true],"pixwell_400x600":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/Raspi4_Boot_USB-400x586.jpg",400,586,true],"pixwell_450x0":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/Raspi4_Boot_USB-450x220.jpg",450,220,true],"pixwell_780x0":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/Raspi4_Boot_USB-780x381.jpg",780,381,true],"pixwell_780x0-2x":["https:\/\/3dwork.io\/wp-content\/uploads\/2020\/05\/Raspi4_Boot_USB.jpg",1200,586,false]},"uagb_author_info":{"display_name":"Peter","author_link":"https:\/\/3dwork.io\/en\/author\/peter\/"},"uagb_comment_info":0,"uagb_excerpt":"If you are deranged by the exciting world of Raspberry Pi, you are in luck. Now you can drastically increase the speed of it by booting your Raspberry Pi from USB. These devices are normally configured to boot naturally from an SDCard inserted for this purpose. This is where we install our entire operating system,&hellip;","_links":{"self":[{"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/posts\/25079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/comments?post=25079"}],"version-history":[{"count":0,"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/posts\/25079\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/media\/25013"}],"wp:attachment":[{"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/media?parent=25079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/categories?post=25079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/3dwork.io\/en\/wp-json\/wp\/v2\/tags?post=25079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}