<br><font size=2><tt>Bert Freudenberg &lt;bert@freudenbergs.de&gt; schrieb
am 05/29/2007 02:37:47 PM:<br>
&gt; On May 29, 2007, at 14:13 , Andreas.Trawoeger@wgkk.at wrote:<br>
&gt; &gt; So could I kindly ask for either a sane way to add a .xo file
to a &nbsp;<br>
&gt; &gt; sugar-jbuild or a qemu development image with 512 MB of free
space &nbsp;<br>
&gt; &gt; and an installed OpenSSH server?<br>
&gt; <br>
&gt; You could patch the image ... just append a 512 MB empty chunk and
&nbsp;<br>
&gt; resize the partition. Or, even simpler, add a second hard disk to
&nbsp;<br>
&gt; your Qemu and mount it.<br>
</tt></font>
<br><font size=2><tt>If you could resize the partition this would work
out :-((</tt></font>
<br>
<br><font size=2><tt>This is how far i get:</tt></font>
<br>
<br><font size=2><tt>1. Extending qemu disk image to 1GB:</tt></font>
<br><font size=2><tt>dd bs=1 if=/dev/zero of=olpc-development-ext3.img
seek=1G count=0</tt></font>
<br>
<br><font size=2><tt>2. Boot image with System Rescue CD (http://www.sysresccd.org):</tt></font>
<br><font size=2><tt>qemu -hda olpc-development-ext3.img -cdrom systemrescuecd.iso
-boot d</tt></font>
<br>
<br><font size=2><tt>3. Check Filesystem:</tt></font>
<br><font size=2><tt>e2fsk -fD /dev/hda1</tt></font>
<br>
<br><font size=2><tt>4. Resize partition:</tt></font>
<br><font size=2><tt>parted /dev/hda</tt></font>
<br><font size=2><tt>(parted) resize 1 31.7kB 1GB</tt></font>
<br>
<br><font size=2><tt>Which ends up with an &quot;Error: File system has
an incompatible feature enabled&quot; Message :-((</tt></font>
<br>
<br><font size=2><tt>So I will probably add a second disk and use it as
/home.</tt></font>
<br>
<br><font size=2><tt>Any tips how to put an OpenSSH server on the developer
image?</tt></font>
<br><font size=2><tt>Using the TTY is somewhat annoying, because it's screwes
up things like nano or top.</tt></font>
<br>
<br>
<br><font size=2><tt>cu andreas </tt></font>
<br>