If the root file system cannot be mounted, first compare the object specified by the startup parameters with the storage actually recognized by the kernel. This judgment also applies to similar failures when deploying the same application to ArmSoM.
Compare two names
Copy the value after root= from the log, and then view the target media partition, file system and identification from an independent bootable recovery system. If using PARTUUID, compare it with the partition ID. If using UUID, compare it with the file system identifier. The two look similar but have different uses.
Find which layer the fault belongs to
Even the card device does not appear. Check the board type, power supply, controller and media first. If you have seen the partition but the ID does not match, check the process of mirror copying or repartitioning. When the partitions match and the mount fails, the file system type and the modules that support it are checked again.
Keep the old card for comparison
Start the original card and the new card respectively on the same board and the same power supply, and save the two logs until the first disagreement. After repair, perform at least one cold start with complete power outage to rule out the case of temporarily borrowing old media during testing.
View the media identification in a bootable Linux recovery system
lsblk -o NAME,SIZE,FSTYPE,UUID,PARTUUID,MOUNTPOINTS
cat /proc/cmdline
Board documentation and references

- ArmSoM Sige5 · hardware and interface manual · Sige5 · product page
- Orange Pi official system build warehouse
- lsblk manual source code of util-linux
