Results 1 to 5 of 5

Thread: well i want to view files on my USB storage media?

  1. #1
    Join Date
    Sep 2024
    Beans
    8

    well i want to view files on my USB storage media?

    Hello and good day dear ubuntu-experts



    well i want to view files on my USB storage media?

    but - see here: it did not work at all - some think went wrong ... see my output:

    Code:
    <pre><span style="color:#26A269"><b>ubuntu@T420s</b></span>:<span style="color:#12488B"><b>~</b></span>$ mount /mnt/usb
    mount: /mnt/usb: konnte nicht in /etc/fstab gefunden werden.
    <span style="color:#26A269"><b>ubuntu@T420s</b></span>:<span style="color:#12488B"><b>~</b></span>$ mount /mnt/usb
    mount: /mnt/usb: konnte nicht in /etc/fstab gefunden werden.
    <span style="color:#26A269"><b>ubuntu@T420s</b></span>:<span style="color:#12488B"><b>~</b></span>$

    okay - i rhoght that this here this is the way - at least "theoretically"... see:

    i thoutht that i should do the following:


    Mounting USB Storage Media


    a. at the very first step i think i have the terminal prompt, and i need to type:


    Code:
    mount /mnt/usb
    b. afterwards - i should do the follwing: i need to access the files by going into that directory:


    Code:
    cd /mnt/usb

    c. and third: now i need to list the files in that directory:


    Code:
    ls
    and after all i need to unmounting USB Storage Media


    a. and that said i think i have to do the following at the terminal prompt, i need to type:


    Code:
    cd
    so we are able to move out of the /mnt/usb directory. Note we allwasy cannot unmount a directory while we are in it.


    c. now we are able to umount the directory:


    Code:
    umount /mnt/usb

    well as you see above - it does not work here


    Code:
    <pre><span style="color:#26A269"><b>ubuntu@T420s</b></span>:<span style="color:#12488B"><b>~</b></span>$ mount /mnt/usb
    mount: /mnt/usb: konnte nicht in /etc/fstab gefunden werden.
    <span style="color:#26A269"><b>ubuntu@T420s</b></span>:<span style="color:#12488B"><b>~</b></span>$ mount /mnt/usb
    mount: /mnt/usb: konnte nicht in /etc/fstab gefunden werden.
    <span style="color:#26A269"><b>ubuntu@T420s</b></span>:<span style="color:#12488B"><b>~</b></span>$
    hmm - i now have to re-work the code... - Any ideas!?

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: well i want to view files on my USB storage media?

    https://help.ubuntu.com/community/Mount/USB

    You normally create a mount point.
    Then assign a device to that mount point.
    If necessary assign ownership & permissions, so you can access it.
    Mount parameters vary by format of data partition. If NTFS must not have used fast startup in Windows.

    use autofs for any storage that isn't connected directly to the system with SAS, SATA, eSATA, or Infiniband connections
    For USB connected stuff, use autofs, always. use /misc/<LABEL> typically
    If added to fstab be sure to also use nofail, of if USB not found, it can take a while to timeout or may prevent boot.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Jun 2014
    Beans
    7,717

    Re: well i want to view files on my USB storage media?

    Did you skip the first step which is to create the mount point /mntusb?
    If you did that, what filesystem type is on the drive partition? If it is not Linux, you may need to specify it explicitly in the mount command. If you don't know the filesystem type, you can get it from a terminal by running the command below to LIST them:

    Code:
    sudo parted -l

  4. #4
    Join Date
    Nov 2017
    Beans
    10

    Re: well i want to view files on my USB storage media?

    After plug in the USB then in terminal command df -h usually shows my added partition.

    BTW other internal hard drives (eg sdb) may not show all their partitions.
    Last edited by paulparker2; 3 Weeks Ago at 05:38 AM.

  5. #5
    Join Date
    Oct 2019
    Beans
    85

    Re: well i want to view files on my USB storage media?

    Quote Originally Posted by alsacien View Post
    Hello and good day dear ubuntu-experts



    well i want to view files on my USB storage media?

    but - see here: it did not work at all - some think went wrong ... see my output:

    Code:
    <pre><span style="color:#26A269"><b>ubuntu@T420s</b></span>:<span style="color:#12488B"><b>~</b></span>$ mount /mnt/usb
    mount: /mnt/usb: konnte nicht in /etc/fstab gefunden werden.
    <span style="color:#26A269"><b>ubuntu@T420s</b></span>:<span style="color:#12488B"><b>~</b></span>$ mount /mnt/usb
    mount: /mnt/usb: konnte nicht in /etc/fstab gefunden werden.
    <span style="color:#26A269"><b>ubuntu@T420s</b></span>:<span style="color:#12488B"><b>~</b></span>$

    okay - i rhoght that this here this is the way - at least "theoretically"... see:

    i thoutht that i should do the following:


    Mounting USB Storage Media


    a. at the very first step i think i have the terminal prompt, and i need to type:


    Code:
    mount /mnt/usb
    b. afterwards - i should do the follwing: i need to access the files by going into that directory:


    Code:
    cd /mnt/usb

    c. and third: now i need to list the files in that directory:


    Code:
    ls
    and after all i need to unmounting USB Storage Media


    a. and that said i think i have to do the following at the terminal prompt, i need to type:


    Code:
    cd
    so we are able to move out of the /mnt/usb directory. Note we allwasy cannot unmount a directory while we are in it.


    c. now we are able to umount the directory:


    Code:
    umount /mnt/usb

    well as you see above - it does not work here


    Code:
    <pre><span style="color:#26A269"><b>ubuntu@T420s</b></span>:<span style="color:#12488B"><b>~</b></span>$ mount /mnt/usb
    mount: /mnt/usb: konnte nicht in /etc/fstab gefunden werden.
    <span style="color:#26A269"><b>ubuntu@T420s</b></span>:<span style="color:#12488B"><b>~</b></span>$ mount /mnt/usb
    mount: /mnt/usb: konnte nicht in /etc/fstab gefunden werden.
    <span style="color:#26A269"><b>ubuntu@T420s</b></span>:<span style="color:#12488B"><b>~</b></span>$
    hmm - i now have to re-work the code... - Any ideas!?
    You created the mount point and then went into it before you mounted the device. And you posted in german on an english forum. You are just typing in mount so unless you've got an entry in fstab its not going to do anything and if you're in the directory you created you won't see any files until you leave that directory and go back in, if it even mounts.

    This guy asked about mounting things a long time ago. Sounds familar doesn't it? https://forums.opensuse.org/t/extern...he-drive/96183

Bookmarks

Posting Permissions

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