{"id":27,"date":"2007-05-24T15:00:00","date_gmt":"2007-05-24T22:00:00","guid":{"rendered":"http:\/\/blog.brandonking.net\/?p=27"},"modified":"2009-07-09T15:01:14","modified_gmt":"2009-07-09T22:01:14","slug":"multi-thousand-dollar-experiment-where-did-d-go","status":"publish","type":"post","link":"https:\/\/brandonking.net\/blog\/2007\/05\/24\/multi-thousand-dollar-experiment-where-did-d-go\/","title":{"rendered":"Multi-thousand dollar experiment&#8230; Where did D:\\ go?"},"content":{"rendered":"<p>Nothing like a little pressure to get you going in the morning. I came in to work today to find out someone had started an Affymetrix experiment but the analysis software would not start. About 2 hours were left before the experiment had to be run or it would risk the quality of the experiment and then would have to be repeated.<\/p>\n<p>The problem&#8230; The 2nd hard drive which contained the analysis software was not being recognized by Windows. In comes Kubuntu live CD. Turns out the partition table was empty. I ran <a href=\"http:\/\/smartmontools.sourceforge.net\/\">smartmontools<\/a> to make sure the drive was still alive and it was. I tried running <a href=\"http:\/\/www.stud.uni-hannover.de\/user\/76201\/gpart\/\">gpart<\/a> to have it guess what the partition table should be and had it write a new partition table. Upon rebooting into windows the D: drive was visiable in My Computer, but it wanted to reformat it when I double clicked on it. Nice of windows to offer to reformat my drive isn&#8217;t it? Oh right, it has data on it that I want. Reboot back into Kubuntu&#8230; mount -t ntfs \/dev\/sdb1 \/mnt&#8230; Hey, what do you know, all the files are still there. Kubuntu reading NTFS drive and Windows won&#8217;t&#8230; How ironic?<\/p>\n<p>Any way, time was running out for the experiment, I knew the data still existed on the D: since Linux could read the data now&#8230; The thought came to my mind, maybe the partition table is wrong? So, I stumbled upon testdisk&#8230; testdisk \/dev\/sdb y done. I rebooted and Windows now could read and write from the D: drive again.<\/p>\n<p>Purpose of this post: To remind myself and others to try <a href=\"http:\/\/www.cgsecurity.org\/wiki\/TestDisk\">testdisk<\/a> when trying to fix a corrupted partition table. (Debian\/Ubuntu(Universe): testdisk package)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nothing like a little pressure to get you going in the morning. I came in to work today to find out someone had started an Affymetrix experiment but the analysis software would not start. About 2 hours were left before the experiment had to be run or it would risk the quality of the experiment [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,15,9,10],"tags":[38,48,60],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-computers_it","category-error-fixes","category-it_stories","category-sysadmin","tag-hard-drives","tag-parition-table","tag-system-adminstration"],"_links":{"self":[{"href":"https:\/\/brandonking.net\/blog\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brandonking.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brandonking.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brandonking.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/brandonking.net\/blog\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":1,"href":"https:\/\/brandonking.net\/blog\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"predecessor-version":[{"id":82,"href":"https:\/\/brandonking.net\/blog\/wp-json\/wp\/v2\/posts\/27\/revisions\/82"}],"wp:attachment":[{"href":"https:\/\/brandonking.net\/blog\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brandonking.net\/blog\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brandonking.net\/blog\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}