I have a 32GB SD card running raspbian.
I would like to regularly create a full SD card backup, but for this the SD card should not be in use.
I put a Minibian OS to a different SD card. I put it into Pi1S SD slot and it boots fine.
My idea is to
-use an SD card reader USB stick as an alternative system partition,
-use raspbian to modify cmdline.txt on the boot partition and redirect system to /dev/sda2
-reboot
-minibian boots
-reset the cmdline.txt to the original system partition
-create a complete backup of the SD card using the dd command. (Backing up to a network location).
-When the backup finishes the system will automatically reboot
-boot will take it back to the sdcard system partition, to raspbian
The minibian system boots fine, I'm able to ssh in to the new system but it does not accept my minibian login attempts, says access denied. (I've also tried to login using my raspbian credentials to see if the alternative boot did not work but it gave me access denied as well.)
Does this kind of USB boot require some changes on the boot partition to make it work?
Thanks for the help!