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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-13-2003, 03:53 AM
|
#1
|
Member
Registered: Aug 2003
Location: Turkey
Posts: 88
Rep:
|
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...
|
|
|
10-13-2003, 04:17 AM
|
#2
|
Member
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631
Rep:
|
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.
|
|
|
10-13-2003, 04:32 AM
|
#3
|
LQ Newbie
Registered: Oct 2003
Location: Sweden
Posts: 6
Rep:
|
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.
|
|
|
10-13-2003, 05:06 PM
|
#4
|
Member
Registered: Sep 2003
Distribution: Mandrake, Slack, Debian and PicoBSD
Posts: 181
Rep:
|
plug it in
type (possibly as root, depending on your setup)
mount /dev/sda1 /mnt/removable
remember to umount /dev/sda1 before you unplug
|
|
|
10-15-2003, 07:32 AM
|
#5
|
LQ Newbie
Registered: Oct 2003
Posts: 2
Rep:
|
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.
|
|
|
10-15-2003, 07:52 AM
|
#6
|
LQ Newbie
Registered: Oct 2003
Location: Brazil-Goias
Distribution: Slackware 9.0 waiting next.
Posts: 1
Rep:
|
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.
|
|
|
03-12-2004, 10:10 AM
|
#7
|
LQ Newbie
Registered: Mar 2004
Posts: 1
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|