LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   mounting a thumbdrive? (https://www.linuxquestions.org/questions/mandriva-30/mounting-a-thumbdrive-372486/)

linuxgeek13 10-12-2005 10:18 PM

mounting a thumbdrive?
 
im having trouble seeing my thumb drive when i plug it in ,i can find it in the hardware list ,its under sda,now how do i get it to show up so i can see it,im useing mandriva 2005LE...thanks..

JediGuy_bob 10-12-2005 10:44 PM

from the terminal type:

dmesg|tail

find out which sda number it is (sda1, 2, 3,....)

then type (maybe as root):

mount /dev/sda1 /mnt/{mount point}

mount point can be floppy or you can mkdir /mnt/usb or whatever.

Hopefully this helps!

linuxgeek13 10-12-2005 11:02 PM

im still haven trouble ,i tried what you sug,but i think im missing something,im still very new to linux...

edit its telling me permission denied while im in as root...

JediGuy_bob 10-12-2005 11:49 PM

Unplug and re-plug in your flash drive. The next thing you should do is type dmesg|tail.

Post what is displayed that will help mehelp you.

linuxgeek13 10-13-2005 12:17 AM

[jody@localhost ~]$ dmesg|tail
sdb: assuming drive cache: write through
SCSI device sdb: 501759 512-byte hdwr sectors (257 MB)
sdb: Write Protect is off
sdb: Mode Sense: 03 00 00 00
sdb: assuming drive cache: write through
/dev/scsi/host2/bus0/target0/lun0: p1
Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg1 at scsi2, channel 0, id 0, lun 0, type 0
usb-storage: device scan complete
usb 1-2.6: USB disconnect, address 3
[jody@localhost ~]$


this is what i get...thank you by the way for the help...

jgtg32a 10-13-2005 12:29 AM

Your not in root

type 'su' then do it
you have $
when it should be #

--------

[ ~]# dmesg|tail
USB Mass Storage device found at 3
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
VFS: busy inodes on changed media.
SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
sda: Write Protect is off
sda: Mode Sense: 02 00 00 00
sda: assuming drive cache: write through
/dev/scsi/host0/bus0/target0/lun0: p1
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0

then when I tell it to mount to /dev/usb which I created I get

mount: /dev/sda1 is not a valid block device

tur third 10-13-2005 07:19 AM

on my system (Mandrake 10.1) the USB appears as /mnt/removeable/ and usually appears as another drive on the desktop.

I did have a problem, whereby it was not mounting. I discovered that this was to do with the service not running on boot up. This can be looked at in 'system setup' (can't remember the exact details). It should then mount automatically, I did not have to manually mount this (as I have with another distribution).

It might be worth checking this before manually trying to mount it.

linuxgeek13 10-13-2005 12:15 PM

thanks everyne for the help...


All times are GMT -5. The time now is 04:08 AM.