{"id":641,"date":"2020-03-09T12:02:00","date_gmt":"2020-03-09T19:02:00","guid":{"rendered":"http:\/\/letsbuildroboticswithshadow8472.com\/?p=641"},"modified":"2020-03-09T02:06:09","modified_gmt":"2020-03-09T09:06:09","slug":"linux-deep-dive-part-2-end-of-week-3","status":"publish","type":"post","link":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2020\/03\/09\/linux-deep-dive-part-2-end-of-week-3\/","title":{"rendered":"Linux Deep Dive Part 2: End of Week 3"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Good Morning from my Robotics Lab! This is Shadow_8472, and today, I am continuing my coverage of my deep dive into Linux. Let&#8217;s get started!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Last time, I installed Debian Linux on a USB external solid state drive using skills I learned from previous projects.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I am very much still in my trial period for Debian. Most of my time working with it has gone into exploring and diagnosing the system.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A lot of my MATE explorations into panels happened on at least day two. While I was able to assemble a semi-convincing Start bar look-alike, it still has a way to go. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I discovered the first of two big hitches  when I took it in to Third Workshop and booted to Windows to demonstrate Minecraft in its unplayably slow state. I hit restart, booted into Debian, and it was still unplayably slow. I even rebooted several times, only for it to refuse the decent performance I knew I had seen already. We even put a simple clone of Minecraft by the name of Mine Test on there to test the FPS. I got it home, booted straight to Debian and Minecraft unexpectedly worked correctly. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It took me a while, but I finally narrowed the pattern down. The performance drop only happened if and only if I first boot to Windows and restart into Linux without shutting down completely. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Even though I didn&#8217;t master the problem by solving it completely, it hasn&#8217;t come back, so long as I don&#8217;t reproduce it on purpose. I&#8217;m fine leaving it alone.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And now for my other problem: Debian only successfully boots about half the time. I still don&#8217;t know this one. All I can do is lay out everything I know about it and hope someone knows what the deal is because I&#8217;ve yet to find a help topic that matches my problem exactly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It used to be that Debian would boot every other time, but it did have a spell where it booted and failed about six consecutive times each. A few days ago, it&#8217;s gone to not booting at all. Whenever it fails, it drops into BusyBox, displaying an ash shell with the prompt (initramfs). It has some basic commands, and I think the general idea is that when the Linux kernel can&#8217;t find the files it needs, a knowledgeable operator can manually mount a drive and boot from there.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, I&#8217;ve mounted drives by hand before. I met someone going by hyperreal who generously spent over an hour and a half of his time on me. We seemingly tried everything to try and get BusyBox to boot. Nothing. We even peeked at the hard drives&#8217; contents from a GRUB boot menu console (Don&#8217;t cite me on terminology here!). Everything looked good until BusyBox showed up again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A lot of it was repetitive. In short, it looked like \/root had the contents of my Windows&#8230; I may have it. What if GRUB is looking for sda or sdb specifically and they respond in the wrong order? I&#8217;ll check into it. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As I was saying before a flicker of hope interrupted me, The Windows drive was mounted to \/root and I was able to umount it, but neither drive would mount there. I kept getting an &#8220;Invalid argument&#8221; error. Maybe the BusyBox mount command is a little different, but it should have worked each time. We tried mounting it from \/dev, where devices are listed by an internal shorthand per system, and from a more out of the way place that listed them by UUID. There were four entries, and I suspect the two that didn&#8217;t look like hard drives were my mouse and keyboard.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Moving along, I also tried burning a Super GRUB Disk a total of three times. The first two were on my laptop, but they both flopped. I detoured for a while, doing other stuff mentioned above before making a good disk from my desktop.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I still need to mess around with the disk to know exactly what is going on. The working theory has been an unreliable install of GRUB. I have a new idea since writing this, but for now, I have a way to use my computer when I want.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Final Question: Any ideas on this one? I could really use the input, though I should probably get the comments section working some time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good Morning from my Robotics Lab! This is Shadow_8472, and today, I am continuing my coverage of my deep dive into Linux. Let&#8217;s get started! Last time, I installed Debian Linux on a USB external solid state drive using skills I learned from previous projects. I am very much still in my trial period for &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2020\/03\/09\/linux-deep-dive-part-2-end-of-week-3\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Linux Deep Dive Part 2: End of Week 3&#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":[3,2],"tags":[],"class_list":["post-641","post","type-post","status-publish","format-standard","hentry","category-computer-maintenance-and-repair","category-linux"],"_links":{"self":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/641","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=641"}],"version-history":[{"count":1,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/641\/revisions"}],"predecessor-version":[{"id":644,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/641\/revisions\/644"}],"wp:attachment":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/media?parent=641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/categories?post=641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/tags?post=641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}