Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

how do i access a usb key in linux redhat?

  • 10-03-2005 4:23pm
    #1
    Registered Users, Registered Users 2 Posts: 2,621 ✭✭✭


    noob to linux and i need a hand.
    its probably blatently obvious but how do you access a usb key in linux Redhat?

    i need to use a program thats only available to me for use with linux and its on my usb key,
    it would probably be just as easy to burn a cd but i'd like to kno.

    thanks...


Comments

  • Closed Accounts Posts: 294 ✭✭eggshapedfred


    change to the root user (su -)
    then make a directory in /mnt (something like /mnt/usbdrive )

    then:
    mount /dev/sda1 /mnt/usbdrive

    you can set up fstab so that you only have to type
    mount /mnt/usbdrive
    to mount it. the fstab entry should be something like:
    /dev/sda1 /mnt/usbdrive vfat noauto,users 0 0

    if you only want to copy stuff from it this one time the first set of commands will do ya. if you want to set up fstab I'd check google as I'm not 100% on the fstab line...

    HTH


  • Registered Users, Registered Users 2 Posts: 2,621 ✭✭✭Panda


    thanks for the speedy reply, off to try it now.


  • Registered Users, Registered Users 2 Posts: 4,003 ✭✭✭rsynnott


    Panda wrote:
    noob to linux and i need a hand.
    its probably blatently obvious but how do you access a usb key in linux Redhat?

    i need to use a program thats only available to me for use with linux and its on my usb key,
    it would probably be just as easy to burn a cd but i'd like to kno.

    thanks...

    In some versions, there may be an automount thing. Try doing "ls /mnt/removable", "ls /mnt/removable2","ls /mnt/usb1", "ls /mnt/usb1". It may just work :)

    Also, if you do have to do it manually, it may not be at /dev/sda if you have any other devices that Linux likes to believe are SCSI. Examples include PATA-RAID and all varieties of SATA. If sda doesn't work, try sdb, and so on.
    Rob.


  • Closed Accounts Posts: 4,763 ✭✭✭Fenster


    Add the following line to /etc/fstab:
    /dev/sda1		/mnt/flash		vfat	noauto,defaults,user	0 0
    

    Then you just type "mount /dev/sda1" and it will mount to /mnt/flash.


Advertisement