On Mon, Dec 10, 2007 at 11:03:06AM -0500, Adam wrote:
> To migrate files to my new system, I temporarily connected a PATA drive 
> from my previous system and copied my files to the new drive.  I figured 
> I was done with the old drive, and didn't want whoever had it next to be 
> able to read my files, so I TOTALLY clobbered the old drive's partition 
> table by writing garbage over that sector.  Not the coolest move, I now 
> realize.  Then of course I managed to delete the data that I'd copied 
> onto the new drive.  I think there is a lesson somewhere in this for all 
> of us, especially me.

To nitpick, that does nothing to prevent someone from reading your
files.  All the data is still there, just mildly obscured.  If you want
to actually wipe out your files, use something like 'shred' on the
partition.  Though as you've learned, not losing the data was probably
good, too :)

> Of course now when I connect my old PATA drive to my new system, it 
> doesn't even recognize it, presumably because the MBR/partition table is 
> total garbage.  Fortunately, I have copies of the MBR and each VBR for 
> this drive.  Is there any way to copy these back onto my old drive?  
> Thanks VERY much in advance!

Something like "dd if=backup.sector of=/dev/foo bs=512 count=1" should
do it.  Check google though before risking your data on my memory
however.

-m

-- 
Mike Kershaw/Dragorn <[EMAIL PROTECTED]>
GPG Fingerprint: 3546 89DF 3C9D ED80 3381  A661 D7B2 8822 738B BDB1

"Mommy, is that Mother Nature?"
"No, dear.  That's a ninja."
    -- Overheard in a comic store.

Attachment: pgpYkXgfNDjEn.pgp
Description: PGP signature

_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org          
   
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug                           
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium          
                              
  Dec 5 - Open Source Show and Tell
  Jan 2 - TBD
  Feb 6 - DBUS
  Mar 5 - Setting up a platform-independent home/small office network using 
Linux

Reply via email to