[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Using USB pen drive



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





Reply to: