{"id":80,"date":"2008-12-14T19:57:43","date_gmt":"2008-12-15T00:57:43","guid":{"rendered":"http:\/\/bda.ath.cx\/blog\/?p=80"},"modified":"2008-12-14T20:27:27","modified_gmt":"2008-12-15T01:27:27","slug":"how-not-to-erase-an-old-hard-disk-a-new-comedy-by-bda","status":"publish","type":"post","link":"http:\/\/bda.ath.cx\/blog\/2008\/12\/14\/how-not-to-erase-an-old-hard-disk-a-new-comedy-by-bda\/","title":{"rendered":"&#8220;How not to erase an old hard disk&#8221;, a new comedy by bda"},"content":{"rendered":"<p><strong>The Cast:<\/strong><\/p>\n<ul>\n<li><strong>bda<\/strong>, veteran Linux user of 9+ years<\/li>\n<li>Dell Dimension <strong>P166<\/strong>, long time resident of basement storage unit<\/li>\n<li>Inspiron 700m <strong>laptop<\/strong>, secondary computer used regularly by bda<\/li>\n<\/ul>\n<p><strong>bda<\/strong> &#8211; &#8220;I should get rid of this old P166. Maybe goodwill will accept it? But first I need to purge the disk&#8221;.<br \/>\n<strong>P166<\/strong> &#8211; silence<br \/>\n<em>bda takes disk out of P166, places in enclosure, and connects to laptop runnin Arch Linux<\/em><br \/>\n<strong>bda<\/strong> &#8211; &#8220;$ mount \/media\/hda5 \/mnt; ls \/mnt; rm -rf *&#8221;<br \/>\n<strong>bda<\/strong> &#8211; (thinking) &#8220;maybe I should shred the files&#8230; that might be harder if they&#8217;re already deleted&#8221;<br \/>\n<em>bda hits CTRL-C to stop the rm command<\/em><br \/>\n<strong>bda<\/strong> &#8211; &#8220;$ apropos shred&#8221;<br \/>\n<strong>laptop<\/strong> &#8211; weird error message<br \/>\n<strong>bda<\/strong> &#8211; &#8220;$ ls&#8221;<br \/>\n<strong>laptop<\/strong> &#8211; same error message<br \/>\n<strong>bda<\/strong> &#8211; (thinking) &#8220;Oh f@*&#038;&#8221;<\/p>\n<p><strong>THE END<\/strong><\/p>\n<p>Yes. I rm -rf&#8217;ed my laptop. Luckily it only got to \/bin and \/etc. I was even able to recover my list of installed packages by copying \/bin and \/etc\/pacman* from the live cd to the laptop root, chrooting, and running &#8220;pacman -Qqe > &#8230;&#8221;. My old ubuntu \/etc backup is also still intact. Still it&#8217;s going to be a pain reconstructing all the configuration chages I&#8217;ve made since installing arch.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Cast: bda, veteran Linux user of 9+ years Dell Dimension P166, long time resident of basement storage unit Inspiron 700m laptop, secondary computer used regularly by bda bda &#8211; &#8220;I should get rid of this old P166. Maybe goodwill will accept it? But first I need to purge the disk&#8221;. P166 &#8211; silence bda [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[70],"class_list":["post-80","post","type-post","status-publish","format-standard","hentry","category-linux","tag-stupid"],"_links":{"self":[{"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/posts\/80","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/comments?post=80"}],"version-history":[{"count":3,"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/posts\/80\/revisions"}],"predecessor-version":[{"id":83,"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/posts\/80\/revisions\/83"}],"wp:attachment":[{"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/media?parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/categories?post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/tags?post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}