Groups | Search | Server Info | Login | Register


Groups > alt.os.linux.mint > #19928

Re: Cannot mount USB stick

From Paul <nospam@needed.com>
Newsgroups alt.os.linux.mint
Subject Re: Cannot mount USB stick
Date 2016-02-20 14:32 -0500
Organization A noiseless patient Spider
Message-ID <naaerm$62a$1@dont-email.me> (permalink)
References (4 earlier) <na6nt7$7m7$1@news.albasani.net> <na6tut$m48$1@dont-email.me> <na86pp$ss6$1@news.albasani.net> <na99q4$c2k$1@dont-email.me> <naabhp$14p$1@news.albasani.net>

Show all headers | View raw


Jeff Layman wrote:
> On 20/02/16 09:00, Paul wrote:
>> Jeff Layman wrote:
> 
> (snip)
> 
>>> I'm a bit clearer now on nomenclature.  I'd originally tried to run sudo
>>> disktype /dev/sdb1 because that's what Disks reported the device was. Be
>>> that as it may, here's the latest, running sudo disktype /dev/sdb on the
>>> Intenso USB3 stick under Ubuntu and Mint:
>>>
>>> Ubuntu
>>>
>>> jeff@jeff-P15xEMx:~$ sudo disktype /dev/sdb
>>>
>>> --- /dev/sdb
>>> Block device, size 58.59 GiB (62914560000 bytes)
>>> DOS/MBR partition map
>>> Partition 1: 58.59 GiB (62914494464 bytes, 122879872 sectors from 128,
>>> bootable)
>>>    Type 0x0C (Win95 FAT32 (LBA))
>>>    FAT32 file system (hints score 5 of 5)
>>>      Volume size 58.58 GiB (62899093504 bytes, 1919528 clusters of 32 
>>> KiB)
>>>
>>> Mint
>>>
>>> --- /dev/sdb
>>> Block device, size 58.59 GiB (62914560000 bytes)
>>> DOS/MBR partition map
>>> Partition 1: 58.59 GiB (62914494464 bytes, 122879872 sectors from 128,
>>> bootable)
>>>    Type 0x0C (Win95 FAT32 (LBA))
>>>    FAT32 file system (hints score 5 of 5)
>>>      Volume size 58.58 GiB (62899093504 bytes, 1919528 clusters of 32 
>>> KiB)
>>>
>>> Identical, as far as I can see. But Mint /still/ won't mount the USB3
>>> stick! BTW I upgraded to 17.3 Rosa today, but it has made no difference.
>>>
>>> I'll have a look at your other suggestions (df; sudo disktype /dev/sdb,
>>> c, d, etc) over the weekend.
>>>
>>
>> That's some good feedback. It means I've run out
>> of root causes :-)
>>
>> It scored 5 of 5, so it should be ready to go.
>>
>> That leaves some complicated USB Composite device
>> design or something. The idea isn't too plausible,
>> but I'm running out of conventional excuses.
>>
>>      Paul
> 
> I am really grateful for all your suggestions; it's a shame that Mint 
> isn't playing ball. To save a lot more wasted time I will format the 
> drive under Mint. If it has a default choice I'll let it choose that. If 
> not, I'll try plain FAT32.  Now if Mint is happy with that and mounts 
> the drive, great. But if now Ubuntu can't mount the drive, look out for 
> flying laptops!
> 

You have the option of attempting to manually mount the partition.

1) Plug in the stick that works, mount a partition on it the
    normal GUI way.

2) Drop to "terminal" and enter

    df

    The output shows the mounted volumes. Perhaps a new one
    /media/mint/some_identifier appears. The purpose of steps
    (1) and (2), is to make sure you're putting your mount
    point, where this stuff normally goes. You can graphically
    dis-mount the USB stick, eject it or whatever, as all we
    wanted was to see the canonical form of the mount point.

3) Now that you know the canonical form, you can craft
    your own manual mount. The /media/mint might be considered
    the "root" for the automounter tree. And volumes appear
    underneath that point. Different distros might do this
    a different way, which is why you're using step (10 and (2).

4) sudo mkdir /media/mount/jollygood

    That creates a folder owned by root. The mount operation
    goes "over top" of that. At the moment, you can "ls" that
    directory and notice it is empty. Later, after the mount
    succeeds, you'll be looking at the Intenso USB stick contents
    instead.

5) Let's assume the Intenso is still at /dev/sdb. And that
    /dev/sdb1 is the partition we're interested in. Disktype told
    us it was FAT32. The generic mounting method in that case,
    is VFAT, which handles several FAT types.

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

    At this point, look for failure messages. If they're
    not there, you could try "dmesg | tail" and see if
    something new just showed up in the circular buffer.

    Assuming it worked, you can

    ls /media/mount/jollygood

    and the contents of the Intenso FAT32 partition should be
    evident.

6) Time passes...

7) To clean up later, you can

    umount /media/mount/jollygood

    Check with df and make sure it's gone.

    df

    Now, you can clean up the mount point. Or
    leave it there for later. I usually have a
    few cosmetic things like this sitting around,
    and (usually) there is no name collision.

    sudo rmdir /media/mount/jollygood

    A command like rmdir should only work if
    the folder is empty. And with nothing mounted
    on top, it should be empty at this point.

And the reason you're doing this, is to see if you
can coax an error message out of it.

You don't have to mount something in the same place
as the automounter (which has the potential for a
name collision). You could define some other place
to work (like /jollygood). But then later, you might
forget where you put it, or whatever.

Have fun,
    Paul

Back to alt.os.linux.mint | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Cannot mount USB stick Jeff Layman <JMLayman@invalid.invalid> - 2016-02-18 08:37 +0000
  Re: Cannot mount USB stick Paul <nospam@needed.com> - 2016-02-18 04:05 -0500
    Re: Cannot mount USB stick Jeff Layman <JMLayman@invalid.invalid> - 2016-02-18 18:52 +0000
      Re: Cannot mount USB stick Paul <nospam@needed.com> - 2016-02-18 23:30 -0500
        Re: Cannot mount USB stick Jeff Layman <JMLayman@invalid.invalid> - 2016-02-19 09:39 +0000
          Re: Cannot mount USB stick Paul <nospam@needed.com> - 2016-02-19 06:26 -0500
            Re: Cannot mount USB stick Jeff Layman <JMLayman@invalid.invalid> - 2016-02-19 23:00 +0000
              Re: Cannot mount USB stick Paul <nospam@needed.com> - 2016-02-20 04:00 -0500
                Re: Cannot mount USB stick Jeff Layman <JMLayman@invalid.invalid> - 2016-02-20 18:33 +0000
                Re: Cannot mount USB stick Paul <nospam@needed.com> - 2016-02-20 14:32 -0500
  Re: Cannot mount USB stick Edmund <nomail@hotmail.com> - 2016-02-18 09:10 +0000
  Re: Cannot mount USB stick Bob Henson <rh547477@gmail.com> - 2016-02-18 09:48 +0000
    Re: Cannot mount USB stick Edmund <nomail@hotmail.com> - 2016-02-18 10:44 +0000
      Re: Cannot mount USB stick Jimmy Alpha GeD <Jimmy_Alpha@operamail.com> - 2016-02-18 10:59 -0500
    Re: Cannot mount USB stick Jeff Layman <JMLayman@invalid.invalid> - 2016-02-19 10:59 +0000
  Re: Cannot mount USB stick Edmund <nomail@hotmail.com> - 2016-02-18 09:49 +0000

csiph-web