On 8/3/07, Eberhard Roloff <[EMAIL PROTECTED]> wrote: > Jonathan Arnold wrote: > > SMART is saying that one of my hard drives is an accident waiting to > > happen and that I should replace it. No worries there, as I have two > > 160gb hard drives just sitting around in an unused box I was going to > > cannibalize anyway. But it does have / and /home on it, so what would > > be the best way to go about doing this? I think I have an IDE slot to > > plug in the new drive, or at least I could temporarily replace my > > CD or something. > > > > I assume I would want to use dd or something? > > > I use dd for this, assuming that the new drive is as big as or bigger > than the old one. > The resulting harddisk layout of course just mirrors the old disk so > that you either will use the remaining space for something else or you > will need to resize your partitions. For the latter parted/qtparted will > be your friends ;-) > > regards > Eberhard
I too would use dd for this, but be sure to use the "conv=sync,noerror" argument. Otherwise if you do have a failed sector read the resulting copy will be garbage. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
