[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

HD swap, bad sectors (was Re: HD: IDE 2 SCSI)



On Fri, Sep 22, 2000 at 07:26:44PM +0200, Simon Schmidig (schmidi6@etu.unige.ch) wrote:
> I have a old IDE 2 GB hard disk with many bad sector. Now I have bay
> a new SCSI 2 GB hard disk. Witch way is the best to transfer the
> debian:
> 
> 1) A new installation and then copy only the /home, /usr/local and /etc
>    directories.

Probably best.

> 2) create the same partitions on the new disk; then dd
> if=/dev/old-partition
>    of=/dev/new-partition.

No.

> 3) create the partitions on the new disk, then
>    ( cd /old && tar cfSp - * ) | ( cd /new && tar xfSpv - )

If the files are OK.

> What's about the files how was damaged by the bad sectors?

What sectors were damaged?  What filesystems?

-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

Attachment: pgpNsTo1nN0WZ.pgp
Description: PGP signature


Reply to: