You are not logged in.

#1 2011-06-04 17:03:00

dameunmate
Member
From: London
Registered: 2010-01-19
Posts: 85
Website

[SOLVED] Please help me transfer files - USB drives don't mount

I'm desperately trying to transfer some old packages from my pacman cache before I reinstall Arch Linux, I've been trying for two days solid to get my Matrox Graphics card working (see https://bbs.archlinux.org/viewtopic.php?id=120141). However I've now tried 3 different brands of USB drive and my Samsung tablet and I can' get ANY of them to mount just to copy files off. Here's what I get when I try to mount two of the USB sticks:

[root@computername]# mount usb-Kingston_DataTraveler_G3_001CC0EC33FABB40E5DD0076-0:0-part1 flashdrive
mount: wrong fs type, bad option, bad superblock on usb-Kingston_DataTraveler_G3_001CC0EC33FABB40E5DD0076-0:0-part1,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

[root@computername]# dmesg | tail
[  733.720415] scsi 10:0:0:0: Direct-Access     Kingston DataTraveler G3  PMAP PQ: 0 ANSI: 0 CCS
[  733.720642] sd 10:0:0:0: Attached scsi generic sg1 type 0
[  734.080373] sd 10:0:0:0: [sdb] 15215808 512-byte logical blocks: (7.79 GB/7.25 GiB)
[  734.080872] sd 10:0:0:0: [sdb] Write Protect is off
[  734.080878] sd 10:0:0:0: [sdb] Mode Sense: 23 00 00 00
[  734.080882] sd 10:0:0:0: [sdb] Assuming drive cache: write through
[  734.083248] sd 10:0:0:0: [sdb] Assuming drive cache: write through
[  734.096500]  sdb: sdb1
[  734.098647] sd 10:0:0:0: [sdb] Assuming drive cache: write through
[  734.098653] sd 10:0:0:0: [sdb] Attached SCSI removable disk



[root@computername]# mount usb-JetFlash_Transcend_4GB_52N02F7DD0S7NZ9L-0:0-part1 flashdrive
mount: wrong fs type, bad option, bad superblock on usb-JetFlash_Transcend_4GB_52N02F7DD0S7NZ9L-0:0-part1,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

[root@computername]# dmesg | tail
[  812.807007] scsi 11:0:0:0: Direct-Access     JetFlash Transcend 4GB    1100 PQ: 0 ANSI: 0 CCS
[  812.807235] sd 11:0:0:0: Attached scsi generic sg1 type 0
[  812.807988] sd 11:0:0:0: [sdb] 7913472 512-byte logical blocks: (4.05 GB/3.77 GiB)
[  812.808723] sd 11:0:0:0: [sdb] Write Protect is off
[  812.808727] sd 11:0:0:0: [sdb] Mode Sense: 43 00 00 00
[  812.808729] sd 11:0:0:0: [sdb] Assuming drive cache: write through
[  812.811251] sd 11:0:0:0: [sdb] Assuming drive cache: write through
[  812.812382]  sdb: sdb1
[  812.814299] sd 11:0:0:0: [sdb] Assuming drive cache: write through
[  812.814304] sd 11:0:0:0: [sdb] Attached SCSI removable disk

Last edited by dameunmate (2011-06-04 18:04:25)

Offline

#2 2011-06-04 17:07:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Please help me transfer files - USB drives don't mount

Have you tried to

mount /dev/sdb /some/mountpoint

?

Offline

#3 2011-06-04 17:13:10

dameunmate
Member
From: London
Registered: 2010-01-19
Posts: 85
Website

Re: [SOLVED] Please help me transfer files - USB drives don't mount

Kingston USB drive:

[root@computername]# fdisk -l

Disk /dev/sdb: 7790 MB, 7790493696 bytes
113 heads, 49 sectors/track, 2748 cylinders, total 15215808 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: 0xc3072e18

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        8064    15215807     7603872    c  W95 FAT32 (LBA)

Transcend USB Drive:

[root@computername]# fdisk -l

Disk /dev/sdb: 4051 MB, 4051697664 bytes
227 heads, 32 sectors/track, 1089 cylinders, total 7913472 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: 0xc3072e18

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          32     7913471     3956720    c  W95 FAT32 (LBA)

Offline

#4 2011-06-04 17:13:49

dameunmate
Member
From: London
Registered: 2010-01-19
Posts: 85
Website

Re: [SOLVED] Please help me transfer files - USB drives don't mount

A third USB drive, TDK:

[root@computername]# mount usb-TDKMedia_Trans-It_Drive_07A10403C8951262-0:0 flashdrive
mount: wrong fs type, bad option, bad superblock on usb-TDKMedia_Trans-It_Drive_07A10403C8951262-0:0,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

[root@computername]# dmesg | tail
[ 1697.685591] scsi 13:0:0:0: Direct-Access     TDKMedia Trans-It Drive   PMAP PQ: 0 ANSI: 0 CCS
[ 1697.685837] sd 13:0:0:0: Attached scsi generic sg1 type 0
[ 1700.031472] sd 13:0:0:0: [sdb] 7806976 512-byte logical blocks: (3.99 GB/3.72 GiB)
[ 1700.032058] sd 13:0:0:0: [sdb] Write Protect is off
[ 1700.032062] sd 13:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 1700.032065] sd 13:0:0:0: [sdb] Assuming drive cache: write through
[ 1700.034813] sd 13:0:0:0: [sdb] Assuming drive cache: write through
[ 1700.056241]  sdb: unknown partition table
[ 1700.058457] sd 13:0:0:0: [sdb] Assuming drive cache: write through
[ 1700.058461] sd 13:0:0:0: [sdb] Attached SCSI removable disk


