failure to mount corrupted drive

Fred Roller froller at tnclimited.com
Sat Oct 10 20:02:52 UTC 2009


Steve Reilly wrote:
>
> hi, .... had to walk away for a couple hours for my sanity.......thanks
> for the tips guys, been a while since ive used dd,  how would i go about
> using dd to backup a 160gb drive if i dont have another drive the same
> size?  all i have laying around are some 80gb and smaller.... and 2nd
> question, doesnt the drive have to be mounted (which cant be done)to use
> dd?
>
> im leaning toward trying chkdsk, but ill wait for an answer.
>
>
>
>   
If you have the hardware to support the following then try:

Create an LVM with the smaller drives if you have enough for 160+ Gb

dd the failing drive assuming it is seen in /dev (this example assumes 
sdc) and assume your lvm partition mount is lvm1

    dd if=/dev/sdc of=lvm1/recovery.img bs=512

also do some research on ddrescue which is geared more towards this type 
of recovery.  James also pointed out checking for hardware failure which 
is a good point.


-- 
Fred
www.fwrgallery.com

"Life is like linux, simple.  If you are fighting it you are doing something wrong."





More information about the ubuntu-users mailing list