{"id":78,"date":"2006-12-09T19:20:00","date_gmt":"2006-12-10T00:20:00","guid":{"rendered":"http:\/\/www.familytidings.com\/blog\/?p=78"},"modified":"2006-12-09T19:20:00","modified_gmt":"2006-12-10T00:20:00","slug":"recovering-from-the-windows-virus","status":"publish","type":"post","link":"https:\/\/www.familytidings.com\/blog\/?p=78","title":{"rendered":"Recovering from the Windows Virus"},"content":{"rendered":"<p>I had to replace a dying hard disk.  This was as easy as connecting the old (still set up as master) and new (jumpered to be slave) drives and booting <a href=\"http:\/\/www.knoppix.org\/\">Knoppix<\/a>.  At the command line:<br \/><code># <b>dd if=\/dev\/hda of=\/dev\/hdb<\/b><\/code><\/p>\n<p>When it&#8217;s done, shut down, remove the old drive and make the new one the master.  Then everybody was happy.  But not really.  I&#8217;m not sure if the dying drive barfed while copying part of the Windows partition or what, but WinXP failed to start complaining that &lt;Windows root&gt;\\system32\\hal.dll was corrupt.  So I reloaded Windows and it wiped GRUB off the disk.  This is fixed by booting Knoppix again and entering these steps (which are specific to my configuration of \/boot as the first partition of my boot drive) from <a href=\"http:\/\/www.sorgonet.com\/linux\/grubrestore\/\">HOWTO Restore GRUB<\/a>:<br \/><code># <b>grub<\/b><br \/>grub> <b>root (hda0,0)<\/b><br \/>grub> <b>setup (hd0)<\/b><br \/>grub> <b>quit<\/b><br \/># <b>reboot<\/b><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had to replace a dying hard disk. This was as easy as connecting the old (still set up as master) and new (jumpered to be slave) drives and booting Knoppix. At the command line:# dd if=\/dev\/hda of=\/dev\/hdb When it&#8217;s done, shut down, remove the old drive and make the new one the master. Then [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-78","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/78","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=78"}],"version-history":[{"count":0,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/78\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}