{"id":786,"date":"2020-12-28T12:00:00","date_gmt":"2020-12-28T20:00:00","guid":{"rendered":"http:\/\/letsbuildroboticswithshadow8472.com\/?p=786"},"modified":"2020-12-28T03:08:11","modified_gmt":"2020-12-28T11:08:11","slug":"a-collection-of-raspberry-pi-projects-volume-3-picore","status":"publish","type":"post","link":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2020\/12\/28\/a-collection-of-raspberry-pi-projects-volume-3-picore\/","title":{"rendered":"A Collection of Raspberry Pi Projects: Volume 3: PiCore"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Good Morning from my Robotics Lab! This is Shadow_8472, and today, I am finishing off the year with another entry into my Raspberry Pi operating system collection. Let&#8217;s get started!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have a number of Pi projects going around now, and not enough Pi&#8217;s equipment for everything. My Pi 4 is mainly serving as the family&#8217;s entertainment system (I happened to find a Steam Controller driver for it), and my Pi 400 &#8211;which I originally intended for that job&#8211; is running my Raspian reverse Wi-Fi router card because it&#8217;s not supported yet by LibreELEC outside beta releases. I&#8217;m tossing these microSD cards around like playthings, and my family has expressed mild concern.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But today, I am taking notes as I build a side project to help with my Photo Trunk project. I have no idea if it&#8217;s going to work well, but I&#8217;m hoping! Worst case is I learn a few things and move to something more appropriate.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PiCore Installation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;ve covered Tiny\/Micro Core Linux before. I know it&#8217;s very much a build-your-own experience type of distro without being totally unapproachable for beginners intent on learning. I am installing it using BlinkiePie (Pi 3B+) with the intention of moving it to a Pi 4 unit later.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The two documents on the download page, IMPORTANT and README, explain how to install the operating system to an SD card and expand the second partition. I followed along more or less blindly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">At one point, <em>fdisk<\/em> is opened, and I was instructed to &#8220;write down the starting and ending sectors of the second partition.&#8221; [<a href=\"http:\/\/www.tinycorelinux.net\/12.x\/armv6\/releases\/RPi\/README\" target=\"_blank\" rel=\"noreferrer noopener\">source<\/a>] When I listed them, <em>fdisk<\/em> reported StartCHS, EndCHS, StartLBA, and EndLBA. I looked, but I wasn&#8217;t able to find any other examples of <em>fdisk<\/em> reporting in this way. I only learned about &#8220;Cylinder Head Sector&#8221; and &#8220;Logical Block Addressing&#8221; by separating the acronyms. I proceeded to make a new partition, and <em>fdisk<\/em> was nice enough to mention the largest size I could go.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Construction Pains<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I was expecting to start with something resembling the larger &#8220;Tiny&#8221; Core variant with a desktop environment, but PiCore only has a &#8220;Micro&#8221; Core image available. GIMP is very much a textbook GUI program, but the tce package manager was more than happy to install it and I estimate fifty dependencies.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I browsed over to the TinyCore forums, and was actually able to activate my account. The connection still isn&#8217;t secure, so don&#8217;t go using any personal standardized passwords. 50-99 alphanumeric characters with symbols say that&#8217;s not an attack vector against me though.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As I was getting ready to look for help in the dedicated Raspberry Pi section, I noticed a thread <a rel=\"noreferrer noopener\" href=\"http:\/\/forum.tinycorelinux.net\/index.php\/topic,24621.0.html\" target=\"_blank\">here<\/a> where someone was looking to install a desktop. I went ahead and installed xorg, a name I know has something to do with Linux GUI&#8217;s, but like the original poster in the thread, I found myself unable to do anything after booting to a simple black screen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Further experimentation discovered that by holding CTRL+C during startup, I could interrupt xorg from trapping me away from the command line. The results were a bit unpredictable, though. The first time, I somehow ended up as root. Other times, I found myself as tc, the default username, and other times, no login transpired. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I installed the remaining recommended packages, but neglected the window manager. Results were interesting. There was a dock at the bottom of the screen I could interact with, but no visible pointer. I toyed with the setup before rebooting again. GIMP was no trouble to get running with a window manager on board.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Takeaway<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In many ways, MicroCore feels like it&#8217;s a model operating system. All the parts are exposed but there aren&#8217;t so many the mind can&#8217;t grasp the overall system. Additional work will need to be done if I want things like automatic connection to GoldenOakLibry or even Wi-Fi for that matter. I still have much to learn.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Final Question<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I don&#8217;t like the window manager I found. Which one might you recommend?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good Morning from my Robotics Lab! This is Shadow_8472, and today, I am finishing off the year with another entry into my Raspberry Pi operating system collection. Let&#8217;s get started! I have a number of Pi projects going around now, and not enough Pi&#8217;s equipment for everything. My Pi 4 is mainly serving as the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2020\/12\/28\/a-collection-of-raspberry-pi-projects-volume-3-picore\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;A Collection of Raspberry Pi Projects: Volume 3: PiCore&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[2,26],"tags":[],"class_list":["post-786","post","type-post","status-publish","format-standard","hentry","category-linux","category-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/786","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/comments?post=786"}],"version-history":[{"count":1,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/786\/revisions"}],"predecessor-version":[{"id":787,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/786\/revisions\/787"}],"wp:attachment":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/media?parent=786"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/categories?post=786"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/tags?post=786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}