darennet 发表于 2024-1-6 17:54:11

aio3568系统下,无法挂载emmc分区

1)系统启动后,通过串口登录到系统里面,想通过mount来挂载指定分区,发现会报以下错误:
root@rk3568-buildroot:/userdata# mount /dev/mmcblk0p2 mnt/
[ 1319.267226] FAT-fs (mmcblk0p2): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
NTFS signature is missing.
Failed to mount '/dev/mmcblk0p2': Invalid argument
The device '/dev/mmcblk0p2' 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?2)通过fdisk -l 查看分区信息:
# fdisk -l
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mtdblock0: 32 MiB, 33554432 bytes, 65536 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


Disk /dev/mmcblk0: 29.12 GiB, 31268536320 bytes, 61071360 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: gpt
Disk identifier: 3A030000-0000-4E62-8000-74DD00004243

Device         Start      EndSectorsSize Type
/dev/mmcblk0p1   16384    24575   8192    4M unknown
/dev/mmcblk0p2   24576    32767   8192    4M unknown
/dev/mmcblk0p3   32768   294911   262144128M unknown
/dev/mmcblk0p4294912   425983   131072   64M unknown
/dev/mmcblk0p5425984   491519    65536   32M unknown
/dev/mmcblk0p6491520   753663   262144128M unknown
/dev/mmcblk0p7753664342937526757121.3G unknown
/dev/mmcblk0p8 3429376 61071295 57641920 27.5G unknown
我的问题是:
1、emmc分区类型显示为unknown是否正常?如果正常,这样做目的是什么?
2、如何才能成功挂载emmc的分区到指定目录?

谢谢!
页: [1]
查看完整版本: aio3568系统下,无法挂载emmc分区