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.
|
|
04-12-2003, 03:03 AM
|
#1
|
Senior Member
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203
Rep:
|
connect mu usb memory stick
How i must connect my memory usb stick? suse 8.1
|
|
|
04-12-2003, 02:30 PM
|
#2
|
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142
Rep:
|
It should be pretty easy...
First, create a directory for your mount-point...
mkdir /mnt/usb
chmod 0777 /mnt/usb
The chmod sets the permissions so that any user can read / write / execute the directory.
Second, try mounting...
mount -t vfat /dev/sda1 /mnt/usb
ls /mnt/usb
umount /mnt/usb
In most systems, USB connected devices are run under SCSI emulation, thus the sda device. The ls will list the files on the drive. Notice, the umount command doesn't have an N between the U and the M.
Third, as long as the last step worked, you can now edit your /etc/fstab...
Code:
/dev/sda1 /mnt/usb vfat noauto,user 0 0
Any user will then be able to mount / unmount the drive with...
mount /mnt/usb
umount /mnt/usb
Commands above in red must be run as root. Commands in green can be run by any user. Also, be sure to always unmount before removing the drive.
Last edited by ranger_nemo; 04-12-2003 at 02:32 PM.
|
|
|
04-21-2003, 07:25 PM
|
#3
|
Member
Registered: Dec 2002
Location: toronto
Distribution: mandrake 10
Posts: 135
Rep:
|
Hello!
I have tried this, but after the
"mount -t vfat /dev/sda1 /mnt/usb"
command I receive the error message:
"mount: wrong fs type, bad option, bad superblock on /dev/sda1,
or too many mounted file systems"
What would be my next step? (The guy at the computer store forecast I would encounter problems ;-)
My current fstab is
"
/dev/hda5 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext2 defaults 1 2
none /mnt/cdrom supermount
dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount
dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hdb5 /tmp ext3 user,iocharset=iso8859-1,codepage=850,auto,exec,kudzu 1 0
/dev/hda2 swap swap defaults 0 0
/dev/sda1 /mnt/removable auto
user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0
"
That last one looks like it could be the memory card, but how did it get there? And why do I get an error when attempting to copy something to it?
with thanks,
doug
|
|
|
04-21-2003, 10:27 PM
|
#4
|
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142
Rep:
|
I'd try testing the /mnt/removable entry...
mount /mnt/removable
..is all you would need to do if it works. What error does it give you?
It would have gotten there by Kudzu. It's a hardware probe that runs at boot-up.
|
|
|
All times are GMT -5. The time now is 10:39 AM.
|
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
|
|