Jump to content


Photo

USB devices in linux


  • Please log in to reply
5 replies to this topic

#1 iamroot

iamroot

    addict

  • Members
  • 501 posts

Posted 03 May 2004 - 01:44 PM

How can i use my usb thumb drives and mp3 players with linux? I'm using red hat btw.

#2 Dapper Dan

Dapper Dan

    Pooh-Bah

  • Moderators
  • 1703 posts

Posted 03 May 2004 - 02:43 PM

This is the best "how to" I've found.

#3 iamroot

iamroot

    addict

  • Members
  • 501 posts

Posted 05 May 2004 - 12:38 PM

I tried out what the how-to said but wehni tried to mount my usb-drive, and error msg appears telling me that there r too many mounted filesystems or somthing liddat.

#4 Dapper Dan

Dapper Dan

    Pooh-Bah

  • Moderators
  • 1703 posts

Posted 05 May 2004 - 02:12 PM

Did everything go accordingly up to that point?

Did you go:

mount /dev/sda1 /mnt/usbstick

before trying to mount it with..

mount /mnt/usbstick

?



I added this to my .bash_profile which is in the home directory..


#!/bin/bash

/sbin/modprobe usb-storage
mount /mnt/usbstick

That way it mounts every time I reboot. If it's not there, it doesn't matter.



#5 iamroot

iamroot

    addict

  • Members
  • 501 posts

Posted 06 May 2004 - 08:48 AM

When i enter mount/dev/sda1/mnt/usbstick i get "no such directory"

#6 danleff

danleff

    Carpal Tunnel

  • Moderators
  • 2903 posts

Posted 06 May 2004 - 12:04 PM

Did you do;

cd /mnt
mkdir /usbstick

...first?

Then issue the command mount /dev/sda1 /mnt/usbstick.

Remember, there is a space between mount and /dev/sda1, as well as sda1 and /mnt/usbstick.

This also has to be done as root user.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

IPB Skin By Virteq