Rockchip · AI & Linux Hub

Storage & networking

After cloning Orange Pi from SD to SSD, which drive is actually running Linux?

Just plugging in a new disk and being able to boot it does not necessarily mean that the root file system comes from the new disk.

The bootloader, kernel, and root filesystem may each come from different media, and a full-disk clone may copy the same partition ID. After completing the Orange Pi or ArmSoM storage migration, you need to confirm layer by layer.

Find out the object being mounted

Use findmnt / to view the root mount source, and then use lsblk -o NAME,MODEL,SIZE,FSTYPE,UUID,PARTUUID,MOUNTPOINTS to map to the physical media. If the current system’s lsblk lacks a field, you can remove the field and check again. Keep the logos of the original card and the new disk side by side.

Identifying “seemingly successful” situations

If two file systems have the same UUID, when the system searches by identification, it may hit a different medium than expected. First back up and find out which identifier is used for the boot configuration, and then synchronize and update the relevant startup and mount configurations after adjustment. Avoid modifying the only available original card during power-on troubleshooting.

Record two results respectively

Under the boot topology supported by the device, verify the location of the root file system and the boot media on which boot depends. If the design originally requires booting on the card and running on the SSD, both should be clearly marked on the maintenance order to avoid accidentally pulling out the boot card on site.

Check the running root partition and device identification

findmnt -no SOURCE,FSTYPE,OPTIONS /
lsblk -o NAME,MODEL,SIZE,UUID,PARTUUID,MOUNTPOINTS
cat /proc/cmdline

Board documentation and references

ArmSoM Sige7

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 →