Tech /

PPC Chroot





edit SideBar

PPC Chroot

Mount a PPC system in a chroot on an x86-64 and run binaries using qemu-ppc as an interpreter.

apt-get install qemu
modprobe binfmt_misc
mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
echo ':ppc:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00
\x00\x00\x00\x00\x02\x00\x14:\xff\xff\xff\xff\xff\xff\xff
\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-ppc:'
 > /proc/sys/fs/binfmt_misc/register

Oops, this hung my machine...

Recent Changes (All) | Edit SideBar Page last modified on 12 November 2007, at 05:44 PM UTC Edit Page | Page History
Powered by PmWiki