{"id":6,"date":"2012-06-30T12:49:00","date_gmt":"2012-06-30T12:49:00","guid":{"rendered":"http:\/\/178.62.14.192\/?p=6"},"modified":"2012-06-30T12:49:00","modified_gmt":"2012-06-30T12:49:00","slug":"raspberry-pi-booting-from-usb","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=6","title":{"rendered":"Raspberry Pi &#8211; booting from USB"},"content":{"rendered":"<p>So! RPi post 3!<br \/>\n<strong>NOTE: This was pretty much an abject failure and is only included here for completion purposes (i.e. it was on the wrong blog and I wanted it moved!)<\/strong><\/p>\n<p><strong>Objective<\/strong><br \/>\nGet the Pi booting from a USB flash drive.<\/p>\n<p><strong>Why?<\/strong><br \/>\nFor reasons of speed and to allow more to be installed on the operating system.<\/p>\n<p><strong>Caveat<\/strong><br \/>\nIt&#8217;s impossible to boot from a USB flash drive directly. What you will be doing is to use the SD card as a &#8216;bios&#8217; and then bootstrap it to jump to the flash drive.<\/p>\n<p><strong>Main reference<\/strong><br \/>\nI decided not to try and do this all by myself. I tried the guide here:<\/p>\n<p>but found that it didn&#8217;t give me enough information to do anything with.<br \/>\nI then found this guide from Andrew Ord in Somerset, UK:<\/p>\n<p><a href=\"http:\/\/andreword.co.uk\/Applications\/Raspberry_PI\/Entries\/2012\/6\/4_Preparing_the_destination_drive.html\">http:\/\/andreword.co.uk\/Applications\/Raspberry_PI\/Entries\/2012\/6\/4_Preparing_the_destination_drive.html<\/a><\/p>\n<p><span style=\"background-color: white;\">It&#8217;s not completely accurate (or wasn&#8217;t when I ran through it on July 4\/5 2012, so here&#8217;s an updated version.<\/span><\/p>\n<p><strong>My set-up<\/strong><\/p>\n<ul>\n<li><span style=\"background-color: white;\">Raspberry Pi model B.<\/span><\/li>\n<li><span style=\"background-color: white;\">2GB SD card (from MobyMemory, their own brand).<\/span><\/li>\n<li><span style=\"background-color: white;\">16GB flash drive. (from\u00a0<a href=\"http:\/\/www.play.com\/PC\/PCs\/4-\/20708208\/858731864\/Busbi-Lite-16GB-USB-2-0-Flash-Drive\/ListingDetails.html\">Play.com<\/a>)<\/span><\/li>\n<li><span style=\"background-color: white;\">USB keyboard.<\/span><\/li>\n<li><span style=\"background-color: white;\">Ethernet cable.<\/span><\/li>\n<li><span style=\"background-color: white;\">A 3.5&#8243; car rear view camera screen. (You can use any monitor\/screen that will connect)<\/span><\/li>\n<li><span style=\"background-color: white;\">Laptop running Windows 7 and the Putty terminal.<\/span><\/li>\n<\/ul>\n<p><span style=\"background-color: white;\"><strong>A &#8211; Preparation<\/strong><\/span><br \/>\n<span style=\"background-color: white;\">Install the\u00a0<a href=\"http:\/\/www.raspberrypi.org\/archives\/1435\">Debian Wheezy Beta distribution<\/a>. This was done on Windows. You may find that the image writer doesn&#8217;t work. There are alternatives, but the most import thing is to get this done. You can&#8217;t go any further unless you do.<\/span><\/p>\n<ol>\n<li>Download from the link above.<\/li>\n<li>Download the newest version of win32 diskimager from\u00a0\u00a0<a href=\"https:\/\/launchpad.net\/win32-image-writer\/+download\">https:\/\/launchpad.net\/win32-image-writer\/+download<\/a><\/li>\n<li>Using it, write the image you downloaded to your SD card.<\/li>\n<li>Put the card in pi.<\/li>\n<\/ol>\n<div><strong>B &#8211; Devices and Partitions and Swaps, Oh My!<\/strong><\/div>\n<div>Sort out partitions and swaps and mount points.\u00a0<strong>NB This will wipe your USB card<\/strong><\/div>\n<div>\n<ol>\n<li>Boot up the Pi with your flash drive and other cables plugged in. All the steps from here on (up to the networking step) were done over a Putty terminal.<\/li>\n<li>Log in as root with password root. (You&#8217;re going to sudo loads of stuff anyway, so logging in as root seems sensible).<\/li>\n<li>ls \/dev and look for a device called &#8216;sda&#8217;. This is the whole USB flash drive. You are now going to sort it out so you can actually use it.<\/li>\n<li>fdisk \/dev\/sda<\/li>\n<li>Do p &lt;enter&gt; to see the partition table.<\/li>\n<li>Delete any existing partitions by doing d &lt;enter&gt; and picking the partition if necessary.<\/li>\n<li>Create new partitions:<\/li>\n<li>Do n &lt;enter&gt; p &lt;enter&gt; 1 &lt;enter&gt;<\/li>\n<li>Hit &lt;enter&gt; so it takes the default &#8216;start&#8217; position.<\/li>\n<li>Choose an appropriate size for the main boot partition by following the instructions on that line. I think it&#8217;s something like size=+12GB or something. It says it on screen.<\/li>\n<li>Once you&#8217;re back to the fdisk console, do n &lt;enter&gt; p &lt;enter&gt; 2 &lt;enter&gt;.<\/li>\n<li>Use the default &#8216;start&#8217; and &#8216;end&#8217; positions (so that it automatically takes up the whole disk).<\/li>\n<li>This gives you two partitions. Exit from fdisk.<\/li>\n<li>At the prompt, type mkfs.ext4 \/dev\/sda1 (formats the main partition)<\/li>\n<li>Then do mkswap \/dev\/sda2 (which formats the swap drive).<\/li>\n<\/ol>\n<\/div>\n<p><span style=\"background-color: white;\"><br \/>\n<\/span><span style=\"background-color: white;\">Using the most recent Debian SD card image, I\u2019ve booted up with the external drive attached to the second USB port<\/span><\/p>\n<p>1.Logged in to debian with the pi\/raspberry account<br \/>\n2.sudo su (switch to su mode without the root password)<br \/>\n3.ls \/dev<br \/>\n(list all devices, depending on the type of drive)<br \/>\nLook for \/dev\/sda<br \/>\nNote your SD card will be listed as \/dev\/mmcblk0 (with partitions p1, p2, p3)<br \/>\n4.fdisk \/dev\/sda (obviously change this to match your HDD configuration)<br \/>\n5.p (print the partition table)<br \/>\n6.d &lt;Enter&gt; &lt;number&gt; (for each partition to delete them)<br \/>\n7.n &lt;Enter&gt; p &lt;Enter&gt; 1 &lt;Enter&gt; (Choose appropriate size for your main file area)<br \/>\n8.n &lt;Enter&gt; p &lt;Enter&gt; 2 &lt;Enter&gt; (make sure to have left yourself some swapspace)<br \/>\n9.You can set the boot flag if you want, but it isn\u2019t needed since your booting from the SD card<br \/>\n10.mkfs.ext4 \/dev\/sda1 (format the first partition)<br \/>\n11.mkswap \/dev\/sda2 (format the swap space)<\/p>\n<p>Now we need to prepare the installation onto this new drive ready to boot<br \/>\n1.mkdir \/a (create a folder called a in the root, this is where we will build our new install)<br \/>\n2.mount \/dev\/sda1 \/a (mount our new drive on \/a)<br \/>\n3.apt-get update (update our package sources)<br \/>\n4.apt-get install debootstrap (install debootstrap)<br \/>\n5.debootstrap squeeze \/a http:\/\/192.168.1.11:3142\/ftp.debian.org\/debian\/<br \/>\n(do a minimal build onto our folder)<br \/>\nI use apt-cacher-ng on another machine, use http:\/\/ftp.debian.org\/debian\/<\/p>\n<p>Once the packages have downloaded and installed we should have an extremely minimal debian install in \/a<br \/>\nLet\u2019s move across into this new environment and start to build it up to be able to operate on it\u2019s own<\/p>\n<p>Download the kernel file from http:\/\/www.bootc.net\/raspberrypi\/linux- &#8230; _armel.deb<br \/>\n(Note : You may find that the version has been updated since I wrote this note, please go to http:\/\/www.bootc.net\/raspberrypi\/ to find the latest file name if needed)<\/p>\n<p>1. wget http:\/\/www.bootc.net\/raspberrypi\/linux- &#8230; _armel.deb<br \/>\nCopy the downloaded files, linux-image-3.2.18-rpi1+_5_armel.deb and linux-raspberrypi-3.1.9-18-arm.pkg.tar to your new area (\/a\/root\/installation was where I put the files)<\/p>\n<p>1.chroot \/a (Change root to our new folder)<br \/>\n2.passwd &lt;Enter&gt; (follow instructions to set the new passwd for root on your new install)<br \/>\n3.apt-get update<br \/>\n4.apt-get install aptitude openssh-server locales ntp<br \/>\n5.dpkg-reconfigure locales<\/p>\n<p>This should provide us with a remotely accessible platform once we get the kernel installed<\/p>\n<p>Let\u2019s get the kernel and modules installed<br \/>\n1.cd \/root\/installations<br \/>\n2.dpkg -i linux-image-3.2.18-rpi1+_5_armel.deb<\/p>\n<p>The new kernel is now stored in \/boot. In order to update your SD card to use this kernel you now need to do a little slight of hand<\/p>\n<p>The file you need is in \/boot called vmlinuz-3.2.18-rpi1+, and to use it we need to copy this file and rename it to kernel.img and store it on the SD card<\/p>\n<p>When I applied the kernel update on my SD card, I did the following<br \/>\n1.mkdir \/tempSD<br \/>\n2.mount \/dev\/mmcblk0p1 \/tempSD<br \/>\n3.mv \/tempSD\/kernel.img \/tempSD\/kernel.img.original<br \/>\n4.cp \/boot\/vmlinuz-3.2.18-rpi1+ \/tempSD\/kernel.img<br \/>\n5.nano \/tempSD\/cmdline.txt<br \/>\n6.(modify the boot command by changing root=\/dev\/mmcblk0p2 to root=\/dev\/sda1)<br \/>\n7.CTRL+O,&lt;Enter&gt;,CTRL+X<br \/>\n8.umount \/tempSD<br \/>\n9.rmdir \/tempSD<\/p>\n<p>These changes now mean you have the up to date kernel on the SD card and you\u2019ve modified the boot commands to use your USB HDD as the root file system<\/p>\n<p>Now do a reboot (reboot &lt;Enter&gt;) and let\u2019s see what happens<\/p>\n<p>The first thing you should notice is that it boots up fairly quickly. Always a good sign I think<\/p>\n<p>The second is that you should be able to logon as root, using the password you set earlier<\/p>\n<p>Now we need to make a few modifications to the configuration in order to automatically get the internet connection up and running<\/p>\n<p>1.Log on to the PI<br \/>\n2.nano \/etc\/network\/interfaces<br \/>\n3.Add the following lines to the file if they are not already present<br \/>\nauto eth0<br \/>\niface eth0 inet dhcp<br \/>\n4.Before we forget, we need to turn on our swap if it hasn\u2019t already<br \/>\n5.nano \/etc\/fstab<br \/>\nadd the following line<br \/>\nnone \u00a0 \u00a0\/dev\/sda2 \u00a0 \u00a0swap \u00a0 \u00a0sw \u00a0 \u00a00 \u00a0 \u00a00<br \/>\n6.exit<br \/>\n7.swapon \/dev\/sda2<br \/>\n8.To address a bug I keep finding with the network connection, edit the sysctl.conf file in \/etc and include the line vm.min_free_kbytes=32768<br \/>\n9.Now you should be able to reboot and have networking available<\/p>\n<p>XBMC time (incomplete text, still trying to make this bit work correctly)<\/p>\n<p>Edit apt sources.list file to include a local mirror for debian-multimedia<\/p>\n<p>When you try to do an apt-get update you will get an error due to the gpg key, use the following command and substitude the code returned in the error message in order to correct the problem<br \/>\n1. wget -q &#8220;http:\/\/keyserver.ubuntu.com:11371\/pks\/lookup?op=get&amp;search=0x4874D3686E80C6B7&#8221; -O- | sudo apt-key add &#8211;<\/p>\n<p>Now we can install xbmc using \u201capt-get install xbmc lxde\u201d. File sizes are around 260Mb alone for XBMC, probably about the same for LXDE packages so be prepared to wait<\/p>\n<p>1. dpkg-reconfigure x11-common<br \/>\n2. Choose Anybody<\/p>\n<div class=\"blogger-post-footer\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/tracker\/3715640409195873782-6810938660198665607?l=raspberrypipod.blogspot.com\" alt=\"\" width=\"1\" height=\"1\" \/><\/div>\n","protected":false},"excerpt":{"rendered":"<p>So! RPi post 3! NOTE: This was pretty much an abject failure and is only included here for completion purposes (i.e. it was on the wrong blog and I wanted it moved!) Objective Get the Pi booting from a USB&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=6\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[42],"tags":[],"class_list":["post-6","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Raspberry Pi - booting from USB - Raspberry Pi Pod<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=6\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Raspberry Pi - booting from USB - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"So! RPi post 3! NOTE: This was pretty much an abject failure and is only included here for completion purposes (i.e. it was on the wrong blog and I wanted it moved!) Objective Get the Pi booting from a USB&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=6\" \/>\n<meta property=\"og:site_name\" content=\"Raspberry Pi Pod\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/recantha\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-06-30T12:49:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blogger.googleusercontent.com\/tracker\/3715640409195873782-6810938660198665607?l=raspberrypipod.blogspot.com\" \/>\n<meta name=\"author\" content=\"Michael Horne\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@recantha\" \/>\n<meta name=\"twitter:site\" content=\"@recantha\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Horne\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Raspberry Pi &#8211; booting from USB\",\"datePublished\":\"2012-06-30T12:49:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6\"},\"wordCount\":1451,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blogger.googleusercontent.com\/tracker\/3715640409195873782-6810938660198665607?l=raspberrypipod.blogspot.com\",\"articleSection\":[\"Raspberry Pi Foundation\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=6#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6\",\"name\":\"Raspberry Pi - booting from USB - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blogger.googleusercontent.com\/tracker\/3715640409195873782-6810938660198665607?l=raspberrypipod.blogspot.com\",\"datePublished\":\"2012-06-30T12:49:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=6\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6#primaryimage\",\"url\":\"https:\/\/blogger.googleusercontent.com\/tracker\/3715640409195873782-6810938660198665607?l=raspberrypipod.blogspot.com\",\"contentUrl\":\"https:\/\/blogger.googleusercontent.com\/tracker\/3715640409195873782-6810938660198665607?l=raspberrypipod.blogspot.com\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=6#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Raspberry Pi &#8211; booting from USB\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"name\":\"Raspberry Pi Pod\",\"description\":\"Experiences with the Raspberry Pi micro computer and microcontroller\",\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\",\"name\":\"Raspberry Pi Pod\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"width\":800,\"height\":337,\"caption\":\"Raspberry Pi Pod\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/recantha\/\",\"https:\/\/x.com\/recantha\",\"https:\/\/www.linkedin.com\/in\/recantha\/\",\"https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\",\"name\":\"Michael Horne\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"caption\":\"Michael Horne\"},\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Raspberry Pi - booting from USB - Raspberry Pi Pod","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.recantha.co.uk\/blog\/?p=6","og_locale":"en_US","og_type":"article","og_title":"Raspberry Pi - booting from USB - Raspberry Pi Pod","og_description":"So! RPi post 3! NOTE: This was pretty much an abject failure and is only included here for completion purposes (i.e. it was on the wrong blog and I wanted it moved!) Objective Get the Pi booting from a USB&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=6","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2012-06-30T12:49:00+00:00","og_image":[{"url":"https:\/\/blogger.googleusercontent.com\/tracker\/3715640409195873782-6810938660198665607?l=raspberrypipod.blogspot.com","type":"","width":"","height":""}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Raspberry Pi &#8211; booting from USB","datePublished":"2012-06-30T12:49:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6"},"wordCount":1451,"commentCount":0,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6#primaryimage"},"thumbnailUrl":"https:\/\/blogger.googleusercontent.com\/tracker\/3715640409195873782-6810938660198665607?l=raspberrypipod.blogspot.com","articleSection":["Raspberry Pi Foundation"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=6#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6","url":"https:\/\/www.recantha.co.uk\/blog\/?p=6","name":"Raspberry Pi - booting from USB - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6#primaryimage"},"thumbnailUrl":"https:\/\/blogger.googleusercontent.com\/tracker\/3715640409195873782-6810938660198665607?l=raspberrypipod.blogspot.com","datePublished":"2012-06-30T12:49:00+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=6"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6#primaryimage","url":"https:\/\/blogger.googleusercontent.com\/tracker\/3715640409195873782-6810938660198665607?l=raspberrypipod.blogspot.com","contentUrl":"https:\/\/blogger.googleusercontent.com\/tracker\/3715640409195873782-6810938660198665607?l=raspberrypipod.blogspot.com"},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=6#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Raspberry Pi &#8211; booting from USB"}]},{"@type":"WebSite","@id":"https:\/\/www.recantha.co.uk\/blog\/#website","url":"https:\/\/www.recantha.co.uk\/blog\/","name":"Raspberry Pi Pod","description":"Experiences with the Raspberry Pi micro computer and microcontroller","publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.recantha.co.uk\/blog\/#organization","name":"Raspberry Pi Pod","url":"https:\/\/www.recantha.co.uk\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","width":800,"height":337,"caption":"Raspberry Pi Pod"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/recantha\/","https:\/\/x.com\/recantha","https:\/\/www.linkedin.com\/in\/recantha\/","https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg"]},{"@type":"Person","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263","name":"Michael Horne","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","caption":"Michael Horne"},"url":"https:\/\/www.recantha.co.uk\/blog\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-6","jetpack-related-posts":[{"id":2309,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=2309","url_meta":{"origin":6,"position":0},"title":"Quick intro to BerryBoot on the #Raspberry Pi &#8211; boot multiple OSs &#8211; and opinion piece","author":"Michael Horne","date":"19 February 2013","format":false,"excerpt":"I found a quick intro guide to using BerryBoot on the Pi. BerryBoot lets you choose which of the available images to install and boot from. You can choose at boot time which OS you want to run! Here's a link to an article about it: Raspberry Pi: Easily Boot\u2026","rel":"","context":"In &quot;Geeky Techiness&quot;","block_context":{"text":"Geeky Techiness","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=22"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12758,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=12758","url_meta":{"origin":6,"position":1},"title":"Sort-of boot the Raspberry Pi from a USB flash drive","author":"Michael Horne","date":"15 June 2015","format":false,"excerpt":"Here's an Instructable from \"techno guy\" with a misleading title. It teaches you how to set-up the Pi to start up\u00a0from a USB drive which contains the main operating system image. Granted, you'll still need the SD card in the Pi to actually 'boot' the Pi, but\u00a0after that it's all\u2026","rel":"","context":"In &quot;Operating systems&quot;","block_context":{"text":"Operating systems","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=15"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cdn.instructables.com\/FBU\/41MG\/IAJO1EAC\/FBU41MGIAJO1EAC.MEDIUM.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cdn.instructables.com\/FBU\/41MG\/IAJO1EAC\/FBU41MGIAJO1EAC.MEDIUM.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/cdn.instructables.com\/FBU\/41MG\/IAJO1EAC\/FBU41MGIAJO1EAC.MEDIUM.jpg?resize=525%2C300 1.5x"},"classes":[]},{"id":10129,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=10129","url_meta":{"origin":6,"position":2},"title":"Pre-built environment for #RaspberryPi cross-compiling and NFS booting","author":"Michael Horne","date":"24 June 2014","format":false,"excerpt":"Eric Gradman has developed a\u00a0pre-built environment for cross-compiling for the Raspberry Pi that also implements NFS booting. Here's the description from his site: It uses Vagrant and Ansible to spin up a Virtualbox virtual machine that runs on Mac, Linux, or Windows(?). In no time at all, you'll have an\u2026","rel":"","context":"In &quot;Geeky Techiness&quot;","block_context":{"text":"Geeky Techiness","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=22"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bundles.kunstmaan.be\/uploads\/media\/52f2178e8b342.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/bundles.kunstmaan.be\/uploads\/media\/52f2178e8b342.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/bundles.kunstmaan.be\/uploads\/media\/52f2178e8b342.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/bundles.kunstmaan.be\/uploads\/media\/52f2178e8b342.png?resize=700%2C400 2x"},"classes":[]},{"id":15215,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=15215","url_meta":{"origin":6,"position":3},"title":"Boot your Raspberry Pi through an Ethernet cable","author":"Michael Horne","date":"5 August 2016","format":false,"excerpt":"Gordon Hollingworth has just published his second blog post on the Pi's new booting modes. This one is all about booting over Ethernet with no SD card on the client Pi. The new functionality is documented here and there's a handy tutorial to getting a Client-Server relationship set-up using two\u2026","rel":"","context":"In &quot;Networking&quot;","block_context":{"text":"Networking","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=33"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.raspberrypi.org\/wp-content\/uploads\/2016\/08\/Overview-RPi-netboot-500x669.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":16189,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16189","url_meta":{"origin":6,"position":4},"title":"NatureBytes Raspberry Pi-powered nature camera comes to The Pi Hut","author":"Michael Horne","date":"6 January 2017","format":false,"excerpt":"A good few months ago, a new company called NatureBytes ran a\u00a0Kickstarter\u00a0to fund their Raspberry Pi-powered nature camera system. They delivered on their pledges in the middle of last year and\u00a0they're now at a point where they have a retail package available. This package\u00a0is now sold at The Pi Hut.\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/01\/NatureBytes1_1024x1024.jpg?fit=560%2C361&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/01\/NatureBytes1_1024x1024.jpg?fit=560%2C361&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/01\/NatureBytes1_1024x1024.jpg?fit=560%2C361&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":15206,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=15206","url_meta":{"origin":6,"position":5},"title":"Boot your Raspberry Pi from a USB drive (beta)","author":"Michael Horne","date":"4 August 2016","format":false,"excerpt":"Gordon Hollingworth has just announced, over on the Raspberry Pi blog, that the Raspberry Pi 3 can be booted from USB mass storage devices. Information on how to do it, and which devices have been found (so far) to be compatible can be found on this page. Further boot modes,\u2026","rel":"","context":"In &quot;Geeky Techiness&quot;","block_context":{"text":"Geeky Techiness","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=22"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.averagemanvsraspberrypi.com\/wp-content\/uploads\/2015\/10\/How-to-Install-OSMC-on-a-USB-Stick-for-your-Raspberry-Pi-777x437.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.averagemanvsraspberrypi.com\/wp-content\/uploads\/2015\/10\/How-to-Install-OSMC-on-a-USB-Stick-for-your-Raspberry-Pi-777x437.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.averagemanvsraspberrypi.com\/wp-content\/uploads\/2015\/10\/How-to-Install-OSMC-on-a-USB-Stick-for-your-Raspberry-Pi-777x437.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.averagemanvsraspberrypi.com\/wp-content\/uploads\/2015\/10\/How-to-Install-OSMC-on-a-USB-Stick-for-your-Raspberry-Pi-777x437.jpg?resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}