{"id":674,"date":"2015-03-10T21:55:22","date_gmt":"2015-03-11T01:55:22","guid":{"rendered":"http:\/\/www.malak.ca\/blog\/?p=674"},"modified":"2020-04-11T23:55:18","modified_gmt":"2020-04-11T23:55:18","slug":"installing-fedora-21-part-ii-32-bits-at-a-time","status":"publish","type":"post","link":"https:\/\/www.malak.ca\/blog\/index.php\/2015\/03\/10\/installing-fedora-21-part-ii-32-bits-at-a-time\/","title":{"rendered":"Installing Fedora 21 (Part II), 32 bits at a time"},"content":{"rendered":"<div class=\"entry\">\n<p><a href=\"http:\/\/www.malak.ca\/blog\/?p=641\">In Part I<\/a>, I talked about installing Fedora 21 on a new Dell desktop, and promised a Part II, somewhat tongue-in-cheek. But wait folks, I was serious. \ud83d\ude42<\/p>\n<p>I have an Acer Aspire One which I received new out of the factory sealed box as a birthday present in 2009, <a href=\"https:\/\/www.malak.ca\/blog\/?p=67\">and immediately converted it to linux after receiving it \u2013 Fedora 11<\/a>, to be exact. It has used, as I recall, Fedora 11, 12, 14, 15, possibly 16, 17, and 19, all without any trouble. Well, ok, none that can\u2019t be attributed to \u201cwhaddya expect out of a notebook vs. a full horsepower machine\u201d and errors stemming from somewhere between the keyboard and the chair. ?<\/p>\n<p>However, time is starting to march on with this machine, and while it was great under roughly 18 months of Fedora 19, it was clearly starting to slow down a bit, but \u2026 well, Fedora keeps releasing new versions, and, well, while CentOS 7, which is based on Fedora 19 and which I\u2019d be happy to install on my netbook, unfortunately is only available under 64bit while my netbook is only 32bit. So my options were to either keep Fedora 19 unpatched, upgrade to Fedora 21 workstation, which I wanted to do, upgrade to Fedora 21 with XFCE, which would probably make it peppier, or explore other distros, which I don\u2019t wish to do.<\/p>\n<p>When Fedora 21 Workstation came out in December 2014, I downloaded the 32 bit version, and the fun began. Within a couple of minutes of booting up the live DVD and before the desktop loaded up, the machine went into hibernation. This didn\u2019t feel right, but I hit a key and things came back to life. Then, within about a minute, the machine went into hibernation again. I hit a key again, got a minute of performance, and it hibernated again, ad nauseum, and ad infinitum, literally.<\/p>\n<p>Despite this, I decided to continue with the F21 Workstation installation anyway, and I ended up babysitting the install, hitting a key to wake up the system every minute or so during the installation. On a single core atom processor running at 1.5 GHz, this took a good long while and a lot of keyboard wakeups. Finally, the system was installed, but it kept on hibernating after roughly a minute.<\/p>\n<p>As a reference, I proceeded to install Fedora 21 XFCE Spin, and, except for hibernating once during the initial booting up of the liveDVD, it worked like a charm.<\/p>\n<p>One solution I tried was to do a \u201cyum install fedora-release-workstation\u201d or somesuch from an installed XFCE spin, hoping to then do a \u201cyum groupremove XFCE\u201d and repeat \u201cyum install fedora-release-workstation\u201d just to reinstall any packages which may have gotten removed, but it bricked the install and I had to reinstall XFCE yet again.<\/p>\n<p>For a variety of reasons which are now lost in the winds but which probably included having gone through the following suggestions from ask.fedoraproject.org, I managed to install and re-install the XFCE spin several times again after probably having reinstalled the Workstation a few times in between.<\/p>\n<p>I went to <a href=\"https:\/\/ask.fedoraproject.org\/en\/question\/60252\/f21-32-bit-keeps-going-into-hibernation-every-minute\/\">ask.fedoraproject.org to ask for help<\/a> (<a href=\"https:\/\/www.malak.ca\/blog\/F2132bitsatatime\/askfedoraf21hibernating.pdf\">here\u2019s my archive<\/a>), and I got a few interesting responses.<\/p>\n<p>The first response I got was:<\/p>\n<p>\u201cYou can do tests and get logs without interference with systemd-inhibit \u2013 ie sudo systemd-inhibit bash. The system won\u2019t suspend or hibernate until you end the process invoked with systemd-inhibit.\u201d This didn\u2019t work; hibernation continued as before.<\/p>\n<p>The next response was \u201cI\u2019m just guessing, but it feels like the system thinks that the battery is almost empty and because of that does the right thing in that situation. I\u2019m not sure which software component is handling this situation but anyway, there seems to be a bug that happens to manifest on your particular environment.\u201d This could have been ruled out immediately \u2013 mostly \u2013 because at the time the battery was physically out of the machine when I tested, and I was running on mains electricity out of the wall. Nonetheless, I did check, with a fully charged battery in, to be sure I wasn\u2019t being a fool; no such luck, under both cases, the machine kept on hibernating every minute or so.<\/p>\n<p>All through this, I learned that at least one user with a Toshiba Satellite Pro without a CD player had this same problem, and worked just fine up till Fedora 20.<\/p>\n<p>My \u201cbrother in the know\u201d helped me with some research, and we found something: In the Arch Linux forums, the problem is described, <a href=\"https:\/\/bbs.archlinux.org\/viewtopic.php?pid=1395956\">and the user \u201cScimmia\u201d comes up with the following workaround<\/a> (<a href=\"https:\/\/www.malak.ca\/blog\/F2132bitsatatime\/archlinuxsolutiontonetbooksleeping.pdf\">here\u2019s my archive<\/a>):<\/p>\n<p>\u201cTry setting \u2018HandleSuspendKey\u2019 and \u2018HandleLidSwitch\u2019 to ignore in \/etc\/systemd\/logind.conf\u201d \u201cScimmia\u201d further claims that this problem appears to be caused by systemd\/logind. This all means that somewhere, signals are being sent out, rightly or wrongly or otherwise, that are being interpreted as \u201cthe clamshell lid is being closed, so it\u2019s time to hibernate.\u201d<\/p>\n<p>To wit, my brother and I, after I\u2019d installed Fedora 21 Workstation for the probably at least third time, <strong>then<\/strong> boot up an XFCE liveDVD (but do not install it), and through some of my brother\u2019s linux kung-foo, he mounts the hard drive, using Thunar in the XFCE spin as a facilitator, and we edited the appropriate file.<\/p>\n<p>\u2026 And Bingo was his name-OH. (Translation: Yup, that worked and the machine now works.)<\/p>\n<p>Here are the instructions to correct the problem, at least for an Acer Aspire One, and which are also findable through <a href=\"https:\/\/ask.fedoraproject.org\/en\/question\/60252\/f21-32-bit-keeps-going-into-hibernation-every-minute\/\">ask.fedoraproject.org<\/a>:<\/p>\n<p>1) install F21 32bit workstation, by babysitting the system throughout the whole install to keep waking it up every minute or so (literally!)<br \/>\n2) reboot using a live-dvd that works on the system, such as the F21 XFCE live-DVD<br \/>\n3) mount the hard drive (not really sure specifically how my brother did it but using Thunar seemed to help out a lot)<br \/>\n4)open a terminal session and make sure the hard drive is mounted<br \/>\n5) edit the file \/etc\/systemd\/logind.conf (such as using nano)<br \/>\n6) uncomment the settings for \u201cHandleSuspendKey\u201d and \u201cHandleLidSwitch\u201d<br \/>\n7) set the \u201cHandleSuspendKey\u201d and \u201cHandleLidSwitch\u201d options to \u201cignore\u201d<br \/>\n8) save the file<br \/>\n9) reboot<br \/>\n10) enjoy<\/p>\n<p>\u2026 and, it seems, my instructions, posted on ask.fedoraproject.org, helped at least one other user with an Acer Aspire one. I\u2019m pleased. ?<\/p>\n<p>Now, as for what I think of it \u2026 <a href=\"https:\/\/www.malak.ca\/blog\/?p=666\" data-wplink-edit=\"true\">well I like F21 Workstation<\/a>. On my laptop, it\u2019s a slightly sluggish, but still working well.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In Part I, I talked about installing Fedora 21 on a new Dell desktop, and promised a Part II, somewhat tongue-in-cheek. But wait folks, I was serious. \ud83d\ude42 I have an Acer Aspire One which I received new out of the factory sealed box as a birthday present in 2009, and immediately converted it to &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.malak.ca\/blog\/index.php\/2015\/03\/10\/installing-fedora-21-part-ii-32-bits-at-a-time\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Installing Fedora 21 (Part II), 32 bits at a time&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,63,33],"tags":[26,62,30],"class_list":["post-674","post","type-post","status-publish","format-standard","hentry","category-computers","category-fedora-linux","category-linux","tag-computers","tag-fedora","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.malak.ca\/blog\/index.php\/wp-json\/wp\/v2\/posts\/674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.malak.ca\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.malak.ca\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.malak.ca\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.malak.ca\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=674"}],"version-history":[{"count":15,"href":"https:\/\/www.malak.ca\/blog\/index.php\/wp-json\/wp\/v2\/posts\/674\/revisions"}],"predecessor-version":[{"id":1688,"href":"https:\/\/www.malak.ca\/blog\/index.php\/wp-json\/wp\/v2\/posts\/674\/revisions\/1688"}],"wp:attachment":[{"href":"https:\/\/www.malak.ca\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.malak.ca\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.malak.ca\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}