<br><br><div class="gmail_quote">On Wed, Dec 3, 2008 at 11:43 AM, Bert Freudenberg <span dir="ltr"><<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
(*)<br>
Now to the hoops:<br>
<br>
* I started with the 767/ext3 image from<br>
<a href="http://download.laptop.org/xo-1/os/official/" target="_blank">http://download.laptop.org/xo-1/os/official/</a><br>
* extended to 2 GB by appending /dev/zero<br>
(jffs2 compression gives roughly 2 GB too)<br>
* enlarged the partition to full 2 GB<br>
(using fdisk and ext2resize)</blockquote><div><br>Hi, I want to try this with virtualbox. I can't seem to get the disk image size extension working. <br>Can you share the actual commands you used to do this?<br><br>
Thanks!<br>Dave<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
* mounted that in a Fedora 10 virtual machine<br>
* copied over the F10 kernel, initrd, and modules<br>
(olpc kernel wanted AMD instructions)<br>
* edited grub.conf to use that kernel<br>
* and appended a root=/dev/sda1 kernel arg<br>
(the fedora kernel wants to use LVM otherwise)<br>
* unmounted<br>
* created new virtual machine<br>
(that disk, 1 CPU, 256 MB RAM, NAT networking)<br>
* booted into that new system<br>
* installed Perl<br>
(for vmware tools installer)<br>
* installed vmware tools<br>
(to get the X driver)<br>
(but none of the kernel modules, would need make/gcc/etc.)<br>
* deleted Perl<br>
(to restore the default sw environment)<br>
* copied the existing xorg-vmware.conf to xorg.conf<br>
(to get 1200x900 resolution w/ 200 dpi)<br>
* booted into Sugar<br>
(looks really nice so scaled down)<br>
* installed activities<br>
(took a long time, maybe it's my DSL)<br>
* tested a bit<br>
* rm -r ~olpc/.sugar<br>
(to remove my personal data)<br>
* should have deleted sshd host keys, too, but didn't<br>
* shut down<br>
* zip<br>
* upload<br>
* ...<br>
* ...<br>
* ...<br>
* still no profit? ;)<br>
<br>
Enjoy.<br>
<br>
And maybe remove some of the obstacles in future releases (a disk<br>
image with headroom and a standard kernel would be simple to do and go<br>
a long way).<br>
<br>
- Bert -<br>
<br>
_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Dave Bauer<br><a href="mailto:dave@solutiongrove.com">dave@solutiongrove.com</a><br><a href="http://www.solutiongrove.com">http://www.solutiongrove.com</a><br>