Re: Using USB pen drive



T wrote:

Hi,

I need to copy some file from my friend's USB pen drive, but wasn't able
to because I don't know how to properly mount it.

The disk partition looks like this:

$ fdisk -l /dev/sdb
Disk /dev/sdb: 521 MB, 521928704 bytes
17 heads, 59 sectors/track, 1016 cylinders
Units = cylinders of 1003 * 512 = 513536 bytes

This doesn't look like a partition table
Probably you selected the wrong device.

  Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   ?      775809     1913904   570754815+  72  Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
    phys=(357, 116, 40) logical=(775808, 8, 13)
Partition 1 has different physical/logical endings:
    phys=(357, 32, 45) logical=(1913903, 14, 4)
Partition 1 does not end on cylinder boundary.
/dev/sdb2   ?      168185     2098423   968014120   65  Novell Netware 386
Partition 2 has different physical/logical beginnings (non-Linux?):
    phys=(288, 115, 43) logical=(168184, 16, 27)
Partition 2 has different physical/logical endings:
    phys=(367, 114, 50) logical=(2098422, 8, 24)
Partition 2 does not end on cylinder boundary.
/dev/sdb3   ?     1864289     3794527   968014096   79  Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
    phys=(366, 32, 33) logical=(1864288, 10, 12)
Partition 3 has different physical/logical endings:
    phys=(357, 32, 43) logical=(3794526, 1, 20)
Partition 3 does not end on cylinder boundary.
/dev/sdb4   ?     2877051     2877106       27749+   d  Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
    phys=(372, 97, 50) logical=(2877050, 0, 3)
Partition 4 has different physical/logical endings:
    phys=(0, 10, 0) logical=(2877105, 5, 41)
Partition 4 does not end on cylinder boundary.

I tried to mount /dev/sdb1 with type auto and vfat, but failed. Then I
tried with usbfs. It mounted ok, but I wasn't able to find any meaningful
files from the mount:

# mount -t usbfs /dev/sdb1 /media/usbdrive/

# find /media/usbdrive/
/media/usbdrive/
/media/usbdrive/005
/media/usbdrive/005/002
/media/usbdrive/005/001
/media/usbdrive/004
/media/usbdrive/004/001
/media/usbdrive/003
/media/usbdrive/003/001
/media/usbdrive/002
/media/usbdrive/002/001
/media/usbdrive/001
/media/usbdrive/001/001
/media/usbdrive/devices

It should contain several M$ word and powerpoint files.

Moreover, how to mount the "Novell Netware 386" partition? type auto won't
work, usbfs works, but I get exactly the same file list with above:

umount /media/usbdrive/
mount -t usbfs /dev/sdb2 /media/usbdrive/

$ find /media/usbdrive/
/media/usbdrive/
/media/usbdrive/005
/media/usbdrive/005/002
/media/usbdrive/005/001
/media/usbdrive/004
/media/usbdrive/004/001
/media/usbdrive/003
/media/usbdrive/003/001
/media/usbdrive/002
/media/usbdrive/002/001
/media/usbdrive/001
/media/usbdrive/001/001
/media/usbdrive/devices

What should I do to copy files from my friend's USB Drive? (I don't know
how he created it, but it can be accessed ok in WinXP).

thanks

T






Did you try to mount /dev/sdb, instead of /dev/sdb1? Mine is /dev/sdb...


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx




Relevant Pages

  • Re: [opensuse] broken HD, data recovery possible?
    ... I was not successful, but as you and some others ... Partition 1 has different physical/logical beginnings: ... Partition 1 has different physical/logical endings: ... the disk seems really messed up... ...
    (SuSE)
  • Re: Kein MOUNT unter KNOPPIX 6.01
    ... Disk identifier: 0x4975d009 ... Partition 1 has different physical/logical endings: ... Partition 1 does not end on cylinder boundary. ...
    (de.comp.os.unix.linux.misc)
  • Re: Canon A520 not detected in Testing, but works in Unstable
    ... usbview does not show the camera in the Testing machine and nothing ... Disk identifier: 0x00000000 ... This doesn't look like a partition table ... Partition 1 has different physical/logical endings: ...
    (Debian-User)
  • Re: Can I format a disk in an external floppy drive -solved
    ... When I got my new computer, it did not have a built-in floppy drive so I ... Partition 1 has different physical/logical beginnings: ... Partition 1 has different physical/logical endings: ... fds are internal floppy drives. ...
    (Ubuntu)
  • Re: 4 GB USB memory arrived
    ... That is the wiki that covers using a 1 Gb memory stick. ... Disk identifier: 0x00000000 ... Partition 1 has different physical/logical beginnings: ... Partition 1 has different physical/logical endings: ...
    (Ubuntu)