Re: Copying USB stick fails with device errors

2012-06-11 Thread Alex
Bryn, > Use an offset, e.g. > > # mount -o loop,offset=4 Thanks, I should have thought of that. Alas, it didn't work. # mount -o loop,offset=4 -t vfat myusb_sdb.dd /media/desktop/ mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing

Re: Copying USB stick fails with device errors

2012-06-08 Thread Bryn M. Reeves
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/08/2012 04:03 PM, Alex wrote: > Hi, > Use an offset, e.g. # mount -o loop,offset=4 >>> >>> Thanks, I should have thought of that. Alas, it didn't work. >>> >>> # mount -o loop,offset=4 -t vfat myusb_sdb.dd /media/desktop/

Re: Copying USB stick fails with device errors

2012-06-08 Thread Alex
Hi, >>> Use an offset, e.g. >>> >>> # mount -o loop,offset=4 >> >> Thanks, I should have thought of that. Alas, it didn't work. >> >> # mount -o loop,offset=4 -t vfat myusb_sdb.dd /media/desktop/ >> mount: wrong fs type, bad option, bad superblock on /dev/loop0, >>        missing codepage or

Re: Copying USB stick fails with device errors

2012-06-08 Thread Rich
On 6/7/2012 8:24 PM, Alex wrote: > Hi, > >>> I believe the problem is that the filesystem starts at block 4 and not >>> at the beginning, so mount can't figure out how to mount it. >> >> Use an offset, e.g. >> >> # mount -o loop,offset=4 > > Thanks, I should have thought of that. Alas, it di

Re: Copying USB stick fails with device errors

2012-06-07 Thread Alex
Hi, >> I believe the problem is that the filesystem starts at block 4 and not >> at the beginning, so mount can't figure out how to mount it. > > Use an offset, e.g. > > # mount -o loop,offset=4 Thanks, I should have thought of that. Alas, it didn't work. # mount -o loop,offset=4 -t vfat my

Re: Copying USB stick fails with device errors

2012-06-07 Thread Greg Woods
On Thu, 2012-06-07 at 11:14 -0400, Alex wrote: > I believe the problem is that the filesystem starts at block 4 and not > at the beginning, so mount can't figure out how to mount it. Use an offset, e.g. # mount -o loop,offset=4 --Greg -- users mailing list users@lists.fedoraproject.or

Re: Copying USB stick fails with device errors

2012-06-07 Thread Alex
Hi, >> I've also tried creating the backup using just "cat /dev/sdb1> >> usbstick.dd" and it's the same result. I believe I mentioned in my >> previous post that there does appear to be a filesystem and partition >> table there? >> >> # fdisk -l usbstick.dd >> >> Disk usbstick.dd: 1342 MB, 1342169

Re: Copying USB stick fails with device errors

2012-06-06 Thread JD
On 06/06/2012 06:57 PM, Alex wrote: Hi, What's the proper way to copy the entire USB stick as an image? I suspect the issue is that the bootsector is within the first four blocks, and the filesystem begins after that. How can I tell "mount" to look for the filesystem after the first four bloc

Re: Copying USB stick fails with device errors

2012-06-06 Thread Alex
Hi, >> What's the proper way to copy the entire USB stick as an image? >> >> I suspect the issue is that the bootsector is within the first four >> blocks, and the filesystem begins after that. How can I tell "mount" >> to look for the filesystem after the first four blocks? >> >> Somehow when I

Re: Copying USB stick fails with device errors

2012-06-06 Thread JD
On 06/06/2012 05:41 PM, Alex wrote: Hi, I'm trying to copy a USB stick that I purchased that's supposed to contain a bootable desktop with a bunch of applications like firefox, openoffice, etc. The USB stick somehow actually contains two devices. One has a vfat filesystem and the other appears t

Copying USB stick fails with device errors

2012-06-06 Thread Alex
Hi, I'm trying to copy a USB stick that I purchased that's supposed to contain a bootable desktop with a bunch of applications like firefox, openoffice, etc. The USB stick somehow actually contains two devices. One has a vfat filesystem and the other appears to be NTFS. When mounted, it has some s