id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,distribution,status_field 4389,Implement and document how to run Sugar in a Chroot environment.,danielfrancis,danielfrancis,"Sugar is supported in up-to-date GNU/Linux distributions. When a distribution has old packages, it doesn't use package managers, or other reasons to don't support it in sugar-build, the way I found to build and run Sugar is installing a supported distribution in another disk partition and using chroot to run commands as in the supported distribution. The procedure I'm using to mount and chroot (all as root): The command xchroot is this script: http://www.elstel.com/xchroot/xchroot-v2.1 It does easier the way to run X applications. $ su # mount /dev/sda1 /mnt/ubuntu # mount /dev/sda5 /mnt/ubuntu/home # cd /mnt/ubuntu # mount --bind /dev dev # mount --bind /proc proc # # Sometimes you need to copy /etc/resolv.conf to etc # xchroot . # su sdf # Ubuntu user which has built Sugar $ cd ~/sugar-build $ make shell [$] sugar-emulator ---- sugar-emulator works for me, but I get an error when using make run and sugar-runner. The log was: http://people.sugarlabs.org/francis/logs/sugar-run.log I'll be testing and trying to document the procedure. Also I'll attach some patches to sugar-runner to allow to run correctly in a chroot environment. ",task,closed,Unspecified by Maintainer,,Sugar,Git as of bugdate,Minor,wontfix,,dnarvaez,Ubuntu,Assigned