Detect and mount devicesIs there a program to mount all of my drives automatically?Ubuntu doesn't “see”...

"Murder!" The knight said

Can chords be played on the flute?

I am on the US no-fly list. What can I do in order to be allowed on flights which go through US airspace?

Can you use a beast's innate abilities while polymorphed?

Is there a low-level alternative to Animate Objects?

If nine coins are tossed, what is the probability that the number of heads is even?

How would we write a misogynistic character without offending people?

When was drinking water recognized as crucial in marathon running?

Is there any relevance to Thor getting his hair cut other than comedic value?

How to count occurrences of Friday 13th

If a druid in Wild Shape swallows a creature whole, then turns back to her normal form, what happens?

As a new poet, where can I find help from a professional to judge my work?

Replacement ford fiesta radiator has extra hose

How to deny access to SQL Server to certain login over SSMS, but allow over .Net SqlClient Data Provider

Where is the fallacy here?

How to acknowledge an embarrassing job interview, now that I work directly with the interviewer?

How to mitigate "bandwagon attacking" from players?

Contradiction with Banach Fixed Point Theorem

Hacker Rank: Array left rotation

Why do members of Congress in committee hearings ask witnesses the same question multiple times?

Where was Karl Mordo in Infinity War?

chrony vs. systemd-timesyncd – What are the differences and use cases as NTP clients?

A "strange" unit radio astronomy

How do ISS astronauts "get their stripes"?



Detect and mount devices


Is there a program to mount all of my drives automatically?Ubuntu doesn't “see” external USB Hard DiskUnable to auto mount usb and “mount: special device /dev/sdb1 does not exist error”How can I mount a Samsung Camera on Ubuntu?Can you access an usb flash drive from terminal?Can I pull data/open the contents from another HDD using Ubuntu?cannot mount any type of external driveHow do I post a report from terminal and who will help me with what it says?How do I copy files from one system to another on the same computerdifficulty transferring file to android phoneHow can a usb be detected but not show up anywhere?Sometimes 12.04 will mount phone as USB storage when I plug it in, and sometimes it won'tUSB memory stick not working any moreCompaq Presario B1900 can't detect USB devicesSandisk USB not detected by Ubuntu 14.04 but detected by Windows 7USB ports not workingusb drives not recognized in Xubuntu 16.04LTSXubuntu 14.04.05 LTS, usb wifi doesn't connect after waking upUbuntu 17.10 does not detect USB 3.0 devices on USB 3.0 portUSB sticks and video devices not recognized













128















I upgraded Ubuntu today and everything works smooth except that Ubuntu doesn't detect any other storage devices. My / and /home partitions work fine, but my other partitions are just not detected. I wouldn't mind, except the same problem goes with USB sticks.



When I plug in a USB stick, the light goes on, but the computer detects nothing. Just to be clear, my mouse and keyboard are connected via USB and work fine.



Any idea how to solve this issue? None of the suggestions I found on the internet have any effect.










share|improve this question




















  • 1





    What's the output of lsblk?

    – Yet Another User
    Apr 29 '13 at 4:03











  • Just to make sure I got this, this is stand-alone Ubuntu not in virtual machine, right? Run sudo fdisk -l in terminal and post the output.

    – Jack Mayerz
    Apr 30 '13 at 6:38













  • Have you tried my answer Here

    – Mitch
    May 2 '13 at 16:56











  • What is the output of df -h ? Is the USB device listed there?

    – Jay
    May 5 '13 at 8:13











  • In case of latest portable HDDs they could be mounted again once they left not connected for few hours(>6h). Observed this in Transcend and Seagate 2TB Expansion

    – Thilanka Deshan-minion91
    Dec 2 '17 at 4:50
















128















I upgraded Ubuntu today and everything works smooth except that Ubuntu doesn't detect any other storage devices. My / and /home partitions work fine, but my other partitions are just not detected. I wouldn't mind, except the same problem goes with USB sticks.



When I plug in a USB stick, the light goes on, but the computer detects nothing. Just to be clear, my mouse and keyboard are connected via USB and work fine.



Any idea how to solve this issue? None of the suggestions I found on the internet have any effect.










share|improve this question




















  • 1





    What's the output of lsblk?

    – Yet Another User
    Apr 29 '13 at 4:03











  • Just to make sure I got this, this is stand-alone Ubuntu not in virtual machine, right? Run sudo fdisk -l in terminal and post the output.

    – Jack Mayerz
    Apr 30 '13 at 6:38













  • Have you tried my answer Here

    – Mitch
    May 2 '13 at 16:56











  • What is the output of df -h ? Is the USB device listed there?

    – Jay
    May 5 '13 at 8:13











  • In case of latest portable HDDs they could be mounted again once they left not connected for few hours(>6h). Observed this in Transcend and Seagate 2TB Expansion

    – Thilanka Deshan-minion91
    Dec 2 '17 at 4:50














128












128








128


67






I upgraded Ubuntu today and everything works smooth except that Ubuntu doesn't detect any other storage devices. My / and /home partitions work fine, but my other partitions are just not detected. I wouldn't mind, except the same problem goes with USB sticks.



When I plug in a USB stick, the light goes on, but the computer detects nothing. Just to be clear, my mouse and keyboard are connected via USB and work fine.



Any idea how to solve this issue? None of the suggestions I found on the internet have any effect.










share|improve this question
















