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




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



Relevant Pages

  • Re: gid option on ext3 in fstab
    ... But then i remembered the gid option in fstab. ... I use the same option on my laptop (mounting vfat partition), ... The gid and uid mount options only work with file systems such ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: A-posteriori use of another HDD for the /home/username
    ... If I mount the new HDD on ... The only stupid questions are the ones that people don't ask..... ... partition, it "hides" the old data. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • RE: Disk Full issue: SOLVED
    ... was written to the partition since a mount point was down... ... > because the disk is full. ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Help with upgrading
    ... no other partition which I've made like /usr, /home, /var, etc. So I ... have no way of editing my /etc/mount since there isn't such file nor is ... mount -o remount,rw / ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: How to mount ext3 so the files belong to a specific user?
    ... and want that user to be able to read/write to that partition. ... mount, but it seems crazy to me that you'd not be able to set ownership ... it's not the permissions of the mount point that matter; it's the permission of the root of the partition on that mount point. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)