Install Debian MIPS and Debian PowerPC on OSX

I tried MacPorts, but its qemu does not have qemu-system-ppc or qemu-system-mips. Even though, I have qemu installed under macports, if you see any dependency missing, try to port install qemu and then uninstall.

OSX 10.11.5
Xcode

Install QEMU

Download 2.6.0 from Qemu.org, configure and make like:

I did not see any error, Google if you see any.

Install Debian MIPS

Debian official installer only have netboot image. All you need is GOOD INTERNET CONNECTION, don’t download iso from debian cd mirror.

Prepare

Download vmlinux and initrd.

Install

Create Image

Install

Follow the instructions, almost same as debian x86/x86_64.
You may be asked to configure and mount partition, I picked one partition and choose ext4 and mount to /.

Now, you have to wait for a long long time…

Then:

Just continue.

Run

!!!REMEMBER!!!
NO -initrd
-append “root=/dev/sda1”
!!!/REMEMBER!!!

If you want to exit qemu under nographic:
press ctrl+a, then c (no ctrl), type quit, hit enter.

Install Debian PowerPC

Similar to MIPS, but debian provides cdrom installer.

vmlinux, initrd.gz

So,

Install:

Run:

You may see similar error message above saying quik loader failed to install, just ignore it.
And, for PowerPC, no -kernel and no -append is required.
You can also forward ssh to local loopback.

Install Debian MIPS and Debian PowerPC on OSX by @sskaje: https://sskaje.me/2016/05/qemu-install-debian-mips-debian-powerpc-on-osx/

Incoming search terms: