LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-13-2004, 06:24 PM   #1
La Dima
LQ Newbie
 
Registered: Sep 2003
Location: Denpasar, Bali
Distribution: Red Hat 9
Posts: 20

Rep: Reputation: 0
How to access usb mass storage ?


I have Kingston data traveller 2.0, its a usb mass flash disk, i am using Redhat 9 but i can't access the flash disk.

Do i have to install a driver for the flash disk ?
& how to mount it ?
 
Old 12-13-2004, 06:41 PM   #2
ddu_
Member
 
Registered: Dec 2004
Distribution: Slackware
Posts: 114

Rep: Reputation: 16
running Slackware10, I use this:

To Mount:

mkdir /mnt/usb
mount /dev/sda1 /mnt/usb

(you can now access it by cd /mnt/usb)

To Remove:

umount /mnt/usb
sync

Hope this helps.
*Edit* You only have to mkdir once

Last edited by ddu_; 12-13-2004 at 07:17 PM.
 
Old 12-13-2004, 07:18 PM   #3
nippy
LQ Newbie
 
Registered: Dec 2004
Location: Columbus OH
Distribution: Suse 9.1 pro and Redhat 9.0
Posts: 4

Rep: Reputation: 0
I have the same kingston datatraveller and I could never get it to mount in redhat 9.0. It appears as a hardware device but never managed to access it. I have recently upgraded all but one of my Redhat boxes to Suse 9.1 pro and the data traveller mounts as a hotmount automatically when I plug it in. Suse has a lot of
other functionality after the initial pain of the changeover. Sorry couldn't be of more help.
 
Old 12-13-2004, 07:26 PM   #4
ddu_
Member
 
Registered: Dec 2004
Distribution: Slackware
Posts: 114

Rep: Reputation: 16
Did you try what I posted?
 
Old 12-13-2004, 07:28 PM   #5
moxieman99
Member
 
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 425

Rep: Reputation: 147Reputation: 147
Mine is not the best way, but it works for me. I assume you are only adding one usb stick. I assume your usb stick is a FAT16 or FAT32 format. Here goes:

1. Log in as Root.

2. Click on Root'sHome icon, and navigate up the computer's file tree until you get to just "/" (without the quotes)

3. Look at the folders. Among all the folders you see, you will see one labeled "etc" and one labeled "mnt" (again, no quote marks)

3. Open the MNT folder and add a subfolder in it labeled usb1

4. Close that window.

5. Insert your thumb drive into the usb port

6. open your system tools and select hardware browser (click on the red hat at the bottom left of the screen to get to system tools)

7. Select hard drives as the hardware to review.

8. You should see a display on the right-hand side. One bar will show your hard drive and have a label of: Drive:/dev/hdd1 or something similar Below that you should see another for your jump drive, and it may be labeled Drive:/dev/sda1 -- whatever it is, write it down (the /dev/<whatever>)

9. Close the window.

10. Open your accessories (again, the red hat) and select text editor.

11. In text editor, navigate up, again, to "/" (ignore quote marks)

12. Click on the ETC folder.

13. A box should open up with two windows, in one will be a list of subfolders in ETC and the other will be a list of files in ETC (in my Redhat 9, the files are in the right-hand window and the subfolders are in the left-hand window).

14. Look in the files side, and find a file named (ignore the quotes) "FSTAB" Note that you may also have a file named FSTAB.REVOKED and perhaps even a file named FSTAB~ -- IGNORE those two files. you want just the file named FSTAB

15. Open FSTAB and put your cursor at the very end of the file, and click. Let there be nothing after the place where you just clicked.

16. On its own line (so you may have to hit the "enter" key) type the following (without the quotes)
"/dev/sda1 /mnt/usb1 auto user,noauto,unmask=0 0 0"

17 Save file and exit text editor

18. Shut down computer, remove thumb drive from usb port, and restart computer

19. Log in as a regular user

20. Insert your jump drive into the usb port again

21. Right-click on your screen and see if, selecting "DISK" from the resulting pop-up, you can select USB1 and if you do, does an icon for the thumb drive show up.

22. Wait for somebnody who really knows what they are doing to respond to your post, because I'm sure what I wrote is crude trash compared to some elegant solutions.
 
Old 12-14-2004, 12:25 AM   #6
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
This question has been asked many times though. But never mind. Take a look at my small guides:

http://www.geocities.com/wnarifin/linux/fstab2.txt
http://www.geocities.com/wnarifin/linux/fstab.txt

Just welcome to the world of linux.

But in simple words:

1. You have kingston 2.0. That's mean it is /dev/sda.
2. Open up terminal window.
3. Type 'su -'
4. Type 'nautilus --no-desktop'
5. Go to /mnt directory.
6. Make a new folder, namely "myusb".
7. Go to /etc/directory.
8. Look for "fstab" file.
9. Open with "gedit"
10. Add the following line to the end of the file:

Code:
/dev/sda                /mnt/myusb               auto    user,sync,noauto,umask=0000 0 0
11. To be sure, type 'tail -f /var/log/messages', plugin the drive and see the output of the command.
12. As normal user, type 'usermount' in command line (or in gnome the run box). You'll see the line you added earlier. Mount it.
13. Now as normal user, open the file browser and browse to /mnt/myusb.
14. If you want to unmount, using usermount, just unmount it.

Last edited by chii-chan; 12-14-2004 at 12:37 AM.
 
Old 12-14-2004, 08:33 PM   #7
La Dima
LQ Newbie
 
Registered: Sep 2003
Location: Denpasar, Bali
Distribution: Red Hat 9
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Did you try what I posted?
Thank's DDU_ its working.

And thank you guys for the replies, linux is complicated, isn't it.
 
Old 12-17-2004, 09:03 PM   #8
kiljoy001
LQ Newbie
 
Registered: Sep 2003
Posts: 12

Rep: Reputation: 0
I have a similar problem but with a Sony DVD/cd-rw/mp3 player drive.
Anyone got a clue how to mount this thing ?
 
  


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
USB Mass Storage Daniboy Linux - Software 10 09-12-2005 08:30 AM
USB mass storage Roy-Svork Linux - Hardware 9 09-24-2003 04:34 PM
USB Mass Storage Zebee Linux - Hardware 2 08-03-2003 08:17 PM
usb mass storage mohapi Linux - Hardware 3 06-03-2003 12:44 AM
USB Mass Storage mrsolo Linux - Hardware 11 10-25-2002 06:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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