Heymen Nicolaij Posted November 26, 2017 Posted November 26, 2017 Hi, I own a Orange PI Plus 2 with SATA support. Until now without success I tried to migrate from a SD boot / HDD root setup, which is my current well working situation, to a SD boot / SSD root setup. I created two partitions on the SSD created a swap device on sda1 and root device on sda2 like on the HDD. Performed mkswap on /dev/sda1 and copied the HDD root filesystem to the SSD root file system to be /dev/sda2 using ' find . -print | cpio -pdvm' on a spare laptop with two SATA ports. I even copied the UUID from the root partition of the HDD to the root partition of the SSD. Next I configured the system by changing the root device in armbianEnv.txt back to the SD card and issued the mkimage command as mentioned at the bottom of the boot.cmd file to create the boot.scr to go with that. Rebooting back to SD card boot and root went all fine while having the SSD connected to the SATA cable. I'm able to mount the filesystem on the /dev/sda2 of the SSD and all contents is there. Next, in attempt to reach the desired SD card boot / SSD root setup, when issuing another mkimage with the root partition in armbianEnv.txt pointing to the UUID of the SSD, the system continually boots, fails and boots again et cetera. What am I overlooking here ? Any clues ? Kind regards, Heymen
rexxster Posted August 5, 2018 Posted August 5, 2018 Hey all, same question, slightly different take. I have a SD to SSD boot setup that works. I'm able to make a 'DD' copy of the SD that also boots the SDD. I'd like to make a backup of my SSD but obviously don't want to make a 'DD' copy of that. Instead I plugged the SSD into my pc and make a 'tar.gz' backup. Now, I have a second SSD partitioned and mkfs'd same as orig. Also duped UUID using tunefs. I de-Ark'd the files to the SSD. SSD is mountable on pc and browsable. Plugged backup SSD into pi but get same boot sequence as original poster :(
Recommended Posts