Format eMMC storage on an Orange Pi, Radxa, etc.
⚠️ Warning
This post is more than 10 years old. I do not delete posts, because even old information is still useful, but please know that some material on this page may be outdated or incorrect. Thanks!
This post is more than 10 years old. I do not delete posts, because even old information is still useful, but please know that some material on this page may be outdated or incorrect. Thanks!
To use eMMC modules on the Orange Pi, Radxa, Milk-V, etc. as a writable volume in Linux, you need to delete the existing partitions (on my old Orange Pi, it was formatted as FAT/WIN32), create a new partition, format the partition, then mount it:
- Delete the existing partitions, and create a new partition:
1.
sudo fdisk /dev/mmcblk12.pto list all partitions, thendand a number, once for each of the existing partitions. 2.nto create a new partition, then use all the defaults, thenwto write the changes. - Format the partition:
sudo mkfs.ext4 -L "emmc" /dev/mmcblk1p1 - Create a mount point:
sudo mkdir -p /mnt/emmc - Mount the disk:
sudo mount /dev/mmcblk1p1 /mnt/emmc
Note your eMMC device may be a different ID, e.g. mmcblk2 or mmcblk0, depending on the order the board firmware loads multiple devices in. Check with lsblk to see which device you would like to modify.
Comments