Problem accessing USB drive from Live USB

Bug #352825 reported by SF007
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

I created a Live USB with "USB Startup disk creator", booted from it, and when I try to access the USB flash drive (the Live USB) I get an error:

Unable to mount location: can't mount file

The only work-around is to go to this location:
/cdrom
and now I can access the files on the Flash drive (but only in read-only mode)

Note 1 : This is not a problem nor on Thunar nor on dolphin (but the files are also read-only in both)
Note 2: Using cd2usb (windows tool) to create the Live USB produces the same result
Note 3: Using root mode allows to write to the USB drive (on all file-managers)
Notes 4: The USB drive does not appear on:
/media

SF007 (sf007)
description: updated
Revision history for this message
j.scott.gwin@gmail.com (j.scott.gwin) wrote :

Thank you for reporting this issue, it helps make Ubuntu better. Confirmed.

Changed in nautilus:
status: New → Confirmed
Changed in nautilus (Ubuntu):
status: Confirmed → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

can you mount the key using gvfs-mount?

Changed in nautilus (Ubuntu):
assignee: nobody → desktop-bugs
importance: Undecided → Low
Revision history for this message
SF007 (sf007) wrote :

Hey Sebastien, how I'm am supposed to do that?
-What command to run, parameters, etc... ? assuming my pendrive is: /dev/sdb

Revision history for this message
Sebastien Bacher (seb128) wrote :

gnome-mount -v -b -d <device>

Revision history for this message
SF007 (sf007) wrote :

Just tried:
gnome-mount -v -b -d /dev/sdb

And I got:

Message: Drive /dev/sdb does not contain media.
Unable to mount media.
There is probably no media in the drive.

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you run "dmesg | grep sdb"?

Revision history for this message
SF007 (sf007) wrote :

Output of "dmesg | grep sdb":

[ 8.939548] sd 6:0:0:0: [sdb] 7928832 512-byte hardware sectors: (4.05 GB/3.78 GiB)
[ 8.940689] sd 6:0:0:0: [sdb] Write Protect is off
[ 8.940694] sd 6:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 8.940699] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 8.943450] sd 6:0:0:0: [sdb] 7928832 512-byte hardware sectors: (4.05 GB/3.78 GiB)
[ 8.944560] sd 6:0:0:0: [sdb] Write Protect is off
[ 8.944565] sd 6:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 8.944570] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 8.944576] sdb: sdb1
[ 8.947041] sd 6:0:0:0: [sdb] Attached SCSI removable disk

Revision history for this message
Sebastien Bacher (seb128) wrote :

what about "gnome-mount -v -b -d /dev/sdb1"?

Revision history for this message
MrGuga (mrguga) wrote :

ubuntu@ubuntu:~$ gnome-mount -v -b -d /dev/sdb1
gnome-mount 0.8
** (gnome-mount:7037): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_uuid_5269_3854
** (gnome-mount:7037): DEBUG: read default option 'shortname=mixed' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:7037): DEBUG: read default option 'uid=' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:7037): DEBUG: read default option 'utf8' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:7037): DEBUG: read default option 'umask=077' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:7037): DEBUG: read default option 'exec' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:7037): DEBUG: read default option 'flush' from gconf strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:7037): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_uuid_5269_3854 with mount_point='', fstype='', num_options=6
** (gnome-mount:7037): DEBUG: option='shortname=mixed'
** (gnome-mount:7037): DEBUG: option='uid=999'
** (gnome-mount:7037): DEBUG: option='utf8'
** (gnome-mount:7037): DEBUG: option='umask=077'
** (gnome-mount:7037): DEBUG: option='exec'
** (gnome-mount:7037): DEBUG: option='flush'
** Message: Mount failed for /org/freedesktop/Hal/devices/volume_uuid_5269_3854
org.freedesktop.Hal.Device.Volume.AlreadyMounted : Device /dev/sdb1 is already mounted.

i also tried umounting (obvious it wouldn't work)
ubuntu@ubuntu:~$ gnome-umount -v -b -d /dev/sdb1
gnome-mount 0.8
** (gnome-umount:7039): DEBUG: Unmounting /org/freedesktop/Hal/devices/volume_uuid_5269_3854
** (gnome-umount:7039): DEBUG: Setting up 750ms timer for Flushing Cache dialog
** (gnome-umount:7039): DEBUG: in unmount_done : user_data = 0x0
** Message: Unmount failed for /org/freedesktop/Hal/devices/volume_uuid_5269_3854: org.freedesktop.Hal.Device.Volume.UnknownFailure : Cannot open /media/.hal-mtab

still read only to user:
ubuntu@ubuntu:~$ mkdir /cdrom/test
mkdir: não é possível criar o diretório `/cdrom/test': Permissão negada

also obvious, but i am not allowed to chmod -R 766 /cdrom

Revision history for this message
Pedro Villavicencio (pedro) wrote :

do you still get this issue with karmic?

Changed in nautilus (Ubuntu):
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in nautilus (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.