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 01-23-2006, 08:26 AM   #1
Drague
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Rep: Reputation: 0
How do I use my USB flash drive on Linux


How do I go about using my ScanDisk Cruzer Mini 1.0 GB usb drive on Red Hat 9?
 
Old 01-23-2006, 08:52 AM   #2
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
1. Plug it in.
2. Check dmesg to see if the device is recognised and to see what dev it uses.
3. mount it. (plenty of posts here about mounting devices no need to repeat it)
4. Use it.
5. unmount it.
6. remove it.
 
Old 01-23-2006, 08:59 AM   #3
Drague
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Original Poster
Rep: Reputation: 0
dmesg:
hub.c: new USB device 00:1f.4-2, assigned address 3
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
/var/log/messages
Jan 23 09:01:54 localhost kernel: hub.c: new USB device 00:1f.4-2, assigned address 3
Jan 23 09:01:57 localhost /etc/hotplug/usb.agent: Setup usb-storage for USB product 781/5150/20
Jan 23 09:01:57 localhost devlabel: devlabel service started/restarted
 
Old 01-23-2006, 09:18 AM   #4
Drague
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Original Poster
Rep: Reputation: 0
so how do i mount it?
 
Old 01-23-2006, 09:45 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,797

Rep: Reputation: 282Reputation: 282Reputation: 282
did you already try the search as indicated by okmyx ?

usually the usb stick-will be something like /dev/sda or /dev/sda1; find that one first
next try to mount it (check the search results)

this is one that I found; it might contain an error, so check man page for mount
 
Old 01-23-2006, 09:57 AM   #6
Drague
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Original Poster
Rep: Reputation: 0
used mount -t vfat /dev/sda1 /mnt/usb came back with mount: mount point /mnt/usb does not exist
 
Old 01-23-2006, 11:16 AM   #7
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
Manually create the folder as root.
 
Old 01-23-2006, 10:27 PM   #8
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,797

Rep: Reputation: 282Reputation: 282Reputation: 282
Have a look where your floppy (fd0) will be mounted. You can find this in /etc/fstab. The directory name might vary, but will be something like /mnt or /media. Create the mountpoint usb (or stick or whatever name you like) and use that name (so e.g. /media/stick).

Once you have it working, add the 'command' to /etc/fstab. After a reboot, mounting can be done by typing something like mount /media/stick (saves you some typing).
 
  


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
Using a USB flash drive with Linux membrax Linux - Hardware 76 11-03-2005 11:25 AM
Installing Linux on a USB Flash Drive spaaarky21 Linux - Distributions 3 11-02-2004 02:17 PM
Accessing USB Flash Drive under Redhat Linux kn_sravan Linux - Hardware 7 08-18-2003 12:56 AM
Installing Linux from a usb flash drive? jck Linux - General 0 08-03-2003 04:35 PM
Installing Linux on a USB flash drive!? delphinus Linux - General 4 03-15-2003 06:32 PM

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

All times are GMT -5. The time now is 10:12 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