{"id":595,"date":"2012-06-20T23:20:48","date_gmt":"2012-06-21T04:20:48","guid":{"rendered":"http:\/\/www.moroha.net\/blog\/?p=595"},"modified":"2012-06-20T23:20:48","modified_gmt":"2012-06-21T04:20:48","slug":"extremely-amateur-digital-recovery","status":"publish","type":"post","link":"https:\/\/www.moroha.net\/blog\/archives\/595","title":{"rendered":"Extremely Amateur Digital Recovery"},"content":{"rendered":"<p>Since I&#8217;m all by myself for the next few weeks with the wife and the girls in Japan, I&#8217;ve been finding projects and such to do that I normally never find the time to get around to.<\/p>\n<p>Today I tackled the task of trying to retrieve data from my old old laptop computer, an Acer Travelmate 512T.  Given as a gift to me by my parents when I returned from my LDS mission in 1999, it has some impressive specs: 400&#215;800 12.1&#8243; LCD monitor, blazing speed of 366 MHz with an awesome 32MB of RAM and a 4Gb HD.  Truly an impressive machine.  I used it daily from 1999-2004 or so, about the time I graduated with my BS.  Since I came to Austin we had a better home computer for the family and I used it progressively less and less.  The last time I remembered using it was the summer and fall of 2007, when my wife and the girls were in Japan for an especially long summer.  That summer I used it primarily to dink around with some linux distributions, and to write some journal entries.  It was those journal entries I was interested in retrieving, since that was during the time when my wife&#8217;s mother suddenly passed away, and so I had a lot to think and write about as I dealt with the emotional difficulties of that time.<\/p>\n<p>So I dug out the laptop from the back of the closet upstairs.  Battery was shot, but I still had the AC adapter.  That was OK.  The hinge in the screen\/lid is broken, but the display still works and I&#8217;m able to get it open.  I turn it on &#8211; and it gives me a BIOS error.  The BIOS battery is dead!  Fortunately though, it gives me the option to continue with the boot defaults.  So I boot it with the default BIOS, and it takes me to a GRUB screen for an Ubuntu installation &#8211; that must have been the last linux distro that I installed on it.  However, at the GRUB screen it locks up.  It doesn&#8217;t recognize any keyboard input for some reason, and after a few taps it starts beeping: the familiar sound of when the keyboard buffer is full.  I wait a few minutes, but nothing changes.  It looks like perhaps GRUB or the boot sector is corrupted.<\/p>\n<p>Trying to fix this is beyond my expertise, so I decide try a different approach: a live CD.  I have a bunch of old Ubuntu, Knoppix, and other linux live CDs that I can try.  Since it was an Ubuntu installation, I try one of my old Ubuntu CDs.  I didn&#8217;t want to try a newer one, because with a whopping 366 MHz of CPU speed and 32 Mb of RAM, there&#8217;s no way it could handle the more recent versions of Ubuntu.  I had an Ubuntu v3 CD so I tried that.  Well, it worked &#8211; sort of &#8211; but it literally took 30 minutes for it to boot up.  When it <em>finally<\/em> finished, I went to the file browser to see what was there.  It had 3 hda&#8217;s: hda1 is generated by the Ubuntu live CD to house the OS files and actually resides in memory.  hda2 was a few hundred megabytes, and hda3 was the rest of the hard drive.  Maybe hda2 housed the critical OS files, or maybe it was originally a swap drive, but it didn&#8217;t recognize it as such.  However, Ubuntu was unable to mount either of them: it recognized they were there, but couldn&#8217;t recognize any kind of file system.<\/p>\n<p>It didn&#8217;t look good, perhaps the entire file system or disk was corrupt.  Well, Ubuntu was no good, so I decided to try one of my other distributions: Knoppix, Minty, Puppy, Mandriva, an old Mandrake (before it became Mandriva), Red Hat, and <a href=\"http:\/\/www.damnsmalllinux.org\/\">DSL<\/a>.  Mandriva, Mandrake, and Red Hat were not live CDs.  Of these, I figured DSL was the best choice for an old small machine.<\/p>\n<p>So DSL only took about 5 minutes to boot up (a significant improvement!), and though it is a <em>very<\/em> simplified GUI, it seemed to work flawlessly.  So the real question was: would it mount the drive?  It was unable to mount hda2, but hda3 successfully mounted!  So what was on it?  I couldn&#8217;t find a graphical file browser, so I had to go to the good ol&#8217; command line.  I had trouble remembering the linux filesystem structure, but after a few minutes of scratching my head I remembered that the various mounted volumes are in \/mnt\/, so \/mnt\/hda3\/ took me to the drive in question.  Inside that there was a \/home\/derek\/journal\/.  Jackpot!  I went there and <em>cat<\/em>ed a few of the files there, I had written them in plain text so they were easily readable: except where I had used Japanese characters.  DSL didn&#8217;t seem to be able to do unicode, but as long as I could copy the files as-is I figured there wouldn&#8217;t be a problem.<\/p>\n<p>So the next question was: how to copy them?  This laptop had a PCMCIA ethernet card, a 3.5&#8243; floppy drive, and one single USB port.  I didn&#8217;t want to mess with trying to get the ethernet working and configured, not to mention even if I did, how would I copy it to my main computer?  SAMBA or something?  I didn&#8217;t have the slightest clue of how to do that.  I figured the USB port was the easiest.  I plugged in a thumb drive, mounted it without a problem, and copied the whole directory over.  I also did a quick look at what else was there.  The most interesting was a bunch of configuration files for <a href=\"http:\/\/www.dosbox.com\/\">DOSBox<\/a>, and a file called &#8216;BattleTech &#8211; The Crescent Hawks Revenge.zip&#8217;.  I copied it over for good measure.  That <a href=\"http:\/\/www.youtube.com\/watch?v=lDL9iZop5LY\">game<\/a> was way fun, though fiendishly hard.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since I&#8217;m all by myself for the next few weeks with the wife and the girls in Japan, I&#8217;ve been finding projects and such to do that I normally never find the time to get around to. Today I tackled &hellip; <a href=\"https:\/\/www.moroha.net\/blog\/archives\/595\">Continue reading <span class=\"meta-nav\">&rarr;<\/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":[1,5],"tags":[],"class_list":["post-595","post","type-post","status-publish","format-standard","hentry","category-general","category-personal"],"_links":{"self":[{"href":"https:\/\/www.moroha.net\/blog\/wp-json\/wp\/v2\/posts\/595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.moroha.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.moroha.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.moroha.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.moroha.net\/blog\/wp-json\/wp\/v2\/comments?post=595"}],"version-history":[{"count":1,"href":"https:\/\/www.moroha.net\/blog\/wp-json\/wp\/v2\/posts\/595\/revisions"}],"predecessor-version":[{"id":596,"href":"https:\/\/www.moroha.net\/blog\/wp-json\/wp\/v2\/posts\/595\/revisions\/596"}],"wp:attachment":[{"href":"https:\/\/www.moroha.net\/blog\/wp-json\/wp\/v2\/media?parent=595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.moroha.net\/blog\/wp-json\/wp\/v2\/categories?post=595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.moroha.net\/blog\/wp-json\/wp\/v2\/tags?post=595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}