{"id":1175,"date":"2023-02-13T12:00:00","date_gmt":"2023-02-13T20:00:00","guid":{"rendered":"https:\/\/letsbuildroboticswithshadow8472.com\/?p=1175"},"modified":"2023-02-13T11:32:46","modified_gmt":"2023-02-13T19:32:46","slug":"its-time-i-install-endeavouros","status":"publish","type":"post","link":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2023\/02\/13\/its-time-i-install-endeavouros\/","title":{"rendered":"It\u2019s Time I Install EndeavourOS"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Good Morning from my Robotics Lab! This is Shadow_8472 with a side project for the week. Let\u2019s get started!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">OS installation side project. We\u2019ll see how this goes.<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Manjaro has a hate club, and I sympathize with it. It\u2019s stable most of the time, but gives me a large bombshell or two per year. I\u2019ve been meaning to try out EndeavourOS, another user-friendly take on Arch, and my hard drive filling up is as good an excuse as any.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p class=\"wp-block-paragraph\">One small task before starting: my file system hangs whenever I try to access a down or inaccessible NFS share on GoldenOakLibry, and it won\u2019t unfreeze until making contact again or forced closed. LibreOffice Writer is a notable offender as it can lock up attempting to autosave. A deeper look into this issue and it works as intended. For what it\u2019s worth, GoldenOak\u2019s HDD\u2019s spin up in loosly 45-50 seconds, so allowing for a rounded minute in the automount file seems reasonable (TimeoutIdleSec).<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<p class=\"wp-block-paragraph\">NFS:<br>Network File System<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">HDD:<br>Hard Disk Drive \u2013 specifically the kind with spinning platters<\/p>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">EndeavourOS Installation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I updated the EndeavourOS installer on my Ventoy USB drive and verified it with sha256sum. When I booted to it though, I found it in legacy BIOS mode, and I\u2019m after UEFI experience. I tried my PopOS image from working with UEFI on my sister\u2019s computer, and it too ended up in legacy BIOS. I even booted my old copy of Windows 10 \u2013 legacy BIOS. Does my hardware support UEFI or not?!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In short: yes. I dug up a setting in my motherboard firmware to allow UEFI and Legacy, disable Legacy, or disable UEFI. Curious, I disabled Legacy to force UEFI boot. Windows disapeared, EndeavourOS hung, and Manjaro surprisingly loaded just fine, though it sat so long on a black screen I thought was hanging the first time. Sure enough, it had an efi directory, confirming a UEFI boot:<\/p>\n\n\n\n<pre class=\"wp-block-verse\">$ ls \/sys\/firmware\/\nacpi dmi efi memmap<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ventoy\u2019s Grub2 option got me into UEFI\/EndeavourOS for installation. It was otherwise an unremarkable experience compared to other \u201ceasy\u201d installers I\u2019ve used. I researched each unfamiliar option and chose systemd-boot as my boot loader even though it only works for UEFI installations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Moving In (Pacman)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Moving in was dead simple and super clean. Mind blown. In order of installation, my top priorities (after a lefty mouse and stylized pointer) were Firefox, LibreOffice, and NFS \u2013 the minimum needed to continue drafting this post. EndeavourOS lacks a visual package manager, so I formally introduced myself to Pacman.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Firefox came preinstalled. I mounted my Manjaro drive and copied <strong>~\/.mozila<\/strong> over. Boom! All my tabs, windows, extensions, bookmarks, and everything else was present and accounted for. Maybe a font was different, but I\u2019ll research it later if I\u2019m not adjusted by then (editing note: I\u2019m adjusted now).<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p class=\"wp-block-paragraph\">LibreOffice was a pain, if you could call it that. I needed to research the \u201cfresh\u201d and \u201cstill\u201d branches (testing and stable, respectively), and opted to see what I had on Manjaro. I pulled a massive shortcut and used chroot to approximate a Manjaro shell instead of rebooting back and forth a bunch. Power rush! After a break to mentally process the power grab, I installed the \u201cstill\u201d version and later followed it up with hunspell-en_us so spell check had a dictionary.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<p class=\"wp-block-paragraph\">chroot: <br>CHange ROOT \u2013 starts a shell with a root directory deeper within the file system.<\/p>\n<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">NFS was the last and most routine piece to access GoldenOakLibry: create mountpoints, copy and enable .mount\/.automount files. Ray Lyson\u2019s NFS\/Samba guide is easily a favorite bookmark [1].<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I began listing other things to bring over: ~\/.ssh, Discord, FreeTube, AngryIP, Balena Etcher, and Steam are all things I use with varying frequencies. SSH and Discord involved packages from Pacman and copying my old data, like I did with Firefox. Steam offered me my first non-elective challenge when I had to research the correct Vulkan libraries (graphics drivers) to use.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Moving in (Arch User Repository)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">My other listed programs will be built with the Arch User Repository, a listing of user-submitted scripts called PKGBUILD files. It is strongly recommended you inspect AUR scripts before running them, and to avoid using automated tools like yay until you\u2019ve manually built and installed a few packages. Hold bad files accountable by flagging them, and vote for ones that build packages properly. Reputable AUR packages may be adopted by a \u201cTrusted User\u201d and relocated to the main repositories.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">FreeTube has five different AUR listings. Git (potentially unstable), Wayland (outdated), and appimage (few votes) are all unsuitable \u2013 leaving freetube-bin and freetube for serious consideration. Freetube-bin has almost 3x more votes and 22x the popularity (how recently\/widely used a package is) as well as having a longer maintenance history. On closer inspection, freetube builds from source, while freetube-bin converts a .deb package. For the purposes of learning AUR from 0, I\u2019ll be using freetube-bin.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Freetube-bin\u2019s AUR page has a Git clone link. Its PKGBUILD file looked simple enough. Makepkg finished, leaving me with the original .deb it downloaded and a .pkg.tar.zst file I eventually found and installed with Pacman. I copied over ~\/.config\/FreeTube, only to find it was from a broken install I had replaced inelegantly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AngryIP scanner has only one version: ipscan, but it requires Java. I went through the process of installing GraalVM for Java19\/aarch64, replicating a set of symbolic links pointing to Java.<\/p>\n\n\n\n<pre class=\"wp-block-verse\">$ java -version<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wrong architecture. I replaced my install with the amd64 version, and that worked. I made a note there in \/usr\/lib\/jvm to use amd64 next time and deleted my raw downloads.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AngryIP\/ipscan\u2019s PKGBUILD file builds it from source, and as such looks more involved. The most suspect thing was a for loop I didn\u2019t understand right away. I went to build the package and mere Java doesn\u2019t count as java-runtime. It wants one of 124 Java packages to satisfy its one dependency. I found a version of jre-OpenJDK. Pacman wasn\u2019t amused with my GraalVM shortcuts though, so I disabled them. Both jre-openjdk was installed shortly and ipscan compiled afterwords. Over the weekend between download and installation, AngryIP had gotten a minor revision. I\u2019ll pass for now.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Oh, Balena Etcher. WOW! Three popular candidates showed up \u2013 two were a version out of date, and the other a very new appimage with zero maintenance history. I downloaded the the Appimage PKGBUILD anyway and instected it. It looked enough like the others I decided to go with it. Building and installation went smoothly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Takeaway<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">It speaks volumes to my personal progress that I thought this might be \u201cside project.\u201d I was wrong, but I must remember that similar projects used to take at least one week for the base OS install and another for each major program I wanted. My impression is that EndeavourOS is for people who are\/ want to be fluent in the command line, but don\u2019t want to deal with straight Arch.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">EndeavourOS is taking my skill to the next level. I\u2019ve learned by both blitzing the boring tasks and slamming into using the AUR without cheating packages in with pamac. KDE is all purple, but I\u2019m game for the change from the traditional blue.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">GRUMBLE! EndeavourOS had a core package update as I was finishing my editing, and now it hangs while booting. I\u2019m back on Manjaro, and updates were waiting. I moved some stuff over so my 1.8gb download could fit. I also linked ~\/.mozilla to my EndeavourOS copy.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This computer is messed up right now.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Final Question<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;ve had a busy week with material going on for three potential projects. How was yours?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I look forward hearing your answers on in the comments below or on my <a rel=\"noreferrer noopener\" href=\"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/discord-invite\/\" target=\"_blank\">Socials<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Work Cited<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">[1] R. Lyon, \u201cOn-Demand NFS and Samba Connections in Linux with Systemd Automount,\u201d Ray Against the Machine, Oct. 7, 2020. (Edited Aug. 26, 2021). [Online]. Available: <a href=\"https:\/\/rayagainstthemachine.net\/linux%20administration\/systemd-automount\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/rayagainstthemachine.net\/linux%20administration\/systemd-automount\/<\/a>. [Accessed Feb. 13, 2023].<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good Morning from my Robotics Lab! This is Shadow_8472 with a side project for the week. Let\u2019s get started! OS installation side project. We\u2019ll see how this goes. Manjaro has a hate club, and I sympathize with it. It\u2019s stable most of the time, but gives me a large bombshell or two per year. I\u2019ve &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2023\/02\/13\/its-time-i-install-endeavouros\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;It\u2019s Time I Install EndeavourOS&#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],"tags":[203,202,205,204],"class_list":["post-1175","post","type-post","status-publish","format-standard","hentry","category-linux","tag-aur","tag-endeavouros","tag-os-installation","tag-pacman"],"_links":{"self":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/1175","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=1175"}],"version-history":[{"count":1,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/1175\/revisions"}],"predecessor-version":[{"id":1176,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/1175\/revisions\/1176"}],"wp:attachment":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/media?parent=1175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/categories?post=1175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/tags?post=1175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}