{"id":1208,"date":"2013-03-06T17:32:39","date_gmt":"2013-03-06T17:32:39","guid":{"rendered":"http:\/\/178.62.14.192\/?p=1208"},"modified":"2015-07-14T06:07:50","modified_gmt":"2015-07-14T05:07:50","slug":"repair-a-broken-superblock","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=1208","title":{"rendered":"Repair a broken SD card &#8220;superblock&#8221; on a RaspberryPi"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/how-to-fix-damaged-sd-card-android.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-11937 alignnone\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/how-to-fix-damaged-sd-card-android.jpg?resize=560%2C209&#038;ssl=1\" alt=\"how-to-fix-damaged-sd-card-android\" width=\"560\" height=\"209\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/how-to-fix-damaged-sd-card-android.jpg?w=595&amp;ssl=1 595w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/how-to-fix-damaged-sd-card-android.jpg?resize=300%2C112&amp;ssl=1 300w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<h2 style=\"clear: both;\">Introduction<\/h2>\n<div style=\"clear: both;\">This has happened to me a few times, and it\u2019s not a nice problem to find yourself in. You computer won\u2019t boot, all your filesystem checks tell you you\u2019ve a bad superblock, but you cant seem to find how to fix it. Well, here goes \ud83d\ude42<\/div>\n<p>This guide is for ext4 , though I\u2019ll explain how other filesystems can be cured along the way. The easiest way to carry all this out, seeing as your computer probably won\u2019t boot at this stage, is to download and burn a copy of <a href=\"https:\/\/partedmagic.com\/\" target=\"_blank\">Parted Magic<\/a>. Boot from that, and you\u2019ll get access to a number of useful tools.<\/p>\n<h2>The procedure<\/h2>\n<p>First, figure out what partition we\u2019re dealing with.<\/p>\n<blockquote><p><code>sudo<\/code> <code>fdisk<\/code> <code>-l<\/code><\/p><\/blockquote>\n<p>The above will list all the partitions on all the drives in your computer. To recover a lost partition, you&#8217;re going to need <a href=\"http:\/\/www.cgsecurity.org\/wiki\/TestDisk\" target=\"_blank\">Testdisk<\/a>. Testdisk is included in <a href=\"https:\/\/partedmagic.com\/\" target=\"_blank\">Parted Magic<\/a>, and there\u2019s a great guide on their site. For this though, we just need the partition number, such as \/dev\/sda3 or \/dev\/hdb1.<\/p>\n<p>Now, make sure your superblock is the problem, by starting a filesystem check, replacing xxx with your partition name. Here, you can change ext4 to ext3, or ext2 to suit the filesystem.<\/p>\n<blockquote><p><code>sudo<\/code> <code>fsck<\/code><code>.ext4 -<\/code><code>v<\/code> <code>\/dev\/xxx<\/code><\/p><\/blockquote>\n<p>If your superblock is corrupt, the output will look like this<\/p>\n<blockquote><p><code>fsck \/dev\/sda5<br \/>\nfsck 1.41.4 (27-Jan-2009)<br \/>\ne2fsck 1.41.4 (27-Jan-2009)<br \/>\nfsck.ext4: Group descriptors look bad... trying backup blocks...<br \/>\nfsck.ext4: Bad magic number in super-block while trying to open \/dev\/sda5<br \/>\nThe superblock could not be read or does not describe a correct ext4<br \/>\nfilesystem. If the device is valid and it really contains an ext4<br \/>\nfilesystem (and not swap or ufs or something else), then the superblock<br \/>\nis corrupt, and you might try running e2fsck with an alternate superblock:<br \/>\ne2fsck -b 8193 &lt;device&gt;<\/code><\/p><\/blockquote>\n<p>Now lets find where your superblock backups are kept.<\/p>\n<blockquote><p><code>sudo<\/code> <code>mke2fs -n \/dev\/xxx<br \/>\n<\/code><\/p><\/blockquote>\n<p dir=\"ltr\">Down at the bottom of this output, should be a list of the backups:<\/p>\n<blockquote><p><code>Superblock backups stored on blocks:<br \/>\n32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208<br \/>\n<\/code><\/p><\/blockquote>\n<p dir=\"ltr\">You&#8217;re almost there. Finally, restore the superblock from the backup, again replacing the x\u2019s with your partition name, and block_number with the first backup superblock.<\/p>\n<blockquote>\n<p dir=\"ltr\"><code>sudo<\/code> <code>e2fsck -b block_number \/dev\/xxx<\/code><\/p>\n<\/blockquote>\n<p dir=\"ltr\">Now reboot, and your superblock should be fixed. If it\u2019s not, repeat the steps, but restore a different backup superblock <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/s0.wp.com\/wp-includes\/images\/smilies\/icon_smile.gif?w=560\" alt=\":)\" \/><\/p>\n<h2>Checking your file system as a precaution<\/h2>\n<p>If you want to check your Pi file system because you feel it might be having a problem, try the following:<\/p>\n<p>First of all, shut down your Pi using the following which will make the Pi check it&#8217;s own file system on reboot<strong>:<\/strong><\/p>\n<blockquote><p><code>sudo shutdown -F -r now<\/code><\/p><\/blockquote>\n<p>Once the Pi comes up again, check the results of the scan by looking at the following file:<\/p>\n<blockquote><p><code>\/var\/log\/fsck\/<\/code><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Introduction This has happened to me a few times, and it\u2019s not a nice problem to find yourself in. You computer won\u2019t boot, all your filesystem checks tell you you\u2019ve a bad superblock, but you cant seem to find how&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=1208\">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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[49,51],"tags":[],"class_list":["post-1208","post","type-post","status-publish","format-standard","hentry","category-software","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Repair a broken SD card &quot;superblock&quot; on a RaspberryPi - 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=1208\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Repair a broken SD card &quot;superblock&quot; on a RaspberryPi - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Introduction This has happened to me a few times, and it\u2019s not a nice problem to find yourself in. You computer won\u2019t boot, all your filesystem checks tell you you\u2019ve a bad superblock, but you cant seem to find how&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=1208\" \/>\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=\"2013-03-06T17:32:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-07-14T05:07:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/how-to-fix-damaged-sd-card-android.jpg\" \/>\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=\"2 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=1208#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1208\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Repair a broken SD card &#8220;superblock&#8221; on a RaspberryPi\",\"datePublished\":\"2013-03-06T17:32:39+00:00\",\"dateModified\":\"2015-07-14T05:07:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1208\"},\"wordCount\":371,\"commentCount\":30,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1208#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/how-to-fix-damaged-sd-card-android.jpg\",\"articleSection\":[\"Software\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=1208#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1208\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1208\",\"name\":\"Repair a broken SD card \\\"superblock\\\" on a RaspberryPi - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1208#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1208#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/how-to-fix-damaged-sd-card-android.jpg\",\"datePublished\":\"2013-03-06T17:32:39+00:00\",\"dateModified\":\"2015-07-14T05:07:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1208#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=1208\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1208#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/how-to-fix-damaged-sd-card-android.jpg?fit=595%2C222&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/how-to-fix-damaged-sd-card-android.jpg?fit=595%2C222&ssl=1\",\"width\":595,\"height\":222},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1208#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Repair a broken SD card &#8220;superblock&#8221; on a RaspberryPi\"}]},{\"@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":"Repair a broken SD card \"superblock\" on a RaspberryPi - 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=1208","og_locale":"en_US","og_type":"article","og_title":"Repair a broken SD card \"superblock\" on a RaspberryPi - Raspberry Pi Pod","og_description":"Introduction This has happened to me a few times, and it\u2019s not a nice problem to find yourself in. You computer won\u2019t boot, all your filesystem checks tell you you\u2019ve a bad superblock, but you cant seem to find how&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=1208","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2013-03-06T17:32:39+00:00","article_modified_time":"2015-07-14T05:07:50+00:00","og_image":[{"url":"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/how-to-fix-damaged-sd-card-android.jpg","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":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1208#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1208"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Repair a broken SD card &#8220;superblock&#8221; on a RaspberryPi","datePublished":"2013-03-06T17:32:39+00:00","dateModified":"2015-07-14T05:07:50+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1208"},"wordCount":371,"commentCount":30,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1208#primaryimage"},"thumbnailUrl":"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/how-to-fix-damaged-sd-card-android.jpg","articleSection":["Software","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=1208#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1208","url":"https:\/\/www.recantha.co.uk\/blog\/?p=1208","name":"Repair a broken SD card \"superblock\" on a RaspberryPi - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1208#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1208#primaryimage"},"thumbnailUrl":"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/how-to-fix-damaged-sd-card-android.jpg","datePublished":"2013-03-06T17:32:39+00:00","dateModified":"2015-07-14T05:07:50+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1208#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=1208"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1208#primaryimage","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/how-to-fix-damaged-sd-card-android.jpg?fit=595%2C222&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/how-to-fix-damaged-sd-card-android.jpg?fit=595%2C222&ssl=1","width":595,"height":222},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1208#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Repair a broken SD card &#8220;superblock&#8221; on a RaspberryPi"}]},{"@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-ju","jetpack-related-posts":[{"id":13820,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=13820","url_meta":{"origin":1208,"position":0},"title":"Run a Raspberry Pi headless from initial boot-up","author":"Michael Horne","date":"3 December 2015","format":false,"excerpt":"David Maitland\u00a0has worked out the series of commands and edits that you need to carry out in order to automatically make your Raspberry Pi headless and available on your network from first boot-up. It involves using a Linux computer to edit files on the SD card before you put it\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\/davidmaitland.me\/images\/posts\/raspberry-pi-zero-otg.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/davidmaitland.me\/images\/posts\/raspberry-pi-zero-otg.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/davidmaitland.me\/images\/posts\/raspberry-pi-zero-otg.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/davidmaitland.me\/images\/posts\/raspberry-pi-zero-otg.jpg?resize=700%2C400 2x"},"classes":[]},{"id":11084,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=11084","url_meta":{"origin":1208,"position":1},"title":"Expose the network settings on your Raspberry Pi to the boot partition","author":"Michael Horne","date":"25 September 2014","format":false,"excerpt":"Using a bit of Linux know-how, Martin Harizanov has worked out how to expose the interfaces and wpa_supplicant files to the boot partition of the Pi's SD card. This means that you can administer the files by plugging the SD card into any other computer. I wonder... would this work\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.modmypi.com\/image\/cache\/data\/raspberry-pi-accessories\/sd-cards\/raspberry-pi-8gb-sd-card-800x800.JPG?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.modmypi.com\/image\/cache\/data\/raspberry-pi-accessories\/sd-cards\/raspberry-pi-8gb-sd-card-800x800.JPG?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.modmypi.com\/image\/cache\/data\/raspberry-pi-accessories\/sd-cards\/raspberry-pi-8gb-sd-card-800x800.JPG?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.modmypi.com\/image\/cache\/data\/raspberry-pi-accessories\/sd-cards\/raspberry-pi-8gb-sd-card-800x800.JPG?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":2309,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=2309","url_meta":{"origin":1208,"position":2},"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":1143,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1143","url_meta":{"origin":1208,"position":3},"title":"Frustrating evening","author":"Michael Horne","date":"2 January 2013","format":false,"excerpt":"Well. Right now I'm thinking of chucking everything in the bin. I've got one 512MB Pi that freezes and\/or crashes randomly. And now, apparently, my Rev 2 256mb board won't boot unless I squeeze the SD card slot. I'm particularly upset about the 512mb because it was going so well.\u2026","rel":"","context":"In &quot;Picorder&quot;","block_context":{"text":"Picorder","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=37"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/danielkukwa.com\/angry-smiley-icon-thumb32723.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":5230,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=5230","url_meta":{"origin":1208,"position":4},"title":"Run a Python script as a service on boot with a #RaspberryPi","author":"Michael Horne","date":"22 July 2013","format":false,"excerpt":"Just a quickie blog from Stephen Phillips about starting up a Python script at boot-time.\u00a0Read it here","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=39"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":20235,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20235","url_meta":{"origin":1208,"position":5},"title":"Raspberry Pi 4 boot-from-mass-storage functionality enters beta phase","author":"Michael Horne","date":"20 May 2020","format":false,"excerpt":"The techies from Raspberry Pi have just announced that the ability to boot from a mass storage device with Raspbian installed without an SD card is one step closer today. There is now a public beta programme for the facility and you can get involved by using your own hard\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\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/05\/ssd-drive.png?fit=640%2C400&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/05\/ssd-drive.png?fit=640%2C400&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/05\/ssd-drive.png?fit=640%2C400&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1208","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=1208"}],"version-history":[{"count":5,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1208\/revisions"}],"predecessor-version":[{"id":12956,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1208\/revisions\/12956"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}