{"id":9141,"date":"2025-11-13T19:58:37","date_gmt":"2025-11-14T01:58:37","guid":{"rendered":"http:\/\/w0ep.us\/OM\/?p=9141"},"modified":"2025-11-14T19:52:41","modified_gmt":"2025-11-15T01:52:41","slug":"beaglebone-black-os-upgrade-story","status":"publish","type":"post","link":"http:\/\/w0ep.us\/OM\/?p=9141","title":{"rendered":"Beaglebone Black OS upgrade Story"},"content":{"rendered":"\n<p>I had my BBB and I&#8217;ve been needing something to do i2C work with python or perl.  Unfortunately, I was still on Debian 9 from years ago and couldn&#8217;t get the bits and bobs necessary.  So I wanted to upgrade it to the latest Debian.<\/p>\n\n\n\n<p>I was able to snag a nice 32Gb microSD card from a coworker.  And I downloaded the compressed image file with my work PC.<\/p>\n\n\n\n<p>But it was a bust when it came to writing the image to the SD card on Windows,   I ran into the &#8220;you must be Administrator&#8221; screen which means an IT ticket and some waiting time.<\/p>\n\n\n\n<p>I have all of the permissions I need on the BBB.  But there&#8217;s not enough space in the onboard &#8220;drive&#8221; memory to hold the compressed image.<\/p>\n\n\n\n<p>So I made two partitions on the SD card, each 6 Gb.  And I marked them as FAT format  (I think it was flavor #8).<\/p>\n\n\n\n<p>Then I took the card back to Windows and copied the compressed image to partition #2.<\/p>\n\n\n\n<p>Back on the BBB again, I ran the de-compression and a <strong>dd <\/strong>command to copy the uncompressed image to the whole-drive device of the SD card.<\/p>\n\n\n\n<p><strong>xzcat  <em> image-file     |   <\/em>dd   of=<em>sd-card-device <\/em>  bs=1M<\/strong><\/p>\n\n\n\n<p>My hope was that the process wouldn&#8217;t be looking at the disk partition info after the start.<\/p>\n\n\n\n<p>It ran for awhile and then finished.<\/p>\n\n\n\n<p>I rebooted and held the button down for it to boot from the SD card, which it did.   And I had my Debian 12.<\/p>\n\n\n\n<p>Not only that but the 2nd partition is still available on the SD card so it must not have clobbered the partition table in the process.<br>[No, I had that wrong.  The SD card was completely reformatted.  But the EMMC memory was untouched and I could mount that or reboot without the card to the old system.]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had my BBB and I&#8217;ve been needing something to do i2C work with python or perl. Unfortunately, I was still on Debian 9 from years ago and couldn&#8217;t get the bits and bobs necessary. So I wanted to upgrade it to the latest Debian. I was able to snag a nice 32Gb microSD card [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9141","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/posts\/9141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9141"}],"version-history":[{"count":3,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/posts\/9141\/revisions"}],"predecessor-version":[{"id":9144,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/posts\/9141\/revisions\/9144"}],"wp:attachment":[{"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9141"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}