WRITELOOP

RASPBERRY PI TIPS

2022 February 7

Manjaro ARM

Restoring partitions

If I need to restore partitions from a fsarchiver file backup on a different media (microsd card, SSD or NVMe), after the restoration I must do the following: 1- Plug the media where the partitions were restored into a linux machine, run blkid and there get the ‘PARTUUID’ for each partition. 2- Mount the first partition (BOOT), and there edit config.txt file with the ‘PARTUUID’ gotten on the previous step for it; 3- Mount the second partition (ROOT), and there edit etc/fstab file with the ‘PARTUUID’ gotten on the first step for it. Then save, unmount the disck, plug the media back in the Raspberry Pi and wait for it to boot.