I used dd and the 9front img.

On Aug 12, 2014 5:43 PM, "dante" <subscriptions@posteo.eu> wrote:
Dear 9ers,

Here is my first contribution.

AFAIK, there is no installer yet for the Rasbperry Pi port.
Moreover, the Raspberry Pi can only boot from the one SD card (not from USB).
This makes the classical installer design (boot from a removable device, install on the fixed disk) impractical.

A solution would be to start with a given installation (e.g., Richard Miller's bootable image), use an SD-to-USB adapter and clone the disk.
This has the following advantages:
- the new disk can be used at full capacity (not only 2GB or so in the original image);
- the installation can be done without the need of an additional system
   (a PC to write the image or even a virtual machine as proposed by 9front https://code.google.com/p/plan9front/wiki/9pi)

The attached script clones a Raspberry Pi Plan9 Fossil installation to an SD disk connected via such a USB adapter.
If the device is recognised as "sdUXX", call "piclone sdUXX".

I have no idea where this utility belongs to.
It is IMHO too specific to be placed under arm/bin.
For this reason, I attach the file in stead of sending a patch(1).
I hope it helps and it will find it's way into Plan9 (or at least to Mr. Miller's image :-).

DISCLAIMER: There might be bugs.

Kind Regards,
Dante