LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-12-2003, 03:03 AM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Rep: Reputation: 45
connect mu usb memory stick


How i must connect my memory usb stick? suse 8.1
 
Old 04-12-2003, 02:30 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
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.
 
Old 04-21-2003, 07:25 PM   #3
pdmackenzie
Member
 
Registered: Dec 2002
Location: toronto
Distribution: mandrake 10
Posts: 135

Rep: Reputation: 15
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
 
Old 04-21-2003, 10:27 PM   #4
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
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.
 
  


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 06:39 PM
USB memory stick Alan Lakin Linux - Hardware 21 11-10-2005 06:53 AM
USB Memory Stick coal-fire-ice Mandriva 11 12-10-2004 12:59 AM
usb memory stick amadkow Linux - Newbie 4 06-14-2004 06:21 PM
USB Memory Stick jmdlcar Linux - Hardware 1 01-09-2004 08:03 PM

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

All times are GMT -5. The time now is 10:39 AM.

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
Open Source Consulting | Domain Registration