I am running Fedora as my primary OS on a 64 bit desktop machine. I have a RPi3 that I have installed
Ubuntu Mate on -- but for this question assume I have Fedora on the Pi too. I want to install programs and update key settings on the RPi3 OS via the MicroSD card -- rather than on the actual RPi3 running the OS live. This is necessary, for example, to encrypt the root partition.
Typically to do this you would insert the MicroSD card into your desktop machine and
chroot into it. But this is not directly possible because the desktop is of a different architecture (i.e., 64 bit v. ARM). So my understanding is that you need to use
qemu. But all of the guides I've seen to do so (i.e., use
chroot (or better,
proot) into the Pi's OS assume the host OS is Ubuntu-based.
Is there any way to
chroot into an ARM OS coming from a Fedora, x86_64 (amd64) host?
Note: I am currently working around the issue by using VirtualBox running Ubuntu 18.04 running qemu and prooting into the Ubuntu Mate RPi3. I am trying to achieve a more elegant solution for a full Fedora system.