Unable to mount SD Card in Ubuntu via USB

After unboxing the smoothieboard, I plugged it in via USB on my Ubuntu Laptop. The SD card would not mount, so I ended up using windows, where after installing the drivers it worked fine. When I plugged in the SD card directly in the slot in my Ubuntu laptop, it mounted instantly.

I have since had time to investigate this issue and have installed Pronterface on the Ubuntu laptop, which happily connects to the smoothieboard. Via the pronterface, I am able to browse the SD card.

When I “fdisk -l” in the terminal, it lists the drive, but is not mounted. When I try and mount the /dev/sdb it returns…

mount: wrong fs type, bad option, bad superblock on /dev/sdb,
       missing codepage or helper program, or other error
   In some cases useful info is found in syslog - try
   dmesg | tail or so.</code>

When I try this in Debian, it states “Does not contain a valid partition table”.

Any ideas???

Imported from wikidot

You can try saving the files, formating ( as FAT32 ), and try again.
Ubuntu/Debian seems to have a problem with the default partition the SD cards have, when it’s going through Smoothie.

Cheers.

The card seemed to be already partitioned as FAT32, but I reformated to FAT32, FAT32 (LBA) and NTFS, without any success.

Ubuntu disk manager can see it via the smoothieboard, but the parition is “unknown” and won’t mount. When I try and format from there, it came back with this message.

Error mounting /dev/sdb at /media/morgan/AE76-1E0F: Command-line `mount -t "vfat" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush" "/dev/sdb" "/media/morgan/AE76-1E0F"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sdb,
       missing codepage or helper program, or other error
   In some cases useful info is found in syslog - try
   dmesg | tail or so.

(udisks-error-quark, 0)


Hey !

Well, this is strange.
( NTFS won’t work, you have to use FAT32. )
Do you have another SD card laying around ?

Cheers.

It was the SD card. I have another Kingston 32GB card which works fine. One thing I have just noticed that is odd, the original 4GB card has the serial number “0x00000000”.
It is strange that it works under windows through the SmoothieBoard, in Ubuntu via the SD slot, but not throught the SB.

Anyway, I am glad we have got to the bottom of this. Thanks for your help. While I order a new SD card, I will just have to edit the config via the SD slot, which isn’t too much of a problem, as the SB is still on the work bench, testing. :slight_smile:

\o/

Sorry for the bad SD cards, we know about them, it’s the manufacturer’s fault, sometimes they work, but under some setups they cause the kind of trouble you had.
New Smoothieboards have legit SD cards.