[root@computername]# fdisk -l

Disk /dev/sdb: 3997 MB, 3997171712 bytes
123 heads, 62 sectors/track, 1023 cylinders, total 7806976 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: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table

Offline

#5 2011-06-04 17:14:34

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [SOLVED] Please help me transfer files - USB drives don't mount

Perhaps the cause of your difficulty is the proper use of the mount command. 

It mounts partitions and requires the partition type..

Thus:  mount -t ext2 /dev/sdb1 /mnt...... is an example.

(This places the contents of sdb1 in /mnt)

Then you will be able to transfer the cache data into /mnt.

It is imperative that a partition be stated such as sdb1,2,3 etc.......

I said perhaps!!!!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#6 2011-06-04 17:15:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Please help me transfer files - USB drives don't mount

What is the output of

mount /dev/sdb1 /some/mountpoint

?


@lilsirecho
Those pendrives are fat32 formatted :-)

Last edited by karol (2011-06-04 17:17:25)

Offline

#7 2011-06-04 17:16:19

dameunmate
Member
From: London
Registered: 2010-01-19
Posts: 85
Website

Re: [SOLVED] Please help me transfer files - USB drives don't mount

karol wrote:

Have you tried to

mount /dev/sdb /some/mountpoint

?

I just tried with the Kingston, I get:

[root@computername]# mount /dev/sdb flashdrive
mount: you must specify the filesystem type

Last edited by dameunmate (2011-06-04 17:16:42)

Offline

#8 2011-06-04 17:18:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Please help me transfer files - USB drives don't mount

What is 'flashdrive'? Is this a valid path to a mountpoint?

If you're in doubt, please read the manpage for 'mount'.

Offline

#9 2011-06-04 17:19:08

dameunmate
Member
From: London
Registered: 2010-01-19
Posts: 85
Website

Re: [SOLVED] Please help me transfer files - USB drives don't mount

by the way flashdrive is an exisiting directory that I'm trying to mount to. Will try specifying the partition now (that wasn't in the wiki on mounting USB drives!), thanks...

Last edited by dameunmate (2011-06-04 17:19:49)

Offline

#10 2011-06-04 17:22:04

dameunmate
Member
From: London
Registered: 2010-01-19
Posts: 85
Website

Re: [SOLVED] Please help me transfer files - USB drives don't mount

lilsirecho wrote:

Perhaps the cause of your difficulty is the proper use of the mount command. 

It mounts partitions and requires the partition type..

Thus:  mount -t ext2 /dev/sdb1 /mnt...... is an example.

(This places the contents of sdb1 in /mnt)

Then you will be able to transfer the cache data into /mnt.

It is imperative that a partition be stated such as sdb1,2,3 etc.......

I said perhaps!!!!

mount /dev/sdb1 flashdrive

..reports no errors! Will try and transfer files now and report back to you....thanks

Last edited by dameunmate (2011-06-04 17:22:52)

Offline

#11 2011-06-04 17:24:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Please help me transfer files - USB drives don't mount

dameunmate wrote:

Will try specifying the partition now (that wasn't in the wiki on mounting USB drives!), thanks...

I don't know which article did you read, but https://wiki.archlinux.org/index.php/US … ge_Devices has plenty '/dev/sda1' examples.

Offline

#12 2011-06-04 18:03:37

dameunmate
Member
From: London
Registered: 2010-01-19
Posts: 85
Website

Re: [SOLVED] Please help me transfer files - USB drives don't mount

Hi I'm sorry Karol I'm such a noob! I was following the instructions not copying the examples, hence typing mount usb-Kingston_DataTraveler_G3_001CC0EC33FABB40E5DD0076-0:0-part1 path/to/folder!

mount /dev/sdb1 path/to/folder does work fine! And umount path/to/folder successfully unmounts the drive.

I have now copied my first ever file off a Linux machine, and feel very happy about that! I will now try to copy to USB drive all the contents of var/cache/pacman/pkg/, reinstall Arch Linux, then finally pacman -U all these packages from the USB drive to see if I can revert to the old release of xorg and get my Matrox graphics card working again! I've tried pacman -U on the packages on my current installation but I get stuck with all the dependancies.

If you have a moment please do glance at my post on this problem because nobody has replied to it yet: https://bbs.archlinux.org/viewtopic.php?id=120141. Many thanks lilsirecho and many thanks Karol, you're always so helpful!

Offline

#13 2011-06-04 18:07:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Please help me transfer files - USB drives don't mount

Have you tried running 'pacman -Udd <list of packages>'?

Last edited by karol (2011-06-04 18:08:17)

Offline

#14 2011-06-04 18:37:12

dameunmate
Member
From: London
Registered: 2010-01-19
Posts: 85
Website

Re: [SOLVED] Please help me transfer files - USB drives don't mount

Just tried that, please see https://bbs.archlinux.org/viewtopic.php?id=120141%29 I'm continuing this discussion there because the copy to USB drive problem is solved but not the downgrading xorg which is the subject of the other discussion. Thanks

Offline

Board footer

Powered by FluxBB