From Sugar Labs
Jump to navigation Jump to search

Sugar on Caixa Mágica, the Magellan project

Linux Caixa Magica 15 (English Translation) Main Page

Magalhães is a Caixa Mágica based GNU/Linux distribution.


Persistent USB.img files for dd install

based on mandriva 2010.1 repositories
USB .img file used as follows: ( /dev/sd(x) = address of your 4GB USB )
root/home/(user)/Desktop# dd if=caixamagica-linux-usb-15-GNOME-int-usb-i586_4Gb.img of=/dev/sd(x)
7782768+0 records in
7782768+0 records out
3984777216 bytes (4.0 GB) copied, 1133.2 s, 3.5 MB/s
  • Hint: use an 8 GB USB after dd writing. Use gparted to resize the 3.8GB partition to 7.8GB.
Then Boot PC from the stick and make the persistent partition 1.8GB.
This allows enough room for all of the updates and installation of sugar 0.88.0.
(I found 3.8 partition wiht 1.0GB persisetece file did fill up and stop working)
root# dd if=caixamagica-linux-usb-15-KDE4-int-usb-i586_8Gb.img of=/dev/sd(x)
15565536+0 records in
15565536+0 records out
7969554432 bytes (8.0 GB) copied, 2207.16 s, 3.6 MB/s
  • USB Boots to install screens which sets Tz Keyboard Language etc. and then sets up a USB with 1000 persistence file (I change this to 1900)
Install sugar 0.88.0
  1. Upgrade system (large number of files)
  2. search for "task-sugar" in synaptic
  3. install (103)files note: this does not seem to install all files needed for sugar-desktop to work.
  4. restart
  5. search for "sugar" in synaptic
  6. Select all sugar entries
  7. install (103-105 files)
  8. start sugar do Control Panel Software Update (10 activities) 02/13/2011


caixamagica-linux-live-15-final-GNOME-int-cdrom-i586 with sugar 0.88.0
satellit updated this section 02/09/2011
  1. install in VB4 with .iso
  2. Select language English on boot screen before installing it.
  3. If you are using VirtualBox clear the .iso from CD before starting virtual appliance.
  4. Start Virtual Appliance
  5. start symantic
  6. reload
  7. search task-sugar ( task-sugar 0.88.0-1mdv2010.1 Sugar Platform)
  8. select; apply
  9. Update: System/Administration/software-updater ( It may take a long time )
  10. log out
  11. log in with (gdm) selected to sugar in "sessions" on bottom bar OR
  12. install sugar-emulator with Synaptic Package Manager (Search: sugar-emulator)
sugar-emulator 0.88.00mdv2010.1
  • Note: Caixa Magica Live USB Creator (xcm-liveusb-creator) Does not seem to work in VirtualBox4
Setup repositories on Caixa Mágica box
  • Note this is older information for version 12 and not tested lately
satellit 02/09/2011

Get it:

wget -c

Create a disk image:

qemu-img create -f raw caixamagica.raw 3G

Install it:

kvm -m 512 -hda caixamagica.raw -cdrom caixamagica-linux-12-live-GNOME-pt_PT-cdrom-i586.iso -boot d

Boot, log in as root and add an user:

adduser sugar
password sugar

Add repositories:

urpmi.addmedia sugar
urpmi.addmedia main
urpmi.addmedia main_update --update
urpmi.addmedia contrib
urpmi.addmedia contrib_update --update
Setup repositories on Magalhães box

No root password available 01/22/2011 satellit

If you don't have installed Magalhães:
  • download VM image
  • untar it
  • start kvm with untared .vmdk file like with common kvm's disk image

Add repositories:

urpmi.addmedia sugar
Install sugar packages

To install core components (services, window manager, journal etc.) type:

sudo urpmi sugar-glucose 

To install core activities type:

sudo urpmi sugar-fructose

Or to install the SugarPlatform(sugar-glucose + sugar-fructose + honey's deps):

sudo urpmi task-sugar


Sugar packages are being built by jhconvert and follow its matrix of package versions.


  • 0.84.x


Sugar repository includes some stuff that installed in /opt/sugar. When sugar doesn't start make sure that proper exports present(look at /usr/bin/sugar)