<br><font size=2><tt>Bert Freudenberg <bert@freudenbergs.de> schrieb
am 05/29/2007 02:37:47 PM:<br>
> On May 29, 2007, at 14:13 , Andreas.Trawoeger@wgkk.at wrote:<br>
> > So could I kindly ask for either a sane way to add a .xo file
to a <br>
> > sugar-jbuild or a qemu development image with 512 MB of free
space <br>
> > and an installed OpenSSH server?<br>
> <br>
> You could patch the image ... just append a 512 MB empty chunk and
<br>
> resize the partition. Or, even simpler, add a second hard disk to
<br>
> 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 "Error: File system has
an incompatible feature enabled" 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>