[ubuntu-us-in] hard drive tools* ssh ftp suggestions

Ben Dailey ben at inspiredtechs.com
Thu May 1 13:16:36 BST 2008


On Thu, May 1, 2008 at 4:08 AM, justin sullivan
<j.p.sullivan at hotmail.com> wrote:
>
>  hey does anyone know of any good check disk programs for  ubuntu, my hard drive is failing and i need to make a backup.  ive used keep and simple backup config thus far. ive tried to use ssh to copy the  disk image  to my other computer, using ftp but i cant seem to get it to work... any helpful suggestion anyone?!

Justin,

Disconnect the SATA or IDE and power cables from you failing drive.
Acquire a new drive at least 10GB more space than your current drive.
Install a linux distro (ubuntu) on the new drive and install ddrescue
(sudo apt-get install ddrescue) Now power down your machine reconnect
your old drive as a secondary drive and boot your computer backup. Now
use the ddrescue utility to make an image of the partition(s) on the
failing drive. make sure the old drive isn't mounted before the
rescue: sudo umount /devsdb1 ie: dd_rescue /dev/sdb1
/home/user/sdb1.img. This will do a block for block copy of the
filesystem to an file which you then can mount with the kernel
loopback driver. ie: mount -o loop -t ext3 /home/user/sdb1.imag
/home/user/olddrive/ then you should have access to the filesystem to
copy files off. Any questions along the way feel free to ask.

HTH,
Ben



More information about the Ubuntu-us-in mailing list