Find the answer to your Linux question:
Results 1 to 7 of 7
How can I access my flash drive or Camera via USB in Debian? My SuSE install always detects and mounts them. But Debian doesn't seem to be as competent. How ...
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Location
    The 909
    Posts
    36

    Flash Drives in Debian?

    How can I access my flash drive or Camera via USB in Debian? My SuSE install always detects and mounts them. But Debian doesn't seem to be as competent. How do I go about this?

  2. #2
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,408
    you need to edit your /etc/fstab and include a line like
    Code:
    /dev/sda1      /mnt/usb             vfat       noauto,users,rw   1       0
    then
    Code:
    mkdir /mnt/usb
    now you can just mount it manually
    Brilliant Mediocrity - Making Failure Look Good

  3. #3
    Just Joined!
    Join Date
    Nov 2005
    Location
    The 909
    Posts
    36
    it says premision denied and I was under su.

    Any ideas?

  4. #4
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,408
    at what point does that come up?
    Brilliant Mediocrity - Making Failure Look Good

  5. #5
    Just Joined!
    Join Date
    Nov 2005
    Location
    The 909
    Posts
    36
    Quote Originally Posted by Vergil83
    at what point does that come up?
    Code:
    su
    Code:
    /dev/sda1
    then I get the premissions error.

    and yes I understand that su is followed by the password. I also tried it by logging in as root

    Code:
    bash: /dev/sda1: Permission denied
    thats exaclty what I get on my screen when logged in as root or james su makes no differnce

  6. #6
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,408
    oh, I see. No, that is not what I meant. You need to edit a file, that is called
    Code:
    /etc/fstab
    and add that line I posted. So you could run
    Code:
    su "-c gedit"
    (or replace gedit with your editor of choice, like kate) and then navigate to /etc/fstab
    or use vim
    Code:
    su
    vim /etc/fstab
    Brilliant Mediocrity - Making Failure Look Good

  7. #7
    Just Joined!
    Join Date
    Jan 2005
    Location
    Topeka, KS, USA
    Posts
    88
    Or you can just run the mount command with all of the options Virgil gave.

Posting Permissions

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