Author Topic: SDCard Error mounting /dev/mmcblk0p1 at /media/spence/3231-3331: Command-line `m  (Read 2515 times)

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 3027
  • Karma: 345
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): Peppermint 10 Respin
trying to retrieve photos froma cell phone mini sd card, i get this message on both the hpG6 and the Antec rebuild...

Quote
Error mounting /dev/mmcblk0p1 at /media/spence/3231-3331: Command-line `mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,iocharset=utf8,namecase=0,errors=remount-ro,umask=0077" "/dev/mmcblk0p1" "/media/spence/3231-3331"' exited with non-zero exit status 32: mount: unknown filesystem type 'exfat'

baaaaaah humbug...
spence
PeppermintOS 10 Respin currently installed  on:
'16 Antec Aria rebuild
& '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2200
  • Karma: 458
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 3027
  • Karma: 345
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): Peppermint 10 Respin
Does this help?

https://www.howtogeek.com/235655/how-to-mount-and-use-an-exfat-drive-on-linux/

not at all... its a SanDisk Ultra microSDXC UHS-I Card with adapter.... being pulled out of a Samsung Android phone to transfer the photo gallery back to a harddrive.

Code: [Select]
spence@antec ~ $ sudo mkdir /media/exfat
[sudo] password for spence:
spence@antec ~ $ sudo mount -t exfat /dev/sdc1 /media/exfat
FUSE exfat 1.2.3
ERROR: failed to open '/dev/sdc1': No such file or directory.
« Last Edit: March 20, 2017, 03:53:35 pm by spence »
spence
PeppermintOS 10 Respin currently installed  on:
'16 Antec Aria rebuild
& '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26437
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Code: [Select]
sudo apt-get install exfat-fuse exfat-utilsnow unplug the drive, and replug it.

Now open file manager, and see if it's available in the left hand pane ?

Once exfat support is added with the command above, it should work like any other SDcard/USB stick .. just plug it in and it becomes available in the file manager.



But in any case, to manually mount it from the command line you should have modified the commands from murraymint's link to:
Code: [Select]
sudo apt-get install exfat-fuse exfat-utils
sudo mkdir -p /media/spence/3231-3331
sudo mount -t exfat /dev/mmcblk0p1 /media/spence/3231-3331
« Last Edit: March 23, 2017, 10:30:04 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 3027
  • Karma: 345
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): Peppermint 10 Respin
Code: [Select]
[sudo] password for spence:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
exfat-fuse is already the newest version (1.2.3-1).
exfat-utils is already the newest version (1.2.3-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
spence@antec ~ $ sudo mkdir -p /media/spence/3231-3331
spence@antec ~ $ sudo mount -t exfat /dev//dev/mmcblk0p1 /media/spence/3231-3331FUSE exfat 1.2.3
ERROR: failed to open '/dev//dev/mmcblk0p1': No such file or directory.

my mistake on failing to notice the need for rename but still no go...
spence
PeppermintOS 10 Respin currently installed  on:
'16 Antec Aria rebuild
& '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 3027
  • Karma: 345
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): Peppermint 10 Respin
While the Antec machine does detect & read other several SDCards we own, it fails to detect or notice the insertion of this one at all. Moving it over to the hpG6 laptop,
 the card is detected but throws up the error message. After using...
Code: [Select]
sudo apt-get install exfat-fuse exfat-utils the hpG6 detects and reads the card without having to remove/reinsert...  dunno why Antec doesn't detect...  :-\
« Last Edit: March 21, 2017, 02:35:23 pm by spence »
spence
PeppermintOS 10 Respin currently installed  on:
'16 Antec Aria rebuild
& '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2200
  • Karma: 458
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
There was a typo in that mount command, an extra "/dev" so you had "/dev//dev"

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26437
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Ooops .. typo fixed here:
https://forum.peppermintos.com/index.php/topic,5285.msg52969.html#msg52969
thanks murraymint :)

@spence
if the Antec isn't detecting the card .. remove the card .. wait 5 seconds .. reinsert the card .. post the output from:
Code: [Select]
dmesg | tail -n 50
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 3027
  • Karma: 345
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): Peppermint 10 Respin
Code: [Select]
spence@antec ~ $ sudo mkdir -p /media/spence/3231-3331
spence@antec ~ $ sudo mount -t exfat /dev/mmcblk0p1 /media/spence/3231-3331
FUSE exfat 1.2.3
ERROR: failed to open '/dev/mmcblk0p1': No such file or directory.

Spoiler (click here to view / hide)
[close]
spence
PeppermintOS 10 Respin currently installed  on:
'16 Antec Aria rebuild
& '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26437
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Are you confusing matters again by posting output from 2 different computers ?

if its device node on this computer is not

/dev/mmcblk0p1

as it was in your first post, then with it plugged in what's the output from:
Code: [Select]
sudo fdisk -l
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 3027
  • Karma: 345
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): Peppermint 10 Respin
the problem was on both computers... thus the mixed output... but i'm letting this one go as too much hassle, seeing as i can simply plug in the usb cord and transfer files that way...
spence
PeppermintOS 10 Respin currently installed  on:
'16 Antec Aria rebuild
& '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline revoke

  • Newly Subscribed
  • *
  • Posts: 11
  • Karma: 3
  • Peppermint User
    • View Profile
  • Peppermint version(s): Peppermint 8, 7, and 6
Code: [Select]
sudo apt-get install exfat-fuse exfat-utilsnow unplug the drive, and replug it.

Now open file manager, and see if it's available in the left hand pane ?

Once exfat support is added with the command above, it should work like any other SDcard/USB stick .. just plug it in and it becomes available in the file manager.


Just chiming in to say thanks for this solution.  On my P7 rigs, 64gb cards would not mount in the card slots, but 32gb or smaller were fine.  I was using a USB cord to work around the issue (yes, strangely enough the 64gb cards read fine when plugged into P7 via the camera and a USB cord rather than the card slot).  However, once I added exFAT support, I can plug in my camera memory cards however I want and everything reads (glad this is baked in on P8, but I'm not ready to upgrade just yet).

So, thanks again for being the Hero on these forums!   If I have a issue, typically I don't even need to ask... the search function works just fine.  ;-)
Current Use:
Peppermint-8-20170527 64-bit (ASUS 1015E-DS03)
Peppermint-8-20170527 32-bit (Dell Vostro A90)

Previous Use:
Peppermint 7-20161201 64-bit (System76 Lemur Ultra)
Peppermint 7-20161201 32-bit (Dell Latitude D410)
Peppermint 6-20150904 32-bit (Acer Aspire One A110 8GB)

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 3027
  • Karma: 345
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): Peppermint 10 Respin
happy the link above was here, I plugged a different standard SD card inbto the slot which would not read, but after a few minutes it suddenly came to life whilst i was searching for this thread...
spence
PeppermintOS 10 Respin currently installed  on:
'16 Antec Aria rebuild
& '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.