Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 10-13-2003, 04:53 AM   #1
Registered: Aug 2003
Location: Turkey
Posts: 88

Rep: Reputation: 15
USB flash memory???

I am using MDK 9.1 and I wonder if there exist any easy way to mount the USB flash memory stick I have...
Old 10-13-2003, 05:17 AM   #2
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
I had no problems with a flash memory pen. I just plugged it into the USB port and, with Mandrake 9.1, it mounted it as /mnt/removable and there is was, ready for me.

Old 10-13-2003, 05:32 AM   #3
LQ Newbie
Registered: Oct 2003
Location: Sweden
Posts: 6

Rep: Reputation: 0
Your usb device will appear as a scsi device, you chould be able to see what the system is calling it in /proc/scsi. With fdisk -l you should be able to see which kind of filesystem exists on the usb-device. It should be named like sd1,2,3 or something.
Old 10-13-2003, 06:06 PM   #4
Registered: Sep 2003
Distribution: Mandrake, Slack, Debian and PicoBSD
Posts: 181

Rep: Reputation: 31
plug it in

type (possibly as root, depending on your setup)

mount /dev/sda1 /mnt/removable

remember to umount /dev/sda1 before you unplug
Old 10-15-2003, 08:32 AM   #5
LQ Newbie
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
In trying to contact my RedHat Linux 9 machine to my usb storage pen I was adviced to log on as su - and type cd /mnt/usb-pen and then type ls. This did only get me root@localhost usb-pen, but no visible content on the connected pen. I then tried mount /dev/sdb1 /mnt/usb-pen, but the machine tells me mount: /dev/sdb1 is not a valid block device. I then try modprobe /usb-storage with no other result than root@localhost root. I then try mount /dev/sdb1 /mnt/usb-pen getting me the old /dev/sdb1 is not a valid block device. After this I exit out of su -. I would be very grateful if someone could tell me if there is hope for my USB-pen on Linux.
Old 10-15-2003, 08:52 AM   #6
LQ Newbie
Registered: Oct 2003
Location: Brazil-Goias
Distribution: Slackware 9.0 waiting next.
Posts: 1

Rep: Reputation: 0

I tried to mount usbdrive via shell script but always system gives me an error.
I put usbdrive in /etc/fstab but system do not mount it again.
Only after I login and issue a command mount -a , usbdrive
is mounted.
Anyone knows how to have a usbdrive mounted using a script?
My usb drive filesystem was created with:
mke2fs -j -m0 /dev/sda1

My script is this as root:

make -p /datadir
for device in /dev/sda1 /dev/sda2 /dev/sda3 \
; do
mount -t ext3 -o ro $device /datadir
if test $? -eq 0
e2fsck $device -y
mount -t ext3 -o rw $device /datadir

Mount complains /dev/sda1 is wrong file system, bad block
or too mounted filesystem when booting but when I
issue the same mount after login, usbdrive mount !

Could anyone help me?
Thank you in advance.
Old 03-12-2004, 11:10 AM   #7
LQ Newbie
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
Usb Flash memory problem

I have a problem with my USB FLASH Memory on Suse Linux 8.2.

It was working as it should by mounting with the command: $ mount /media/sda1,
and then it was possible to read and write to the USB flash memory.

But then, once I forgot to do $ umount /media/sda1
and unpluged the device without umounting.

Since then it won't mount and gives the following error:

/dev/sda1: No such file or directory
mount: /dev/sda1 is not a block device (maybe try `-o loop'?)

Can anybody help me with this.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing memory in USB stick, flash memory, removable hd etc bamboo_spider Linux - Newbie 3 06-14-2006 06:39 PM
USB Flash memory alanbarnard Linux - Hardware 2 10-25-2004 05:49 PM
where is the usb flash memory? chinaundead Mandriva 2 04-08-2004 01:52 PM
USB 2.0 Flash Memory Drive Malakh Linux - Hardware 16 11-06-2003 06:07 AM
USB flash memory ericmax Red Hat 2 09-11-2003 07:45 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration