AnsweredAssumed Answered

imx8 linux 系统修改SDCARD 分区

Question asked by Xianxin Mao on Aug 2, 2019
Latest reply on Aug 5, 2019 by jimmychan

使用下载的image 用dd 命令烧写到SDCARD,然后板子从SDCARD 启动,

启动后发现系统空间很小,一些SDCARD 空间没有用上。

如何重新分区SDCARD?

下面是我们设备的信息。

IXM8 MINI

 

 

root@imx8mmevk:~# df -H
Filesystem Size Used Avail Use% Mounted on
/dev/root 1.3G 1.2G 0 100% /
devtmpfs 691M 4.1k 691M 1% /dev
tmpfs 1.1G 0 1.1G 0% /dev/shm
tmpfs 1.1G 9.0M 1.1G 1% /run
tmpfs 1.1G 0 1.1G 0% /sys/fs/cgroup
tmpfs 1.1G 0 1.1G 0% /tmp
tmpfs 1.1G 250k 1.1G 1% /var/volatile
/dev/mmcblk2p5 1.9G 1.2G 642M 65% /run/media/mmcblk2p5
/dev/mmcblk2p11 256M 51M 200M 21% /run/media/mmcblk2p11
/dev/mmcblk2p6 1.9G 1.2G 642M 65% /run/media/mmcblk2p6
/dev/mmcblk2p10 256M 51M 200M 21% /run/media/mmcblk2p10
/dev/mmcblk1p1 67M 24M 44M 36% /run/media/mmcblk1p1
tmpfs 206M 0 206M 0% /run/user/0
root@imx8mmevk:~# cat /etc/fstab
# stock fstab - you probably want to override this with a machine specific one

/dev/root / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0
tmpfs /var/volatile tmpfs defaults 0 0

# uncomment this if your device has a SD/MMC/Transflash slot
#/dev/mmcblk0p1 /media/card auto defaults,sync,noauto 0 0

Outcomes