I upgraded Ubuntu today and everything works smooth except that Ubuntu doesn't detect any other storage devices. My / and /home partitions work fine, but my other partitions are just not detected. I wouldn't mind, except the same problem goes with USB sticks.



When I plug in a USB stick, the light goes on, but the computer detects nothing. Just to be clear, my mouse and keyboard are connected via USB and work fine.



Any idea how to solve this issue? None of the suggestions I found on the internet have any effect.







usb mount hard-drive usb-drive partitions






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 25 '16 at 6:48









Fermi paradox

1135




1135










asked Apr 25 '13 at 19:30









CalixteCalixte

1,12771930




1,12771930








  • 1





    What's the output of lsblk?

    – Yet Another User
    Apr 29 '13 at 4:03











  • Just to make sure I got this, this is stand-alone Ubuntu not in virtual machine, right? Run sudo fdisk -l in terminal and post the output.

    – Jack Mayerz
    Apr 30 '13 at 6:38













  • Have you tried my answer Here

    – Mitch
    May 2 '13 at 16:56











  • What is the output of df -h ? Is the USB device listed there?

    – Jay
    May 5 '13 at 8:13











  • In case of latest portable HDDs they could be mounted again once they left not connected for few hours(>6h). Observed this in Transcend and Seagate 2TB Expansion

    – Thilanka Deshan-minion91
    Dec 2 '17 at 4:50














  • 1





    What's the output of lsblk?

    – Yet Another User
    Apr 29 '13 at 4:03











  • Just to make sure I got this, this is stand-alone Ubuntu not in virtual machine, right? Run sudo fdisk -l in terminal and post the output.

    – Jack Mayerz
    Apr 30 '13 at 6:38













  • Have you tried my answer Here

    – Mitch
    May 2 '13 at 16:56











  • What is the output of df -h ? Is the USB device listed there?

    – Jay
    May 5 '13 at 8:13











  • In case of latest portable HDDs they could be mounted again once they left not connected for few hours(>6h). Observed this in Transcend and Seagate 2TB Expansion

    – Thilanka Deshan-minion91
    Dec 2 '17 at 4:50








1




1





What's the output of lsblk?

– Yet Another User
Apr 29 '13 at 4:03





What's the output of lsblk?

– Yet Another User
Apr 29 '13 at 4:03













Just to make sure I got this, this is stand-alone Ubuntu not in virtual machine, right? Run sudo fdisk -l in terminal and post the output.

– Jack Mayerz
Apr 30 '13 at 6:38







Just to make sure I got this, this is stand-alone Ubuntu not in virtual machine, right? Run sudo fdisk -l in terminal and post the output.

– Jack Mayerz
Apr 30 '13 at 6:38















Have you tried my answer Here

– Mitch
May 2 '13 at 16:56





Have you tried my answer Here

– Mitch
May 2 '13 at 16:56













What is the output of df -h ? Is the USB device listed there?

– Jay
May 5 '13 at 8:13





What is the output of df -h ? Is the USB device listed there?

– Jay
May 5 '13 at 8:13













In case of latest portable HDDs they could be mounted again once they left not connected for few hours(>6h). Observed this in Transcend and Seagate 2TB Expansion

– Thilanka Deshan-minion91
Dec 2 '17 at 4:50





In case of latest portable HDDs they could be mounted again once they left not connected for few hours(>6h). Observed this in Transcend and Seagate 2TB Expansion

– Thilanka Deshan-minion91
Dec 2 '17 at 4:50










6 Answers
6






active

oldest

votes


















160














Solution 1: Try the Disks program (if you run Ubuntu with a GUI).



(check that the gnome-disk-utility package is installed)
(make sure that udisk2 package is installed)



Hit SUPERA to open the Application Lens and type Disks in the Search Applications field.



(SUPER is probably the key with the Windows icon.)



In Disks you can play with the automount options.



For example:



Disks Program



You have to click on the little icon with the two gears and choose 'Edit Mount Options'.



Mount Options



Solution 2: Using the CLI (for a headless installation)



Step 1. Check the blockdevices and the file systems that are assigned to those block devices.



lsblk


lsblk



Here you see the blokdevice sdb with partition /sdb1. But it's not mounted. There's no file assigned to it.



Step 2. What kind of device is sdb?



sudo lshw 


or



sudo lshw | less


lshw



So the USB stick - the block device /sdb - has the logical name /dev/sdb. And the FAT32 filesystem on that stick has the logical name /dev/sdb1.



Step 3. Mounting the USB-stick



We will mount /dev/sdb1 to /media/usbstick



sudo mkdir /media/usbstick

sudo mount -t vfat /dev/sdb1 /media/usbstick


Read the manpage of mount for other options.



Step 4. Did it work?



lsblk


lsblk 2



Yes, we can see that the filesystem on the USB stick is mounted to /media/usbstick



Addendum : if there are no logical names like /dev/sdb, you should first create them. See this information about setting up and controling loop devices with the losetup command






share|improve this answer





















  • 1





    I like this post a whole lot actually, lsblk looks like a great program. Too bad it doesnt come with ubuntu

    – j0h
    May 7 '13 at 13:05






  • 1





    lsblk is in the util-linux package (at least in 12.04.2 LTS)

    – user85164
    May 7 '13 at 22:40











  • Looks like the link at the end mis-directs to an image.

    – Addem
    Dec 7 '17 at 0:47











  • I can only access the drive with root, how can I add users?

    – Punnerud
    Aug 3 '18 at 19:43











  • Found the answer: "chown -R yourUsernameHere:yourUsernameHere /media/usbstick/"

    – Punnerud
    Aug 3 '18 at 19:51



















