Rescuing a Damaged USB Stick

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Mon Dec 19 16:54:32 UTC 2011


On Mon, Dec 19, 2011 at 10:18:02AM -0500, William O'Higgins Witteman wrote:
> On Mon, Dec 19, 2011 at 02:13:21AM -0500, William Park wrote:
> 
> Thanks to Lennart and William, I can put the image on the loopback
> interface, but it I sadly no further ahead.  Here's what happens:
> 
> losetup /dev/loop0 usb.img
> fdisk -u -l /dev/loop0
> 
> Disk /dev/loop0: 4041 MB, 4041211904 bytes
> 255 heads, 63 sectors/track, 491 cylinders, total 7892992 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0xb8167e71
> 
> Disk /dev/loop0 doesn't contain a valid partition table
> 
> mount /dev/loop0 /mnt/tmp/
> NTFS signature is missing.
> Failed to mount '/dev/loop0': Invalid argument
> The device '/dev/loop0' doesn't seem to have a valid NTFS.
> Maybe the wrong device is used? Or the whole disk instead of a
> partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
> 
> This is where I got stuck before - I can't mount the image because it is
> broken, but I don't know how to fix its brokenness.
> 
> Any other suggestions?

gpart (guess partition)

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list