{"id":381,"date":"2010-09-09T18:29:53","date_gmt":"2010-09-09T23:29:53","guid":{"rendered":"http:\/\/otac.isa-geek.net\/blog\/?p=381"},"modified":"2010-09-09T18:29:53","modified_gmt":"2010-09-09T23:29:53","slug":"olpc-emulation-under-virtualbox","status":"publish","type":"post","link":"https:\/\/otac.isa-geek.net\/blog\/?p=381","title":{"rendered":"OLPC Emulation under VirtualBox"},"content":{"rendered":"<p>As I&#8217;ve had an ongoing interest in the <a href=\"http:\/\/laptop.org\/en\/\">One Laptop Per Child (OLPC<\/a>) initiative for sometime, I thought it would be interesting to try out the latest release of the environment &#8211; once again, using my favourite virtualization solution, <a href=\"http:\/\/www.virtualbox.org\/\">VirtualBox<\/a>.<\/p>\n<p>To get started, I downloaded the latest image for the shipping OLPC bootable environment, which is based on Linux and a graphical interface called <a href=\"http:\/\/wiki.laptop.org\/go\/Sugar\">Sugar<\/a>. Since the file comes down compressed in bzip format, I extracted the img file using bunzip; of course, one could use any compatible unzip utility.<\/p>\n<p><strong>duanecato@ino:~\/downloads$<\/strong> <strong>wget http:\/\/download.laptop.org\/xo-1\/os\/official\/767\/ext3\/xo-1-olpc-stream-8.2-build-767-20081001_1633-devel_ext3.img.bz2<\/strong><\/p>\n<p><strong>duanecato@ino:~\/downloads$ ls <\/strong><strong> xo-1-olpc-stream-8.2-build-767-20081001_1633-devel_ext3.img.bz2<\/strong><strong><br \/>\nxo-1-olpc-stream-8.2-build-767-20081001_1633-devel_ext3.img.bz2<br \/>\nduanecato@ino:~\/downloads$ bunzip xo-1-olpc-stream-8.2-build-767-20081001_1633-devel_ext3.img.bz2<\/strong><\/p>\n<p>The next step was to convert the image file to a bootable virtual machine usable by VirtualBox. For this, I used the Virtual box VManage command:<br \/>\n<strong> duanecato@ino:~\/downloads$ VBoxManage convertdd xo-1-olpc-stream-8.2-build-767-20081001_1633-devel_ext3.img xo-1-olpc-stream-8.2-build-767-20081001_1633-devel_ext3.vdi<br \/>\nOracle VM VirtualBox Command Line Management Interface Version 3.2.8<br \/>\n(C) 2005-2010 Oracle Corporation<br \/>\nAll rights reserved.<\/strong><\/p>\n<p><strong>Converting from raw image file=&#8221;xo-1-olpc-stream-8.2-build-767-20081001_1633-devel_ext3.img&#8221; to file=&#8221;xo-1-olpc-stream-8.2-build-767-20081001_1633-devel_ext3.vdi&#8221;&#8230;<br \/>\nCreating dynamic image with size 972636672 bytes (928MB)&#8230;<\/strong><br \/>\n<strong> duanecato@ino:~\/downloads$<\/strong><\/p>\n<p>I then configured a new virtual machine in the VirtualBox manager with the converted OLPC image as the bootable hard disk:<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p><div id=\"attachment_396\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/OLPC-Create-New-Virtual-Machine.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-396\" class=\"size-thumbnail wp-image-396\" title=\"OLPC-Create New Virtual Machine\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/OLPC-Create-New-Virtual-Machine-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-396\" class=\"wp-caption-text\">OLPC-Create New Virtual Machine<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_392\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/OLPC-Create-New-Virtual-Hard-Disk.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-392\" class=\"size-thumbnail wp-image-392\" title=\"OLPC-Create New Virtual Hard Disk\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/OLPC-Create-New-Virtual-Hard-Disk-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-392\" class=\"wp-caption-text\">OLPC-Create New Virtual Hard Disk<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_393\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/OLPC-Virtual-Media-Manager-2.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-393\" class=\"size-thumbnail wp-image-393\" title=\"OLPC-Virtual Media Manager-select new hard drive\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/OLPC-Virtual-Media-Manager-2-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-393\" class=\"wp-caption-text\">OLPC-Virtual Media Manager-select new hard drive<\/p><\/div><\/td>\n<\/tr>\n<tr>\n<td>\n<p><div id=\"attachment_394\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/OLPC-Select-a-hard-disk-image-file.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-394\" class=\"size-thumbnail wp-image-394\" title=\"OLPC-Select a hard disk image file\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/OLPC-Select-a-hard-disk-image-file-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-394\" class=\"wp-caption-text\">OLPC-Select a hard disk image file<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_398\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/OLPC-Summary-Create-New-Virtual-Machine.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-398\" class=\"size-thumbnail wp-image-398\" title=\"OLPC Summary-Create New Virtual Machine\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/OLPC-Summary-Create-New-Virtual-Machine-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-398\" class=\"wp-caption-text\">OLPC Summary-Create New Virtual Machine<\/p><\/div><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The next step was to simply start the virtual machine, giving the standard OLPC \u00a0boot screen, followed by the familiar Sugar environment:<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p><div id=\"attachment_390\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/OLPC-boot.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-390\" class=\"size-thumbnail wp-image-390\" title=\"OLPC booting\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/OLPC-boot-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-390\" class=\"wp-caption-text\">OLPC booting<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_389\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/OLPC-Sign-in.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-389\" class=\"size-thumbnail wp-image-389\" title=\"OLPC Sign in\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/OLPC-Sign-in-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-389\" class=\"wp-caption-text\">OLPC Sign in<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_386\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/OLPC-Desktop.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-386\" class=\"size-thumbnail wp-image-386\" title=\"OLPC Sugar Desktop\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/09\/OLPC-Desktop-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-386\" class=\"wp-caption-text\">OLPC Sugar Desktop<\/p><\/div><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Although these instructions allow one to quickly boot and try out the OLPC environment, the mesh networking functionality remains disabled due to the limited network driver support provided by the VirtualBox environment. An interesting addition to this exercise might be to try out a USB Wifi device \u00a0with the virtual OLPC environment, and see if it is detected, and allows integration with the OLPC network.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I&#8217;ve had an ongoing interest in the One Laptop Per Child (OLPC) initiative for sometime, I thought it would be interesting to try out the latest release of the environment &#8211; once again, using my favourite virtualization solution, VirtualBox. To get started, I downloaded the latest image for the shipping OLPC bootable environment, which [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,58,57,59,54,52],"tags":[],"class_list":["post-381","post","type-post","status-publish","format-standard","hentry","category-linux","category-olpc","category-oracle-virtualbox","category-sugar","category-sun-virtualbox","category-virtualization"],"_links":{"self":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/381","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=381"}],"version-history":[{"count":0,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/381\/revisions"}],"wp:attachment":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}