Rockchip · AI & Linux Hub

Storage & networking

Orange Pi cannot find rootfs after an SD card change: reading the boot log

Kernel information has appeared on the serial port, indicating that part of the boot chain has been cleared.

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

Products and development resources

Check the hardware revision, carrier, image and interfaces in the product documentation. An article association is not evidence that a configuration has been tested.

Explore this topic → · Learning paths →