{"id":1108,"date":"2008-05-12T16:35:17","date_gmt":"2008-05-12T20:35:17","guid":{"rendered":"http:\/\/www.starkeith.net\/coredump\/?p=1108"},"modified":"2011-10-02T08:31:15","modified_gmt":"2011-10-02T12:31:15","slug":"computer-drama","status":"publish","type":"post","link":"https:\/\/www.starkeith.net\/coredump\/2008\/05\/12\/computer-drama\/","title":{"rendered":"Computer Drama"},"content":{"rendered":"<p>So, my new 500 GB hard drive arrived the other day. Thus began the 3-part geek tragedy that accompanies any computer upgrade.<\/p>\n<p>First off, let me say that it&#8217;s been a while since I&#8217;ve done this. The last time I installed a new hard drive in my computer, Ultra DMA was still pretty new &#8211; and every hard drive tended to ship with an IDE ribbon cable, just in case.<\/p>\n<p>My first lesson was that this is no longer the case &#8211; or at least, it&#8217;s not the case with SATA drives, which is of course what my computer uses now. So, when I hunkered down Friday night to install my hard drive, I quickly hit the impasse of &#8220;no cable.&#8221; Silly me!<\/p>\n<p>To be fair though, I must compliment modern PC designers &#8211; or maybe just Dell. This was the simplest hard drive install I&#8217;ve ever done. Say what you will about Dell (or mass-produced PCs in general), but they do have some good points. I just slipped out the plastic drive tray, popped the drive in, and slid it back into place. No tools needed. Sweet!<\/p>\n<p>The next day, I hopped over to the nearest store where I could confirm that they had an SATA cable &#8211; which turned out to be Radio Shack. Of course they charged $10 for what should&#8217;ve been a $3 cable &#8211; but of course it was all shiny and colored and probably meant for more of the &#8220;case mod&#8221; crowd than people like me, but whatever. I got a really good deal on the hard drive to begin with, so I didn&#8217;t mind spending a few dollars more for the cable.<\/p>\n<p><strong>The First Signs of Trouble<\/strong><\/p>\n<p>I snapped the cable into place easily (I&#8217;m really liking SATA, BTW) and the drive came online easily. Now I just needed to boot from my <a href=\"http:\/\/gparted.sourceforge.net\/\">GParted<\/a> <a href=\"http:\/\/gparted.sourceforge.net\/livecd.php\">LiveCD<\/a> and copy my partitions onto the new drive, resize them to take advantage of the new space, and I&#8217;d be done. Although the resizing would take a while, it should be pretty simple &#8211; just set it up, let it run, read a book while it churns, and come back when it&#8217;s done. <em>How hard could it be?<\/em><\/p>\n<p><a href=\"http:\/\/flickr.com\/photos\/58595467@N00\/2282011834\/\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1112\" data-permalink=\"https:\/\/www.starkeith.net\/coredump\/2008\/05\/12\/computer-drama\/2282011834_86ab2eaa11_m\/\" data-orig-file=\"https:\/\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2008\/05\/2282011834_86ab2eaa11_m.jpg\" data-orig-size=\"240,160\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Hard Drive\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Hard Drive&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2008\/05\/2282011834_86ab2eaa11_m.jpg\" class=\"alignnone size-full wp-image-1112\" style=\"float: right\" title=\"Hard Drive\" src=\"http:\/\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2008\/05\/2282011834_86ab2eaa11_m.jpg\" alt=\"Hard Drive\" width=\"240\" height=\"160\" \/><\/a>The answer, it turns out, is really hard. GParted (or more specifically, <a href=\"http:\/\/en.wikipedia.org\/wiki\/Ntfsresize\">NTFSResize<\/a>) kept saying that I had &#8220;bad sectors&#8221; on my drive, and because of this it refused to touch my main NTFS windows partition. Ugh.<\/p>\n<p>So, following the advice of the tool, I rebooted and ran CHKDSK&#8230; and it found nothing. I booted to the Windows Recovery Console (following advice found online) and ran CHKDSK from there&#8230; and it found nothing. I booted into the &#8220;utility partition&#8221; that came with my Dell and ran the HDD diagnostic tools there &#8211; they all said the drive was A-OK. I rebooted, tried GParted again &#8211; no luck, it <strong>STILL<\/strong> insisted that there were bad sectors. I even ran Seagate&#8217;s own &#8220;SeaTools&#8221; disk diagnostic program &#8211; on both drives, with each scan taking several hours &#8211; and both drives &#8220;passed&#8221; the tests, no errors detected. But still, I couldn&#8217;t use GParted because NTFSResize kept saying there were bad sectors.<\/p>\n<p>By this point, it was Saturday night and I was getting impatient. &#8220;OK,&#8221; I said, &#8220;screw you, GParted &#8211; I&#8217;ll just use some other tool to copy the partition, and then resize.&#8221; Oh ho ho ho ho, how naive I was to think that I could get away with this!<\/p>\n<p><strong>Trying to Outwit Fate<\/strong><\/p>\n<p>I used a disk cloning tool to make a copy of my hard drive on the new drive. Naturally, since the new drive was bigger, it didn&#8217;t use up all the available space after the copy. I figured that since the new drive was, well, <strong>new<\/strong>, it wouldn&#8217;t have bad sectors and once the data was copied I&#8217;d be able to resize the partitions easily.<\/p>\n<p>This, of course, was not the case.<\/p>\n<p>8 hours later and the copy was complete. I fire up GParted and&#8230; NTFSResize stubbornly refused to resize my partition, even though I had made a complete copy a new disk. <strong>It still said I had bad sectors<\/strong>.<\/p>\n<p>At this point, I was beginning to wonder exactly <em>how<\/em> NTFSResize detected these bad sectors. It took over an hour for CHKDSK to do a complete scan, how was NTFSResize, which booted up in just a few seconds, detecting these bad sectors? And did the disk clone <em>really<\/em> copy the bad sectors as well, or just some partition table information that labeled certain sectors as &#8220;bad?&#8221;<\/p>\n<p><strong>The Compromise<\/strong><\/p>\n<p>By this point it was late Sunday afternoon, and my weekend of spare time was quickly running out. So I decided to compromise by using <a href=\"http:\/\/www.starkeith.net\/coredump\/2008\/05\/01\/a-computer-conundrum\/\">option 2 from my original post<\/a> &#8211; the feature of NTFS &#8220;junction&#8221; points. It wasn&#8217;t ideal, but it would work &#8211; mostly.<\/p>\n<p>I booted into Safe Mode and logged in under my seldom-used Administrator account. From there, I copied my entire user profile directory to a temporary location so I had an empty directory to junction with (for obvious reasons, you can only junction to an empty directory).<\/p>\n<p>While I was at this stage, I thought &#8220;perhaps 500 GB just for my personal user profile is a bit much &#8211; surely I can junction another large folder and split the space into two partitions, perhaps 250 GB for my user profile and 250 GB for, say, &#8220;Program Files?&#8221; Well, no, actually, you can&#8217;t do that, as it turns out. Windows won&#8217;t let you rename the Program Files folder (even in Safe Mode), so you can&#8217;t use that trick to junction it to a different partition.<\/p>\n<p>This wasn&#8217;t a huge setback &#8211; my user profile takes up some 60% of the space on my drive, what with movies &amp; music &amp; other such things &#8211; but while not ideal, it would work.<\/p>\n<p>So after waiting an hour or so for the new partition to format, I had it linked to my user profile directory. Now to just copy my data back into the folder &#8211; which is now a &#8220;hard link&#8221; to a partition on a different drive. \ud83d\ude42<\/p>\n<p>A few hours later (hey, it&#8217;s a lot of data!) and my profile had been moved to the new junction &#8211; effectively, the new drive. I rebooted and everything came up A-OK.<\/p>\n<p>Now, my user profile directory (all of it, not just the &#8220;My Documents&#8221; folder mind you) is actually located on a physically different hard drive (although it could have been any other partition).<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2008\/05\/documents-and-settings-after-junction.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1111\" data-permalink=\"https:\/\/www.starkeith.net\/coredump\/2008\/05\/12\/computer-drama\/documents-and-settings-after-junction\/\" data-orig-file=\"https:\/\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2008\/05\/documents-and-settings-after-junction.png\" data-orig-size=\"607,237\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"documents-and-settings-after-junction\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2008\/05\/documents-and-settings-after-junction.png\" class=\"alignnone size-medium wp-image-1111\" title=\"documents-and-settings-after-junction\" src=\"http:\/\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2008\/05\/documents-and-settings-after-junction-300x117.png\" alt=\"\" width=\"300\" height=\"117\" srcset=\"https:\/\/www.starkeith.net\/coredump\/wp-content\/uploads\/2008\/05\/documents-and-settings-after-junction-300x117.png 300w, https:\/\/www.starkeith.net\/coredump\/wp-content\/uploads\/2008\/05\/documents-and-settings-after-junction.png 607w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">As you can see (click the image for the full-sized picture), my user-profile folder &#8220;Keith&#8221; even has a distinct icon to show that it is linked to a different hard drive.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2008\/05\/partitions.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1109\" data-permalink=\"https:\/\/www.starkeith.net\/coredump\/2008\/05\/12\/computer-drama\/partitions\/\" data-orig-file=\"https:\/\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2008\/05\/partitions.png\" data-orig-size=\"568,348\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"partitions\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2008\/05\/partitions.png\" class=\"alignnone size-full wp-image-1109 aligncenter\" title=\"partitions\" src=\"http:\/\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2008\/05\/partitions.png\" alt=\"\" width=\"500\" height=\"306\" srcset=\"https:\/\/www.starkeith.net\/coredump\/wp-content\/uploads\/2008\/05\/partitions.png 568w, https:\/\/www.starkeith.net\/coredump\/wp-content\/uploads\/2008\/05\/partitions-300x183.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">What was once a rather cramped 144 GB drive is now 79% free space &#8211; plenty of room for growth (new programs, Windows updates, etc.). And my bulky user profile, with its massive music &amp; movie collections, now has plenty of room to grow on that new partition (named &#8220;HAL&#8221; for personal historical reasons &#8211; before Windows introduced the &#8220;My Documents&#8221; folder, I used to keep documents in a folder called &#8220;HAL&#8221;).<\/p>\n<p style=\"text-align: left;\">Those other FAT and FAT32 partitions, in case you are curious, are the utility partitions for Dell &#8211; where it has the &#8220;recovery &amp; diagnostic tools.&#8221; They don&#8217;t take up too much space, so I leave them around &#8211; and they may come in handy someday.<\/p>\n<p style=\"text-align: left;\"><strong>Conclusion<\/strong><\/p>\n<p style=\"text-align: left;\">I would have much preferred to be able to do what I originally set out to do. I&#8217;ve used GParted before, and I&#8217;ve had nothing but good experiences prior to this. The new drive is (presumably) slightly faster than my old one (bigger cache), and I would have liked to have that slight speed advantage for some of my, you know, <em>programs<\/em>, or maybe even for <em>Windows itself<\/em>.<\/p>\n<p style=\"text-align: left;\">I still wonder what those &#8220;bad sectors&#8221; were. I suspect that they may have been found long ago, and CHKDSK found them and dutifully marked them as &#8220;bad&#8221; after recovering data from them. They certainly don&#8217;t cause me any trouble &#8211; my computer is (knock on wood) quite reliable. Why NTFSResize refused to run is beyond me &#8211; perhaps being a little <em>too<\/em> paranoid about data integrity? And why there isn&#8217;t an option to just ignore the errors and continue I&#8217;ll never know &#8211; these <strong>are<\/strong> Linux-based programs, after all. Isn&#8217;t that kind of power\/option the whole spirit of Linux? (I suppose I could have downloaded the source code to NTFSResize and re-compiled it myself to do what I wanted, but seriously, who has the time?)<\/p>\n<p style=\"text-align: left;\">I&#8217;m not knocking GParted &#8211; it&#8217;s still my favorite tool for this kind of work. But it was rather frustrating &#8211; it did, after all, eat up my entire weekend.<\/p>\n<p style=\"text-align: left;\">\n<p>What do <strong>you <\/strong>think &#8211; was I just unlucky, or is this common when resizing NTFS partitions?<\/p>\n<p>(Image credit to <a href=\"http:\/\/flickr.com\/photos\/58595467@N00\/\">geerlingguy<\/a> for the <a href=\"http:\/\/creativecommons.org\/licenses\/by-nc-sa\/2.0\/deed.en\">Creative Commons licensed<\/a> image.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, my new 500 GB hard drive arrived the other day. Thus began the 3-part geek tragedy that accompanies any computer upgrade. First off, let me say that it&#8217;s been a while since I&#8217;ve done this. The last time I installed a new hard drive in my computer, Ultra DMA was still pretty new &#8211;&hellip; <a class=\"more-link\" href=\"https:\/\/www.starkeith.net\/coredump\/2008\/05\/12\/computer-drama\/\">Continue reading <span class=\"screen-reader-text\">Computer Drama<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"webmentions_disabled_pings":false,"webmentions_disabled":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_post_was_ever_published":false},"categories":[3,10,5],"tags":[23],"class_list":["post-1108","post","type-post","status-publish","format-standard","hentry","category-personal","category-rants","category-technology","tag-computers","entry"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pimUj-hS","jetpack-related-posts":[{"id":705,"url":"https:\/\/www.starkeith.net\/coredump\/2006\/02\/04\/new-computer\/","url_meta":{"origin":1108,"position":0},"title":"New Computer","author":"Keith Survell","date":"February 4, 2006","format":false,"excerpt":"It's official: I'm getting a new computer. It's been over 5 years since my last one, so I'm due!","rel":"","context":"In &quot;personal&quot;","block_context":{"text":"personal","link":"https:\/\/www.starkeith.net\/coredump\/category\/personal\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3860,"url":"https:\/\/www.starkeith.net\/coredump\/2012\/04\/10\/breathing-new-life-into-an-old-netbook\/","url_meta":{"origin":1108,"position":1},"title":"Breathing New Life into an Old Netbook","author":"Keith Survell","date":"April 10, 2012","format":false,"excerpt":"Lately I had been getting a bit frustrated with the performance of my old netbook, so I decided it was time for an upgrade to a SSD.","rel":"","context":"In &quot;Gadgets&quot;","block_context":{"text":"Gadgets","link":"https:\/\/www.starkeith.net\/coredump\/category\/technology\/gadgets\/"},"img":{"alt_text":"SSD drive icon","src":"https:\/\/i0.wp.com\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2012\/04\/Ssd-slick-drive-256-150x150.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3101,"url":"https:\/\/www.starkeith.net\/coredump\/2010\/05\/31\/another-computer-conundrum-a-computer-for-mom\/","url_meta":{"origin":1108,"position":2},"title":"Another Computer Conundrum: A Computer for MOM","author":"Keith Survell","date":"May 31, 2010","format":false,"excerpt":"I face another computer conundrum: what sort of computer to get for my mom, a casual user (as opposed to me, the power user).","rel":"","context":"In &quot;tech&quot;","block_context":{"text":"tech","link":"https:\/\/www.starkeith.net\/coredump\/category\/technology\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6148,"url":"https:\/\/www.starkeith.net\/coredump\/2024\/06\/16\/unexpected-failure\/","url_meta":{"origin":1108,"position":3},"title":"Unexpected Failure","author":"Keith Survell","date":"June 16, 2024","format":false,"excerpt":"Surprise! Your hard drive is dead!","rel":"","context":"In &quot;personal&quot;","block_context":{"text":"personal","link":"https:\/\/www.starkeith.net\/coredump\/category\/personal\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2024\/06\/ssd-boot-failure.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2024\/06\/ssd-boot-failure.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2024\/06\/ssd-boot-failure.jpeg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2024\/06\/ssd-boot-failure.jpeg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2024\/06\/ssd-boot-failure.jpeg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.starkeith.net\/coredump\/wp-content\/uploads\/\/2024\/06\/ssd-boot-failure.jpeg?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":2881,"url":"https:\/\/www.starkeith.net\/coredump\/2010\/01\/07\/new-computer-time-again\/","url_meta":{"origin":1108,"position":4},"title":"New Computer Time, Again","author":"Keith Survell","date":"January 7, 2010","format":false,"excerpt":"It's time for me to upgrade my computer (again) - and the decision on what to get hasn't gotten any easier!","rel":"","context":"In &quot;tech&quot;","block_context":{"text":"tech","link":"https:\/\/www.starkeith.net\/coredump\/category\/technology\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1644,"url":"https:\/\/www.starkeith.net\/coredump\/2009\/01\/11\/bad-sectors-low-level-format\/","url_meta":{"origin":1108,"position":5},"title":"Bad Sectors? Low-Level Format","author":"Keith Survell","date":"January 11, 2009","format":false,"excerpt":"It seems like there IS a way to \"clear\" bad sectors from your hard drive so you can use tools like GParted and the like - but I use \"clear\" in a very loose sense here! First off, I MUST point out that I'm talking about file-system bad sectors. I'm\u2026","rel":"","context":"In &quot;My Life&quot;","block_context":{"text":"My Life","link":"https:\/\/www.starkeith.net\/coredump\/category\/personal\/my-life\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/posts\/1108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/comments?post=1108"}],"version-history":[{"count":0,"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/posts\/1108\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/media?parent=1108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/categories?post=1108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/tags?post=1108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}