62





+75









sudo lsusb will tell you what USB devices Linux detects. Whether a USB storage device mounts, or is detected, are separate issues. sudo lsusb -v will give verbose output, possibly more information than you want if the OS truly doesn't recognize the device.



Alternatively, you could compare the lists of devices in /dev before and after plugging in the USB device. There are many ways to do it; I would probably just use:



ls -l /dev/* | wc -l


This will give you a number of recognized devices. Doing it before and after plugging in a device will tell you if the OS assigned the device in /dev/.



Another option would be to look at what is happening in dmesg when you plug in the USB device. dmesg may tell you things like how a device failed.



If the USB device you are having trouble mounting, is on the lsusb list, then you can try mounting the device. At this point it would be good to know the filesystem type. sudo fdisk -l will tell you the filesystem type, in the form of an ID. You may have to look up the ID number. There are lots of references online for that. Once you know the device listing, that is, /dev/hda1 and the filesystem type you can try to mount the device manualy with the mount command.



sudo mount /dev/hda1 /home/user/Desktop/whereEver


You may have to make sure the location you want to mount the device on exists. If the OS recognizes the file system, then mount might just work if the file system is not a native file system type; you may have to specify flags for mounting.



Post back your output from dmesg (not all of it, only from around when the USB device is plugged in), and sudo lsusb.



You may find Linux / UNIX: Device files helpful if trying to determine device type.



I am writing this assuming all your unrecognized devices are block type devices.
There are many ways to approach this type of problem and many possible solutions. More specific information is needed to provide a solution.



There are also many GUI applications that can do the same thing. You might try looking for the plugged-in hardware in the "Disk Utility".






share|improve this answer





















  • 3





    why use dmesg instead of fdisk? because using fdisk assumes your hardware is working. If your hardware fails, fdisk wont tell you. but dmesg will.

    – j0h
    May 4 '13 at 1:10



















13














Manually Mount a USB Drive



A USB storage device plugged into the system usually mounts automatically, but if for some reasons it doesn't automount, it's possible to manually mount it with these steps.




  1. Press Ctrl+Alt+T to run Terminal.

  2. Enter sudo mkdir /media/usb to create a mount point called usb.

  3. Enter sudo fdisk -l to look for the USB drive already plugged in, let's say the drive you want to mount is /dev/sdb1.


  4. To mount a USB drive formatted with FAT16 or FAT32 system, enter:



    sudo mount -t vfat /dev/sdb1 /media/usb -o uid=1000,gid=100,utf8,dmask=027,fmask=137


    OR, To mount a USB drive formatted with NTFS system, enter:



    sudo mount -t ntfs-3g /dev/sdb1 /media/usb



To unmount it, just enter sudo umount /media/usb in the Terminal.



source






share|improve this answer































    8














    You can use one of the following commands to get information details about mounted devices:
    all different commands are used to getting different information in different manners, results ...




    • dmesg

    • sudo fdisk OR sudo fdisk -l

    • sudo blkid

    • lsblk

    • mount

    • lsusb

    • usb-devices

    • df -h






    share|improve this answer

































      2














      You only mention one storage device type - usb stick. Whenever usb devices don't mount correctly check that you don't have package called usbmount installed. If it is, remove it and life should be back to normal after that (you might need to restart).






      share|improve this answer
























      • Nice program. When I run it together with udisks2 and plug-in my USB stick it complains that it's already mounted :-)

        – user85164
        May 5 '13 at 9:04













      • I once had it in my system and usb sticks were (if at all) mounted as root and so I could not write to them. Took quite a while to figure this one out.

        – Tanel Mae
        May 5 '13 at 9:18



















      0














      I too had similar situation where my pen drive became invisible.



      I solved it by using the Ubuntu utility program named Disks. Inside the disk tool, the pen drive was visible. I clicked on the gear icon inside disk(make sure that you have selected the correct device) and the used the format partition option with FAT (compatible with all systems and devices)






      share|improve this answer
























        protected by heemayl Sep 3 '15 at 18:20



        Thank you for your interest in this question.
        Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



        Would you like to answer one of these unanswered questions instead?














        6 Answers
        6






        active

        oldest

        votes








        6 Answers
        6






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        160














        Solution 1: Try the Disks program (if you run Ubuntu with a GUI).



        (check that the gnome-disk-utility package is installed)
        (make sure that udisk2 package is installed)



        Hit SUPERA to open the Application Lens and type Disks in the Search Applications field.



        (SUPER is probably the key with the Windows icon.)



        In Disks you can play with the automount options.



        For example:



        Disks Program



        You have to click on the little icon with the two gears and choose 'Edit Mount Options'.



        Mount Options



        Solution 2: Using the CLI (for a headless installation)



        Step 1. Check the blockdevices and the file systems that are assigned to those block devices.



        lsblk


        lsblk



        Here you see the blokdevice sdb with partition /sdb1. But it's not mounted. There's no file assigned to it.



        Step 2. What kind of device is sdb?



        sudo lshw 


        or



        sudo lshw | less


        lshw



        So the USB stick - the block device /sdb - has the logical name /dev/sdb. And the FAT32 filesystem on that stick has the logical name /dev/sdb1.



        Step 3. Mounting the USB-stick



        We will mount /dev/sdb1 to /media/usbstick



        sudo mkdir /media/usbstick

        sudo mount -t vfat /dev/sdb1 /media/usbstick


        Read the manpage of mount for other options.



        Step 4. Did it work?



        lsblk


        lsblk 2



        Yes, we can see that the filesystem on the USB stick is mounted to /media/usbstick



        Addendum : if there are no logical names like /dev/sdb, you should first create them. See this information about setting up and controling loop devices with the losetup command






        share|improve this answer





















        • 1





          I like this post a whole lot actually, lsblk looks like a great program. Too bad it doesnt come with ubuntu

          – j0h
          May 7 '13 at 13:05






        • 1





          lsblk is in the util-linux package (at least in 12.04.2 LTS)

          – user85164
          May 7 '13 at 22:40











        • Looks like the link at the end mis-directs to an image.

          – Addem
          Dec 7 '17 at 0:47











        • I can only access the drive with root, how can I add users?

          – Punnerud
          Aug 3 '18 at 19:43











        • Found the answer: "chown -R yourUsernameHere:yourUsernameHere /media/usbstick/"

          – Punnerud
          Aug 3 '18 at 19:51
















        160














        Solution 1: Try the Disks program (if you run Ubuntu with a GUI).



        (check that the gnome-disk-utility package is installed)
        (make sure that udisk2 package is installed)



        Hit SUPERA to open the Application Lens and type Disks in the Search Applications field.



        (SUPER is probably the key with the Windows icon.)



        In Disks you can play with the automount options.



        For example:



        Disks Program



        You have to click on the little icon with the two gears and choose 'Edit Mount Options'.



        Mount Options



        Solution 2: Using the CLI (for a headless installation)



        Step 1. Check the blockdevices and the file systems that are assigned to those block devices.



        lsblk


        lsblk



        Here you see the blokdevice sdb with partition /sdb1. But it's not mounted. There's no file assigned to it.



        Step 2. What kind of device is sdb?



        sudo lshw 


        or



        sudo lshw | less


        lshw



        So the USB stick - the block device /sdb - has the logical name /dev/sdb. And the FAT32 filesystem on that stick has the logical name /dev/sdb1.



        Step 3. Mounting the USB-stick



        We will mount /dev/sdb1 to /media/usbstick



        sudo mkdir /media/usbstick

        sudo mount -t vfat /dev/sdb1 /media/usbstick


        Read the manpage of mount for other options.



        Step 4. Did it work?



        lsblk


        lsblk 2



        Yes, we can see that the filesystem on the USB stick is mounted to /media/usbstick



        Addendum : if there are no logical names like /dev/sdb, you should first create them. See this information about setting up and controling loop devices with the losetup command






        share|improve this answer





















        • 1





          I like this post a whole lot actually, lsblk looks like a great program. Too bad it doesnt come with ubuntu

          – j0h
          May 7 '13 at 13:05






        • 1





          lsblk is in the util-linux package (at least in 12.04.2 LTS)

          – user85164
          May 7 '13 at 22:40











        • Looks like the link at the end mis-directs to an image.

          – Addem
          Dec 7 '17 at 0:47











        • I can only access the drive with root, how can I add users?

          – Punnerud
          Aug 3 '18 at 19:43











        • Found the answer: "chown -R yourUsernameHere:yourUsernameHere /media/usbstick/"

          – Punnerud
          Aug 3 '18 at 19:51














        160












        160








        160







        Solution 1: Try the Disks program (if you run Ubuntu with a GUI).



        (check that the gnome-disk-utility package is installed)
        (make sure that udisk2 package is installed)



        Hit SUPERA to open the Application Lens and type Disks in the Search Applications field.



        (SUPER is probably the key with the Windows icon.)



        In Disks you can play with the automount options.



        For example:



        Disks Program



        You have to click on the little icon with the two gears and choose 'Edit Mount Options'.



        Mount Options



        Solution 2: Using the CLI (for a headless installation)



        Step 1. Check the blockdevices and the file systems that are assigned to those block devices.



        lsblk


        lsblk



        Here you see the blokdevice sdb with partition /sdb1. But it's not mounted. There's no file assigned to it.



        Step 2. What kind of device is sdb?



        sudo lshw 


        or



        sudo lshw | less


        lshw



        So the USB stick - the block device /sdb - has the logical name /dev/sdb. And the FAT32 filesystem on that stick has the logical name /dev/sdb1.



        Step 3. Mounting the USB-stick



        We will mount /dev/sdb1 to /media/usbstick



        sudo mkdir /media/usbstick

        sudo mount -t vfat /dev/sdb1 /media/usbstick


        Read the manpage of mount for other options.



        Step 4. Did it work?



        lsblk


        lsblk 2



        Yes, we can see that the filesystem on the USB stick is mounted to /media/usbstick



        Addendum : if there are no logical names like /dev/sdb, you should first create them. See this information about setting up and controling loop devices with the losetup command






        share|improve this answer















        Solution 1: Try the Disks program (if you run Ubuntu with a GUI).



        (check that the gnome-disk-utility package is installed)
        (make sure that udisk2 package is installed)



        Hit SUPERA to open the Application Lens and type Disks in the Search Applications field.



        (SUPER is probably the key with the Windows icon.)



        In Disks you can play with the automount options.



        For example:



        Disks Program



        You have to click on the little icon with the two gears and choose 'Edit Mount Options'.



        Mount Options



        Solution 2: Using the CLI (for a headless installation)



        Step 1. Check the blockdevices and the file systems that are assigned to those block devices.



        lsblk


        lsblk



        Here you see the blokdevice sdb with partition /sdb1. But it's not mounted. There's no file assigned to it.



        Step 2. What kind of device is sdb?



        sudo lshw 


        or



        sudo lshw | less


        lshw



        So the USB stick - the block device /sdb - has the logical name /dev/sdb. And the FAT32 filesystem on that stick has the logical name /dev/sdb1.



        Step 3. Mounting the USB-stick



        We will mount /dev/sdb1 to /media/usbstick



        sudo mkdir /media/usbstick

        sudo mount -t vfat /dev/sdb1 /media/usbstick


        Read the manpage of mount for other options.



        Step 4. Did it work?



        lsblk


        lsblk 2



        Yes, we can see that the filesystem on the USB stick is mounted to /media/usbstick



        Addendum : if there are no logical names like /dev/sdb, you should first create them. See this information about setting up and controling loop devices with the losetup command







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited May 5 '13 at 9:03

























        answered May 5 '13 at 6:36







        user85164















        • 1





          I like this post a whole lot actually, lsblk looks like a great program. Too bad it doesnt come with ubuntu

          – j0h
          May 7 '13 at 13:05






        • 1





          lsblk is in the util-linux package (at least in 12.04.2 LTS)

          – user85164
          May 7 '13 at 22:40











        • Looks like the link at the end mis-directs to an image.

          – Addem
          Dec 7 '17 at 0:47











        • I can only access the drive with root, how can I add users?

          – Punnerud
          Aug 3 '18 at 19:43











        • Found the answer: "chown -R yourUsernameHere:yourUsernameHere /media/usbstick/"

          – Punnerud
          Aug 3 '18 at 19:51














        • 1





          I like this post a whole lot actually, lsblk looks like a great program. Too bad it doesnt come with ubuntu

          – j0h
          May 7 '13 at 13:05






        • 1





          lsblk is in the util-linux package (at least in 12.04.2 LTS)

          – user85164
          May 7 '13 at 22:40











        • Looks like the link at the end mis-directs to an image.

          – Addem
          Dec 7 '17 at 0:47











        • I can only access the drive with root, how can I add users?

          – Punnerud
          Aug 3 '18 at 19:43











        • Found the answer: "chown -R yourUsernameHere:yourUsernameHere /media/usbstick/"

          – Punnerud
          Aug 3 '18 at 19:51








        1




        1





        I like this post a whole lot actually, lsblk looks like a great program. Too bad it doesnt come with ubuntu

        – j0h
        May 7 '13 at 13:05





        I like this post a whole lot actually, lsblk looks like a great program. Too bad it doesnt come with ubuntu

        – j0h
        May 7 '13 at 13:05




        1




        1





        lsblk is in the util-linux package (at least in 12.04.2 LTS)

        – user85164
        May 7 '13 at 22:40





        lsblk is in the util-linux package (at least in 12.04.2 LTS)

        – user85164
        May 7 '13 at 22:40













        Looks like the link at the end mis-directs to an image.

        – Addem
        Dec 7 '17 at 0:47





        Looks like the link at the end mis-directs to an image.

        – Addem
        Dec 7 '17 at 0:47













        I can only access the drive with root, how can I add users?

        – Punnerud
        Aug 3 '18 at 19:43





        I can only access the drive with root, how can I add users?

        – Punnerud
        Aug 3 '18 at 19:43













        Found the answer: "chown -R yourUsernameHere:yourUsernameHere /media/usbstick/"

        – Punnerud
        Aug 3 '18 at 19:51





        Found the answer: "chown -R yourUsernameHere:yourUsernameHere /media/usbstick/"

        – Punnerud
        Aug 3 '18 at 19:51













        62





        +75









        sudo lsusb will tell you what USB devices Linux detects. Whether a USB storage device mounts, or is detected, are separate issues. sudo lsusb -v will give verbose output, possibly more information than you want if the OS truly doesn't recognize the device.



        Alternatively, you could compare the lists of devices in /dev before and after plugging in the USB device. There are many ways to do it; I would probably just use:



        ls -l /dev/* | wc -l


        This will give you a number of recognized devices. Doing it before and after plugging in a device will tell you if the OS assigned the device in /dev/.



        Another option would be to look at what is happening in dmesg when you plug in the USB device. dmesg may tell you things like how a device failed.



        If the USB device you are having trouble mounting, is on the lsusb list, then you can try mounting the device. At this point it would be good to know the filesystem type. sudo fdisk -l will tell you the filesystem type, in the form of an ID. You may have to look up the ID number. There are lots of references online for that. Once you know the device listing, that is, /dev/hda1 and the filesystem type you can try to mount the device manualy with the mount command.



        sudo mount /dev/hda1 /home/user/Desktop/whereEver


        You may have to make sure the location you want to mount the device on exists. If the OS recognizes the file system, then mount might just work if the file system is not a native file system type; you may have to specify flags for mounting.



        Post back your output from dmesg (not all of it, only from around when the USB device is plugged in), and sudo lsusb.



        You may find Linux / UNIX: Device files helpful if trying to determine device type.



        I am writing this assuming all your unrecognized devices are block type devices.
        There are many ways to approach this type of problem and many possible solutions. More specific information is needed to provide a solution.



        There are also many GUI applications that can do the same thing. You might try looking for the plugged-in hardware in the "Disk Utility".






        share|improve this answer





















        • 3





          why use dmesg instead of fdisk? because using fdisk assumes your hardware is working. If your hardware fails, fdisk wont tell you. but dmesg will.

          – j0h
          May 4 '13 at 1:10
















        62





        +75









        sudo lsusb will tell you what USB devices Linux detects. Whether a USB storage device mounts, or is detected, are separate issues. sudo lsusb -v will give verbose output, possibly more information than you want if the OS truly doesn't recognize the device.



        Alternatively, you could compare the lists of devices in /dev before and after plugging in the USB device. There are many ways to do it; I would probably just use:



        ls -l /dev/* | wc -l


        This will give you a number of recognized devices. Doing it before and after plugging in a device will tell you if the OS assigned the device in /dev/.



        Another option would be to look at what is happening in dmesg when you plug in the USB device. dmesg may tell you things like how a device failed.



        If the USB device you are having trouble mounting, is on the lsusb list, then you can try mounting the device. At this point it would be good to know the filesystem type. sudo fdisk -l will tell you the filesystem type, in the form of an ID. You may have to look up the ID number. There are lots of references online for that. Once you know the device listing, that is, /dev/hda1 and the filesystem type you can try to mount the device manualy with the mount command.



        sudo mount /dev/hda1 /home/user/Desktop/whereEver


        You may have to make sure the location you want to mount the device on exists. If the OS recognizes the file system, then mount might just work if the file system is not a native file system type; you may have to specify flags for mounting.



        Post back your output from dmesg (not all of it, only from around when the USB device is plugged in), and sudo lsusb.



        You may find Linux / UNIX: Device files helpful if trying to determine device type.



        I am writing this assuming all your unrecognized devices are block type devices.
        There are many ways to approach this type of problem and many possible solutions. More specific information is needed to provide a solution.



        There are also many GUI applications that can do the same thing. You might try looking for the plugged-in hardware in the "Disk Utility".






        share|improve this answer





















        • 3





          why use dmesg instead of fdisk? because using fdisk assumes your hardware is working. If your hardware fails, fdisk wont tell you. but dmesg will.

          – j0h
          May 4 '13 at 1:10














        62





        +75







        62





        +75



        62




        +75





        sudo lsusb will tell you what USB devices Linux detects. Whether a USB storage device mounts, or is detected, are separate issues. sudo lsusb -v will give verbose output, possibly more information than you want if the OS truly doesn't recognize the device.



        Alternatively, you could compare the lists of devices in /dev before and after plugging in the USB device. There are many ways to do it; I would probably just use:



        ls -l /dev/* | wc -l


        This will give you a number of recognized devices. Doing it before and after plugging in a device will tell you if the OS assigned the device in /dev/.



        Another option would be to look at what is happening in dmesg when you plug in the USB device. dmesg may tell you things like how a device failed.



        If the USB device you are having trouble mounting, is on the lsusb list, then you can try mounting the device. At this point it would be good to know the filesystem type. sudo fdisk -l will tell you the filesystem type, in the form of an ID. You may have to look up the ID number. There are lots of references online for that. Once you know the device listing, that is, /dev/hda1 and the filesystem type you can try to mount the device manualy with the mount command.



        sudo mount /dev/hda1 /home/user/Desktop/whereEver


        You may have to make sure the location you want to mount the device on exists. If the OS recognizes the file system, then mount might just work if the file system is not a native file system type; you may have to specify flags for mounting.



        Post back your output from dmesg (not all of it, only from around when the USB device is plugged in), and sudo lsusb.



        You may find Linux / UNIX: Device files helpful if trying to determine device type.



        I am writing this assuming all your unrecognized devices are block type devices.
        There are many ways to approach this type of problem and many possible solutions. More specific information is needed to provide a solution.



        There are also many GUI applications that can do the same thing. You might try looking for the plugged-in hardware in the "Disk Utility".






        share|improve this answer















        sudo lsusb will tell you what USB devices Linux detects. Whether a USB storage device mounts, or is detected, are separate issues. sudo lsusb -v will give verbose output, possibly more information than you want if the OS truly doesn't recognize the device.



        Alternatively, you could compare the lists of devices in /dev before and after plugging in the USB device. There are many ways to do it; I would probably just use:



        ls -l /dev/* | wc -l


        This will give you a number of recognized devices. Doing it before and after plugging in a device will tell you if the OS assigned the device in /dev/.



        Another option would be to look at what is happening in dmesg when you plug in the USB device. dmesg may tell you things like how a device failed.



        If the USB device you are having trouble mounting, is on the lsusb list, then you can try mounting the device. At this point it would be good to know the filesystem type. sudo fdisk -l will tell you the filesystem type, in the form of an ID. You may have to look up the ID number. There are lots of references online for that. Once you know the device listing, that is, /dev/hda1 and the filesystem type you can try to mount the device manualy with the mount command.



        sudo mount /dev/hda1 /home/user/Desktop/whereEver


        You may have to make sure the location you want to mount the device on exists. If the OS recognizes the file system, then mount might just work if the file system is not a native file system type; you may have to specify flags for mounting.



        Post back your output from dmesg (not all of it, only from around when the USB device is plugged in), and sudo lsusb.



        You may find Linux / UNIX: Device files helpful if trying to determine device type.



        I am writing this assuming all your unrecognized devices are block type devices.
        There are many ways to approach this type of problem and many possible solutions. More specific information is needed to provide a solution.



        There are also many GUI applications that can do the same thing. You might try looking for the plugged-in hardware in the "Disk Utility".







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 5 '15 at 20:45









        Peter Mortensen

        1,03721016




        1,03721016










        answered May 1 '13 at 15:56









        j0hj0h

        6,4191453119




        6,4191453119








        • 3





          why use dmesg instead of fdisk? because using fdisk assumes your hardware is working. If your hardware fails, fdisk wont tell you. but dmesg will.

          – j0h
          May 4 '13 at 1:10














        • 3





          why use dmesg instead of fdisk? because using fdisk assumes your hardware is working. If your hardware fails, fdisk wont tell you. but dmesg will.

          – j0h
          May 4 '13 at 1:10








        3




        3





        why use dmesg instead of fdisk? because using fdisk assumes your hardware is working. If your hardware fails, fdisk wont tell you. but dmesg will.

        – j0h
        May 4 '13 at 1:10





        why use dmesg instead of fdisk? because using fdisk assumes your hardware is working. If your hardware fails, fdisk wont tell you. but dmesg will.

        – j0h
        May 4 '13 at 1:10











        13














        Manually Mount a USB Drive



        A USB storage device plugged into the system usually mounts automatically, but if for some reasons it doesn't automount, it's possible to manually mount it with these steps.




        1. Press Ctrl+Alt+T to run Terminal.

        2. Enter sudo mkdir /media/usb to create a mount point called usb.

        3. Enter sudo fdisk -l to look for the USB drive already plugged in, let's say the drive you want to mount is /dev/sdb1.


        4. To mount a USB drive formatted with FAT16 or FAT32 system, enter:



          sudo mount -t vfat /dev/sdb1 /media/usb -o uid=1000,gid=100,utf8,dmask=027,fmask=137


          OR, To mount a USB drive formatted with NTFS system, enter:



          sudo mount -t ntfs-3g /dev/sdb1 /media/usb



        To unmount it, just enter sudo umount /media/usb in the Terminal.



        source






        share|improve this answer




























          13














          Manually Mount a USB Drive



          A USB storage device plugged into the system usually mounts automatically, but if for some reasons it doesn't automount, it's possible to manually mount it with these steps.




          1. Press Ctrl+Alt+T to run Terminal.

          2. Enter sudo mkdir /media/usb to create a mount point called usb.

          3. Enter sudo fdisk -l to look for the USB drive already plugged in, let's say the drive you want to mount is /dev/sdb1.


          4. To mount a USB drive formatted with FAT16 or FAT32 system, enter:



            sudo mount -t vfat /dev/sdb1 /media/usb -o uid=1000,gid=100,utf8,dmask=027,fmask=137


            OR, To mount a USB drive formatted with NTFS system, enter:



            sudo mount -t ntfs-3g /dev/sdb1 /media/usb



          To unmount it, just enter sudo umount /media/usb in the Terminal.



          source






          share|improve this answer


























            13












            13








            13







            Manually Mount a USB Drive



            A USB storage device plugged into the system usually mounts automatically, but if for some reasons it doesn't automount, it's possible to manually mount it with these steps.




            1. Press Ctrl+Alt+T to run Terminal.

            2. Enter sudo mkdir /media/usb to create a mount point called usb.

            3. Enter sudo fdisk -l to look for the USB drive already plugged in, let's say the drive you want to mount is /dev/sdb1.


            4. To mount a USB drive formatted with FAT16 or FAT32 system, enter:



              sudo mount -t vfat /dev/sdb1 /media/usb -o uid=1000,gid=100,utf8,dmask=027,fmask=137


              OR, To mount a USB drive formatted with NTFS system, enter:



              sudo mount -t ntfs-3g /dev/sdb1 /media/usb



            To unmount it, just enter sudo umount /media/usb in the Terminal.



            source






            share|improve this answer













            Manually Mount a USB Drive



            A USB storage device plugged into the system usually mounts automatically, but if for some reasons it doesn't automount, it's possible to manually mount it with these steps.




            1. Press Ctrl+Alt+T to run Terminal.

            2. Enter sudo mkdir /media/usb to create a mount point called usb.

            3. Enter sudo fdisk -l to look for the USB drive already plugged in, let's say the drive you want to mount is /dev/sdb1.


            4. To mount a USB drive formatted with FAT16 or FAT32 system, enter:



              sudo mount -t vfat /dev/sdb1 /media/usb -o uid=1000,gid=100,utf8,dmask=027,fmask=137


              OR, To mount a USB drive formatted with NTFS system, enter:



              sudo mount -t ntfs-3g /dev/sdb1 /media/usb



            To unmount it, just enter sudo umount /media/usb in the Terminal.



            source







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Sep 25 '14 at 12:12









            αғsнιηαғsнιη

            24.7k2396159




            24.7k2396159























                8














                You can use one of the following commands to get information details about mounted devices:
                all different commands are used to getting different information in different manners, results ...




                • dmesg

                • sudo fdisk OR sudo fdisk -l

                • sudo blkid

                • lsblk

                • mount

                • lsusb

                • usb-devices

                • df -h






                share|improve this answer






























                  8














                  You can use one of the following commands to get information details about mounted devices:
                  all different commands are used to getting different information in different manners, results ...




                  • dmesg

                  • sudo fdisk OR sudo fdisk -l

                  • sudo blkid

                  • lsblk

                  • mount

                  • lsusb

                  • usb-devices

                  • df -h






                  share|improve this answer




























                    8












                    8








                    8







                    You can use one of the following commands to get information details about mounted devices:
                    all different commands are used to getting different information in different manners, results ...




                    • dmesg

                    • sudo fdisk OR sudo fdisk -l

                    • sudo blkid

                    • lsblk

                    • mount

                    • lsusb

                    • usb-devices

                    • df -h






                    share|improve this answer















                    You can use one of the following commands to get information details about mounted devices:
                    all different commands are used to getting different information in different manners, results ...




                    • dmesg

                    • sudo fdisk OR sudo fdisk -l

                    • sudo blkid

                    • lsblk

                    • mount

                    • lsusb

                    • usb-devices

                    • df -h







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Apr 20 '15 at 13:28

























                    answered Apr 20 '15 at 9:40









                    premalpremal

                    77776




                    77776























                        2














                        You only mention one storage device type - usb stick. Whenever usb devices don't mount correctly check that you don't have package called usbmount installed. If it is, remove it and life should be back to normal after that (you might need to restart).






                        share|improve this answer
























                        • Nice program. When I run it together with udisks2 and plug-in my USB stick it complains that it's already mounted :-)

                          – user85164
                          May 5 '13 at 9:04













                        • I once had it in my system and usb sticks were (if at all) mounted as root and so I could not write to them. Took quite a while to figure this one out.

                          – Tanel Mae
                          May 5 '13 at 9:18
















                        2














                        You only mention one storage device type - usb stick. Whenever usb devices don't mount correctly check that you don't have package called usbmount installed. If it is, remove it and life should be back to normal after that (you might need to restart).






                        share|improve this answer
























                        • Nice program. When I run it together with udisks2 and plug-in my USB stick it complains that it's already mounted :-)

                          – user85164
                          May 5 '13 at 9:04













                        • I once had it in my system and usb sticks were (if at all) mounted as root and so I could not write to them. Took quite a while to figure this one out.

                          – Tanel Mae
                          May 5 '13 at 9:18














                        2












                        2








                        2







                        You only mention one storage device type - usb stick. Whenever usb devices don't mount correctly check that you don't have package called usbmount installed. If it is, remove it and life should be back to normal after that (you might need to restart).






                        share|improve this answer













                        You only mention one storage device type - usb stick. Whenever usb devices don't mount correctly check that you don't have package called usbmount installed. If it is, remove it and life should be back to normal after that (you might need to restart).







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered May 5 '13 at 8:26









                        Tanel MaeTanel Mae

                        1,182613




                        1,182613













                        • Nice program. When I run it together with udisks2 and plug-in my USB stick it complains that it's already mounted :-)

                          – user85164
                          May 5 '13 at 9:04













                        • I once had it in my system and usb sticks were (if at all) mounted as root and so I could not write to them. Took quite a while to figure this one out.

                          – Tanel Mae
                          May 5 '13 at 9:18



















                        • Nice program. When I run it together with udisks2 and plug-in my USB stick it complains that it's already mounted :-)

                          – user85164
                          May 5 '13 at 9:04













                        • I once had it in my system and usb sticks were (if at all) mounted as root and so I could not write to them. Took quite a while to figure this one out.

                          – Tanel Mae
                          May 5 '13 at 9:18

















                        Nice program. When I run it together with udisks2 and plug-in my USB stick it complains that it's already mounted :-)

                        – user85164
                        May 5 '13 at 9:04







                        Nice program. When I run it together with udisks2 and plug-in my USB stick it complains that it's already mounted :-)

                        – user85164
                        May 5 '13 at 9:04















                        I once had it in my system and usb sticks were (if at all) mounted as root and so I could not write to them. Took quite a while to figure this one out.

                        – Tanel Mae
                        May 5 '13 at 9:18





                        I once had it in my system and usb sticks were (if at all) mounted as root and so I could not write to them. Took quite a while to figure this one out.

                        – Tanel Mae
                        May 5 '13 at 9:18











                        0














                        I too had similar situation where my pen drive became invisible.



                        I solved it by using the Ubuntu utility program named Disks. Inside the disk tool, the pen drive was visible. I clicked on the gear icon inside disk(make sure that you have selected the correct device) and the used the format partition option with FAT (compatible with all systems and devices)






                        share|improve this answer






























                          0














                          I too had similar situation where my pen drive became invisible.



                          I solved it by using the Ubuntu utility program named Disks. Inside the disk tool, the pen drive was visible. I clicked on the gear icon inside disk(make sure that you have selected the correct device) and the used the format partition option with FAT (compatible with all systems and devices)






                          share|improve this answer




























                            0












                            0








                            0







                            I too had similar situation where my pen drive became invisible.



                            I solved it by using the Ubuntu utility program named Disks. Inside the disk tool, the pen drive was visible. I clicked on the gear icon inside disk(make sure that you have selected the correct device) and the used the format partition option with FAT (compatible with all systems and devices)






                            share|improve this answer















                            I too had similar situation where my pen drive became invisible.



                            I solved it by using the Ubuntu utility program named Disks. Inside the disk tool, the pen drive was visible. I clicked on the gear icon inside disk(make sure that you have selected the correct device) and the used the format partition option with FAT (compatible with all systems and devices)







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited 28 mins ago









                            Kevin Bowen

                            14.6k155970




                            14.6k155970










                            answered May 25 '18 at 9:46









                            Jose KjJose Kj

                            1365




                            1365

















                                protected by heemayl Sep 3 '15 at 18:20



                                Thank you for your interest in this question.
                                Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                                Would you like to answer one of these unanswered questions instead?



                                Popular posts from this blog

                                Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                                Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                                Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...