wx_Knight_EGH77 发表于 2020-4-8 18:04:30

rk3308插入sd卡,没有自动挂载手动挂载不成功

/ # mount /dev/mmcblk0p1 /sdcard
FUSE exfat 1.2.6
fuse: device not found, try 'modprobe fuse' first
/ # modprobe fuse
modprobe: can't change directory to '/lib/modules': No such file or directory

这是什么原因,大佬们快来献爱心

wx_Knight_EGH77 发表于 2020-4-8 18:08:35

TF扩展卡挂载不成功

firefly_zhongw 发表于 2020-4-8 18:54:25

本帖最后由 firefly_zhongw 于 2020-4-8 19:01 编辑

1. 开发板型号是什么?
2. FAT32文件系统的TF卡是否可以挂载?

wx_Knight_EGH77 发表于 2020-4-9 09:43:21

firefly_zhongw 发表于 2020-4-8 18:54
1. 开发板型号是什么?
2. FAT32文件系统的TF卡是否可以挂载?

开发板型号是rk3308;
sd卡是闪迪的128g的micro SD存储卡,
/ # fdisk -l
Found valid GPT with protective MBR; using GPT

Disk /dev/mmcblk1: 15269888 sectors, 3360M
Logical sector size: 512
Disk identifier (GUID): 992b0000-0000-4473-8000-2b880000574b
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 15269854

NumberStart (sector)    End (sector)Size Name
   1            8192         12287 2048K uboot
   2         12288         16383 2048K trust
   3         16384         18431 1024K misc
   4         18432         43007 12.0M recovery
   5         43008         61439 9216K boot
   6         61440          585727256M rootfs
   7          585728          716799 64.0M oem
   8          716800      15269854 7105M userdata
Disk /dev/mmcblk1boot1: 4 MB, 4194304 bytes, 8192 sectors
128 cylinders, 4 heads, 16 sectors/track
Units: cylinders of 64 * 512 = 32768 bytes

Disk /dev/mmcblk1boot1 doesn't contain a valid partition table
Disk /dev/mmcblk1boot0: 4 MB, 4194304 bytes, 8192 sectors
128 cylinders, 4 heads, 16 sectors/track
Units: cylinders of 64 * 512 = 32768 bytes

Disk /dev/mmcblk1boot0 doesn't contain a valid partition table
Disk /dev/mmcblk0: 119 GB, 127865454592 bytes, 249737216 sectors
15545 cylinders, 255 heads, 63 sectors/track
Units: cylinders of 16065 * 512 = 8225280 bytes

Device       Boot StartCHS    EndCHS      StartLBA   EndLBA    SectorsSize Id Type
/dev/mmcblk0p1    2,10,9      1023,254,63      32768249737215249704448119G7 HPFS/NTFS


/ # cat /proc/partitions
major minor#blocksname

179       32    7634944 mmcblk1
179       33       2048 mmcblk1p1
179       34       2048 mmcblk1p2
179       35       1024 mmcblk1p3
179       36      12288 mmcblk1p4
179       37       9216 mmcblk1p5
179       38   262144 mmcblk1p6
179       39      65536 mmcblk1p7
179       40    7276527 mmcblk1p8
179      128      512 mmcblk1rpmb
179       96       4096 mmcblk1boot1
179       64       4096 mmcblk1boot0
179      0124868608 mmcblk0
179      1124852224 mmcblk0p1

/ # mount /dev/mmcblk0p1 /sdcard
FUSE exfat 1.2.6
fuse: device not found, try 'modprobe fuse' first
/ #
/ # mount -t vfat /dev/mmcblk0p1 /sdcard/
mount: /mnt/sdcard: wrong fs type, bad option, bad superblock on /dev/mmcblk0p1, missing codepage or helper program, or other error.
/ # mount -t ntfs /dev/mmcblk0p1 /sdcard/
modprobe: can't change directory to '/lib/modules': No such file or directory
NTFS signature is missing.
Failed to mount '/dev/mmcblk0p1': Invalid argument
The device '/dev/mmcblk0p1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?


firefly_zhongw 发表于 2020-4-9 12:43:09

1. fat32文件系统的TF卡是否可以用,排除硬件问题?
2. fuse exfat的文件系统的,尝试用mount.exfat-fuse相关命令

wx_Knight_EGH77 发表于 2020-4-10 10:16:50

firefly_zhongw 发表于 2020-4-9 12:43
1. fat32文件系统的TF卡是否可以用,排除硬件问题?
2. fuse exfat的文件系统的,尝试用mount.exfat-fuse ...

如何查看TF卡的文件系统格式?我现在就一张sd卡。
/ # mount /dev/mmcblk0p1 /sdcard
FUSE exfat 1.2.6
fuse: device not found, try 'modprobe fuse' first
/ #
/ # mount -t vfat /dev/mmcblk0p1 /sdcard/
mount: /mnt/sdcard: wrong fs type, bad option, bad superblock on /dev/mmcblk0p1, missing codepage or helper program, or other error.
/ # mount -t ntfs /dev/mmcblk0p1 /sdcard/
modprobe: can't change directory to '/lib/modules': No such file or directory
NTFS signature is missing.
Failed to mount '/dev/mmcblk0p1': Invalid argument
The device '/dev/mmcblk0p1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

这是不是说明文件系统是ntfs的。

/ # mount.exfat-fuse /dev/mmcblk0p1 /sdcard/
FUSE exfat 1.2.6
fuse: device not found, try 'modprobe fuse' first
/ # modprobe fuse
modprobe: can't change directory to '/lib/modules': No such file or directory
/ #
是这样嘛,还是不行,提示一个文件目录找不到,是不是这个命令会创建新的目录,而我的设备是只读权限所以挂载不成功?

firefly_zhongw 发表于 2020-4-10 11:26:07

本帖最后由 firefly_zhongw 于 2020-4-10 11:35 编辑

1. 如果不需要 HPFS/NTFS格式,可以在PC端格式化成FAT32,看能不能挂载?先确保硬件是好的
2. 默认不支持NTFS文件系统

wx_Knight_EGH77 发表于 2020-4-10 11:47:33

firefly_zhongw 发表于 2020-4-9 12:43
1. fat32文件系统的TF卡是否可以用,排除硬件问题?
2. fuse exfat的文件系统的,尝试用mount.exfat-fuse ...

已解决,格式成fat32就可以,谢谢

wx_Knight_EGH77 发表于 2020-4-10 11:50:36

firefly_zhongw 发表于 2020-4-10 11:26
1. 如果不需要 HPFS/NTFS格式,可以在PC端格式化成FAT32,看能不能挂载?先确保硬件是好的
2. 默认不支持N ...

谢谢{:4_108:}
页: [1]
查看完整版本: rk3308插入sd卡,没有自动挂载手动挂载不成功