Mounting SD Card
Trying to mount SD card but I'm having problems, see
errors below. sde1 is the SD card. #fdisk l Disk /dev/sde: 59.5 GiB, 63864569856 bytes, 124735488 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/sde1 32768 124735487 124702720 59.5G 7 HPFS/NTFS/exFAT [root@localhost SD]# mount -t vfat /dev/sde1 mount: /dev/sde1: can't find in /etc/fstab. The card shows up in the Dolphin file manager, but it can't mount the card. |
Yeah you need to tell it where to mount the drive to, that is why you are getting the error as there is nothing in fstab telling it where to mount.
Try Code:
mkdir /mnt/sdcard |
# mount -t vfat /dev/sde1 /mnt/sdcard
mount: /mnt/sdcard: wrong fs type, bad option, bad superblock on /dev/sde1, missing codepage or helper program, or other error. Device Boot Start End Sectors Size Id Type /dev/sde1 32768 124735487 124702720 59.5G 7 HPFS/NTFS/exFAT From what I can See the cards mount -t vfat is not vfat . |
It could be exFAT. What is the output of the commmand.
file -s /dev/sde1 |
# file -s /dev/sde1
/dev/sde1: DOS/MBR boot sector # mount -t DOS /dev/sde1 mount: /dev/sde1: can't find in /etc/fstab |
I would of expected more output. Can you post the origins of the card? i.e What type of device is it used in.
I would expect it to be either NTFS or exFAT not just from the fact of the label ID but typically these days anything > 32GB is formatted as exFAT or NTFS. For exFAT you need to install the exfat-fuse package and for NTFS the ntfs-3g package. |
I can't find exfat-fuse package, does it have another name ?
I used Gparted on the Filesystem and /dev/sde is a exfat filesystem. # mount -t exfat /dev/sde1 /mnt/sdcard mount: /mnt/sdcard: unknown filesystem type 'exfat' I do have a /mnt/sdcard folder. |
I assume this is for Fedora? The exfat-utils should be available from the rpmfusion repository.
|
I did a dnf -y install exfat* and it installed exfat-utils.
|
mount -t exfat /dev/sde1
mount: /dev/sde1: can't find in /etc/fstab I still get the fstab error |
You still need to specify the mount point... see post #2
|
# mkdir /mnt/sdcard
mkdir: cannot create directory ‘/mnt/sdcard’: File exists # mount -t exfat /dev/sde1 /mnt/sdcard mount: /mnt/sdcard: unknown filesystem type 'exfat' # mount -t exfat /dev/sde1 mount: /dev/sde1: can't find in /etc/fstab |
Verify that fuse-exfat was installed.
|
# mount -t exfat /dev/sde1 /mnt/sdcard
FUSE exfat 1.2.8 WARN: '/dev/sde1' is write-protected, mounting read-only How do I make it write-enable I had to install fuse-exfat |
If the mechanical read/write switch on the card is not set for read only I don't have a clue at the moment.
|
All times are GMT -5. The time now is 10:19 AM. |