LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


Reply
  Search this Thread
Old 10-13-2003, 03:53 AM   #1
perdesiz
Member
 
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, 04:17 AM   #2
iainr
Member
 
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.

Iain.
 
Old 10-13-2003, 04:32 AM   #3
andutt
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, 05:06 PM   #4
frogman
Member
 
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, 07:32 AM   #5
toegrim
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, 07:52 AM   #6
aurelio
LQ Newbie
 
Registered: Oct 2003
Location: Brazil-Goias
Distribution: Slackware 9.0 waiting next.
Posts: 1

Rep: Reputation: 0
usbdrive

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:

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


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, 10:10 AM   #7
efmar
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.

Thanks

Marija
 
  


Reply


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 05:39 PM
USB Flash memory alanbarnard Linux - Hardware 2 10-25-2004 04:49 PM
where is the usb flash memory? chinaundead Mandriva 2 04-08-2004 12:52 PM
USB 2.0 Flash Memory Drive Malakh Linux - Hardware 16 11-06-2003 05:07 AM
USB flash memory ericmax Red Hat 2 09-11-2003 06:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:48 PM.

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