{"id":149,"date":"2008-07-06T22:24:38","date_gmt":"2008-07-06T14:24:38","guid":{"rendered":"http:\/\/ramfree17.net\/capsule\/?p=149"},"modified":"2008-07-06T22:24:38","modified_gmt":"2008-07-06T14:24:38","slug":"fixing-the-swap-partition","status":"publish","type":"post","link":"https:\/\/ramfree17.net\/capsule\/?p=149","title":{"rendered":"Fixing the swap partition"},"content":{"rendered":"<p>After a few failed attempts in getting my ArchLinux desktop system go into hibernation, my boot-up shows an error during the mounting of the swap file. Issuing the &#8220;free&#8221; command validates that I don&#8217;t have any swap space running. My desktop system has 2GB of physical RAM but I wouldn&#8217;t want to wait for something to fail before fixing the swap space.<\/p>\n<p>The fix is to format the swap partition (\/dev\/sda8) again before activating it using this command sequence:<br \/>\n<code><br \/>\n# mkswap \/dev\/sda8<br \/>\n# swapon -a<\/code><\/p>\n<p><em><strong>mount -a<\/strong><\/em> would also work in place of the swapon command.<\/p>\n<p>NOTE: mkswap will happily format the device or file you pass on as parameter so make sure you are passing the correct partition or you will be sorry. \ud83d\ude42<\/p>\n<p>ciao!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After a few failed attempts in getting my ArchLinux desktop system go into hibernation, my boot-up shows an error during the mounting of the swap file. Issuing the &#8220;free&#8221; command validates that I don&#8217;t have any swap space running. My desktop system has 2GB of physical RAM but I wouldn&#8217;t want to wait for something [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-149","post","type-post","status-publish","format-standard","hentry","category-floss"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=\/wp\/v2\/posts\/149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=149"}],"version-history":[{"count":0,"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=\/wp\/v2\/posts\/149\/revisions"}],"wp:attachment":[{"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ramfree17.net\/capsule\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}