Find the answer to your Linux question:
Results 1 to 5 of 5
Hello! I am new to linux and want to use my flash drive. How do I get this working? I logged in as the root user and tried the following: ...
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    3

    How do I use USB with Gentoo?

    Hello!
    I am new to linux and want to use my flash drive. How do I get this working?

    I logged in as the root user and tried the following:

    mkdir usbflash
    mount /dev/sdb1 /mnt/usbflash
    ls usbflash

    and

    mkdir /mnt/usb
    mount -t vfat /dev/sdb1 /mnt/usb

    still can't get it working. What do I do?

  2. #2
    Linux Engineer psic's Avatar
    Join Date
    Nov 2004
    Location
    Ljubljana, Slovenia
    Posts
    1,205
    This is what I have in my /etc/fstab file:

    /dev/sda1 /mnt/sda1 vfat noauto,users,exec,umask=000 0 0

    Note that those are zero's, not the capital letter 'O'.
    Stumbling around the 'net:
    www.cloudyuseful.com

  3. #3
    Just Joined!
    Join Date
    May 2010
    Posts
    3
    Thanks for the reply. Sorry, I am very new at this. I don't know what that means for what I am trying to do.

  4. #4
    Linux Engineer psic's Avatar
    Join Date
    Nov 2004
    Location
    Ljubljana, Slovenia
    Posts
    1,205
    Just try adding those lines to the /etc/fstab file.

    First you have to be root (use the command 'su'), then run 'nano /etc/fstab'. This will open up the file in the program called nano (this is a simple text editor). Edit the file by adding that line, then hit 'ctrl-x'. It will ask if you want to save the changes - hit Y for yes.

    That's it.
    Stumbling around the 'net:
    www.cloudyuseful.com

  5. #5
    Just Joined!
    Join Date
    May 2010
    Posts
    3
    I did that. It wouldn't accept it without a # before the text.
    So, now where do I find my usb folder (assuming I did it right)?
    Thanks so much for the responses!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...