{"id":292,"date":"2007-12-07T12:18:53","date_gmt":"2007-12-07T20:18:53","guid":{"rendered":"http:\/\/www.laurenwood.org\/anyway\/2007\/12\/07\/hibernating-ubuntu\/"},"modified":"2007-12-07T12:18:53","modified_gmt":"2007-12-07T20:18:53","slug":"hibernating-ubuntu","status":"publish","type":"post","link":"https:\/\/www.laurenwood.org\/anyway\/2007\/12\/hibernating-ubuntu\/","title":{"rendered":"Hibernating Ubuntu"},"content":{"rendered":"<p>I\u2019ve had Ubuntu on my laptop for a while, and it nev\u00ader hibern\u00adated. I\u2019d do what looked like the right things, but it just did\u00adn\u2019t work. So a couple of days ago I decided I should try to track down the prob\u00adlem. I was par\u00adtially suc\u00adcess\u00adful; hibern\u00adat\u00ading a laptop prop\u00aderly seems to be dif\u00adfi\u00adcult. Here\u2019s what I did to track down (some of) the problem.<\/p>\n<p>When it comes back after fail\u00ading to hibern\u00adate, the sys\u00adtem politely tells you to check the help file for com\u00admon prob\u00adlems. So you bring up the help file and it con\u00adtains a defin\u00adi\u00adtion of hibern\u00adate, with no hints as to what might be going wrong, but a point\u00ader to the Ubuntu sup\u00adport for\u00adums as well as to laptop test\u00ading pages which sup\u00adposedly con\u00adtain ideas of what to try. The laptop test\u00ading page claims that hibern\u00adate works for the Toshiba Tecra <span class=\"caps\">M2<\/span> that I have, so that did\u00adn\u2019t help&nbsp;much.<\/p>\n<p>Watch\u00ading closely the next time I tried hibern\u00adat\u00ading revealed an error mes\u00adsage flash\u00ading by about not enough swap space. Search\u00ading for this reveals that the swap space the installer gives you by default may not be enough to man\u00adage hiberna\u00adtion. You need the same size swap as <span class=\"caps\">RAM<\/span>, which I did\u00adn\u2019t have. <span class=\"caps\">OK<\/span>, out with the gpar\u00adted livecd to recon\u00adfig\u00adure my par\u00adti\u00adtions. For\u00adtu\u00adnately I had some spare unused room next to the swap par\u00adti\u00adtion to grow it into. The next error mes\u00adsage I saw flash\u00ading by on hibern\u00adat\u00ading (read\u00ading it involved hibern\u00adat\u00ading mul\u00adtiple times, star\u00ading fix\u00adedly at the right point in the screen, hop\u00ading that the last mes\u00adsage I saw might be of some use; why can\u00ad\u2019t these error mes\u00adsages by default be put in a nice error dia\u00adlog box so I can actu\u00adally read them?) was that the sys\u00adtem could\u00adn\u2019t find the swap space. Pok\u00ading around the Ubuntu sup\u00adport for\u00adum reveals that each time the machine is rebooted, the swap par\u00adti\u00adtion gets a new <span class=\"caps\">UUID<\/span>, thereby killing the con\u00adfig files for any scripts that were set up to use the old one. <a href=\"http:\/\/ubuntuforums.org\/showthread.php?t=477091\">More details here<\/a>; fol\u00adlow\u00ading the steps in that post\u00ading finally made hibern\u00adate mostly work, albeit with a ton of error mes\u00adsages about the <span class=\"caps\">USB<\/span> device (the mouse, I pre\u00adsume, since that\u2019s the only <span class=\"caps\">USB<\/span> device I have con\u00adnec\u00adted) which I\u2019m ignor\u00ading. The mostly refers to the fact that the sys\u00adtem often won\u2019t actu\u00adally come back to life after being in hiberna\u00adtion until I hit the power but\u00adton and restart from scratch. I have yet to fig\u00adure out what\u2019s going on there; any hints are welcome.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I\u2019ve had Ubuntu on my laptop for a while, and it nev\u00ader hibern\u00adated. I\u2019d do what looked like the right things, but it just did\u00adn\u2019t work. So a couple of days ago I decided I should try to track down the prob\u00adlem. I was par\u00adtially suc\u00adcess\u00adful; hibern\u00adat\u00ading a laptop prop\u00aderly seems to be dif\u00adfi\u00adcult. Here\u2019s \u2026 <a href=\"https:\/\/www.laurenwood.org\/anyway\/2007\/12\/hibernating-ubuntu\/\" class=\"more-link\">Con\u00adtin\u00adue read\u00ading<span class=\"screen-reader-text\"> \u201cHibern\u00adat\u00ading Ubuntu\u201d<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"wp_typography_post_enhancements_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"","activitypub_status":"","footnotes":""},"categories":[6],"tags":[38,36],"class_list":["post-292","post","type-post","status-publish","format-standard","hentry","category-technology","tag-hibernate","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/posts\/292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/comments?post=292"}],"version-history":[{"count":0,"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/posts\/292\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/media?parent=292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/categories?post=292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/tags?post=292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}