From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <84cf55cc7b078e741f008bc281ffee7e@posteo.de> References: <84cf55cc7b078e741f008bc281ffee7e@posteo.de> Date: Tue, 12 Aug 2014 17:49:32 -0400 Message-ID: From: Jacob Todd To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=089e012954dc8cef07050075a570 Subject: Re: [9fans] Raspberry Pi installer surrogate Topicbox-Message-UUID: 0e950660-ead9-11e9-9d60-3106f5b1d025 --089e012954dc8cef07050075a570 Content-Type: text/plain; charset=UTF-8 I used dd and the 9front img. On Aug 12, 2014 5:43 PM, "dante" 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 --089e012954dc8cef07050075a570 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I used dd and the 9front img.

On Aug 12, 2014 5:43 PM, "dante" <<= a href=3D"mailto:subscriptions@posteo.eu">subscriptions@posteo.eu> w= rote:
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, in= stall on the fixed disk) impractical.

A solution would be to start with a given installation (e.g., Richard Mille= r'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 orig= inal image);
- the installation can be done without the need of an additional system
=C2=A0 =C2=A0(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 S= D disk connected via such a USB adapter.
If the device is recognised as "sdUXX", call "piclone sdUXX&= quot;.

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
--089e012954dc8cef07050075a570--