[Pharo-project] bootable Pharo image

Pavel Krivanek pavel.krivanek at gmail.com
Thu Nov 3 23:39:30 CET 2011


I tried to prepare a bootable Pharo ISO image based on Tiny Core
Linux. Namely on MicroCore (kernel 3.0.3) that was extended with WiFi
support. There is standard Pharo 1.3 image with OSProcess and
CommandShell installed on the Smalltalk side. The resultant image has
about 37 MB.


If you want to add it directly to your Grub menu, you may do it
without need of extra partition. To the grub.conf add something like:

title Pharo
	root (hd0,1)
	kernel /boot/pharo/vmlinuz vga=791 quiet
	initrd /boot/pharo/tinycore.gz

where vmlinuz and tinycore.gz are the only files needed from the ISO image.


zcat tinycore.gz | sudo cpio -i -H newc -d

find | cpio -o -H newc | gzip -2 > ../tinycore.gz

better compression:
advdef -z4 tinycore.gz

create ISO (you need unpacked original ISO image):
/bin/cp -pfr tinycore.gz boot
mkdir -p newiso
/bin/cp -pfr  boot newiso
mkisofs -l -J -R -V TC-custom -no-emul-boot -boot-load-size 4 \
 -boot-info-table -b boot/isolinux/isolinux.bin \
 -c boot/isolinux/boot.cat -o pharo.iso newiso

-- Pavel

More information about the Pharo-project mailing list