7,957 bytes added
, 01:57, 12 May 2010
<noinclude>[[Category:HowTo]]
[[Category:Apple Macintosh]]
</noinclude>
There are many options for using Sugar on an Apple Macintosh Computer.
{{Definition_table
|width=12em|Taste of Sugar | <!-- Read only LiveOS image
--> provides a safe read-only experience that does not alter your Mac. Get to know the Sugar Learning Platform by using it first hand. The quickest way to experience Sugar is to [[#1 | go here...]]
|Sugar in a Window | <!--Virtualization of a Linux OS with Sugar installed
--> installs to a directory on your Hard Disk. In a Window or Full Screen you can switch between Mac and Sugar instantly. Your journal is safe and remembered between restarts. [[#2 | Read more... ]]
|Sugar on Linux | <!-- Bootable installation of a Linux OS with Sugar installed
--> Linux runs on Apple computers long after Apple discontinues support. There are many choices available for easy installation; but after first boot, their support for Sugar varies. <!--Those stating educational focus may provide a better experience. But this is baseless bias. --> [[#3 | Read more... ]]
}}
<br><br><br>
{{Anchor|1}}
==Restart, '''Play.''' Restart, '''Mac.'''==
Get a hands on experience with Sugar by booting from a CD. Restart and return to your Mac, completely unchanged. This is the easiest way to get a '''Taste of Sugar''' on a Mac.
<br><br>
'''To Get Started''' pick a flavor:<br>
* [http://download.sugarlabs.org/soas/releases/soas-1-strawberry.iso Strawberry v1] for intel processor
* [http://download.sugarlabs.org/soas/releases/soas-2-blueberry.iso Blueberry v2] for intel processor
* [http://alt.fedoraproject.org/pub/alt/nightly-composes/soas/ Mirabelle beta] for intel processor
* [[#3 | Linux]] for powerPC processor
[[#4 | Click to discover the processor]] at the heart of your Mac.
Verify the file was downloaded properly ''by calculating its [http://download.sugarlabs.org/soas/releases/SHA1SUM SHA-1 checksum]''<br>
For protection against tampering and transmission errors, '''always compare the checksum of each download'''.
<br><br>
'''To calculate a file's SHA-1 checksum'''<br>
<!-- "md5" will work too, but creates a different checksum e.g. ''$ md5 /Downloads/soas-2-blueberry.iso'' -->
Open the Terminal Utility and type into the Terminal Window. Press the return key to run the command.<br>
''Replace mySugarFlavor with the name of the file you downloaded.''
*Mac OS version ≥10.6<br> <big> <code> shasum ~/Downloads/mySugarFlavor.iso</code></big>
* Mac OS version ≤10.5<br> <big> <code> openssl sha1 ~/Downloads/mySugarFlavor.iso</code></big>
* Compare the result to the official [http://download.sugarlabs.org/soas/releases/SHA1SUM SHA-1 checksum] stored at Sugar Labs.<br><br>
'''To burn onto CD'''<br>
* Open the Disk Utility. Drag the downloaded .iso file to the bottom of the list.
* Select your flavor .iso in the list, then press the Burn button.
* Insert a blank CD disc when prompted.
The CD created is '''bootable in most PC'''s including Intel Mac. Please burn many copies and share them freely.
<br><br>
'''To try a Taste of Sugar'''<br>
* Insert the CD you burned.
* Press the Power Button on the Intel Mac. If a dialog box appears, press the Restart Button.
* During the startup sound, press and hold the letter C.<br> If the apple logo appears, Sugar is not booting. Restart and try again.
**the C key must be pressed during the startup sound and you must continue to hold it down.
**you may release the c key once the Sugar logo appears.
<br>
A Taste of Sugar is a safe read-only experience that doesn't write or remember anything. Unfortunately, this means the Journal is not saved. Nothing is saved. '''All learner progress is lost when the machine reboots.''' A Taste of Sugar is only a demonstration and is not intended to be used on a recurring basis. See [[#2 | Sugar in a Window]] or [[#3 | Sugar on Linux]] to install Sugar for a learner.
<br><br><br>
{{Anchor|2}}
==Click '''Sugar'''. Click '''Mac'''.==
Use Mac and Sugar at the same time on the same computer. '''Sugar in a Window''' allows you to switch instantly between them. This is the most flexible way of using Sugar on an intel Mac.
*The Journal is saved to disk, so a learner's work is preserved.
*Multiple learners may share the same machine with minor effort.
*Sugar shares your Mac's media effortlessly. CD/DVD, Network, etc.
All this is possible by using Virtual Machine software. Virtualization puts an entire computer into a file on your Intel Mac. Install Sugar in that file and boot it with a Virtual computer. Once the boot finishes, you have '''Sugar in a Window'''. There are many virtualization applications for Intel Mac, to name a few:
*VirtualBox
*Parallels
*Fusion
VirtualBox has a free to use license. Learn how to use it here: [[VirtualBox#OS_X |VirtualBox]]. Instructions for other applications may be available on this wiki and elsewhere.<br> '''Note:''' Virtualization doesn't have a speed penalty like emulation. The use of intel processor Emulation on powerPC Mac is not recommended. Due to the aging speeds of powerPC Macs, installing Linux and Sugar will drastically outperform emulation.
<br><br><br>
{{Anchor|3}}
==Farewell '''Mac'''. Hello '''Sugar'''.==
Linux runs on Mac.<br>
Sugar runs on Linux.<br>
A two step install of both Linux then Sugar onto an erased Hard Drive will work on most Macintosh computers including powerPC Mac and Intel Mac. <br><br>
{{Anchor|4}}
'''To identify the Mac's processor and OS X version'''<br>
Choose '''Apple menu''' > About This Mac. A small window will appear titled ''About This Mac''. The processor type should be in the window.<br>Note: ''Sugar on a Stick is for the intel processor only. Macs with powerPC will need to get their sugar from a Linux distribution.''<br> <br>
'''To get started, get Linux'''<br>
Sugar has been ported by the major Linux distributions and many minor ones. There are many choices available for easy installation; but after first boot, their support for Sugar varies. Search the internet for Linux Mac powerPC Install. Once you've found a version of Linux for your processor, search within to see if Sugar is pre-packaged for easy install and what support or discussions they've had. <!--Those stating educational focus may provide a better experience. But without published reviews, this is baseless bias. --> <!-- Two distributions leave powerPC unsupported: Sugar on a Stick and Toast ''aka Trisquel education distribution'' -->
<br><br><br><br>
<big>'''Other ways to get Sugar on your Mac'''</big><br>
'''Sugar on a Stick''' loaded USB devices should run on Intel Macs. Follow these instructions '''every time''' you wish to use your '''Sugar on a Stick''' device on an intel Mac:
*Boot the Mac with the boot-helper CD
*interrupt the boot sequence
*edit the kernel parameters
vmlinuz0 initrd=initrd0.img root=LABEL=FEDORA rootfstype=iso9660 rw liveimg overlay=LABEL=soas-2-blueberry quiet rhgb selinux=0
*continue the boot.
You can create a '''Sugar on a Stick''' device with a Mac. However, to save the Journal you must create your stick on a PC or Linux machine: Instructions for [[Sugar_on_a_Stick/Windows|Windows]] and [[Sugar_on_a_Stick/Linux|Linux]] <!-- Have you tried to run the livecd-iso-to-disk bash script with --efi option on a 32-bit Intel Mac? (do they exist?) (would a bash script even run? could it be modified to run on a Mac, for example, substitute $(readlink -f "$2") calls with $(readlink "$2") and whatever else is required?) See http://www.mail-archive.com/soas@lists.sugarlabs.org/msg01010.html and https://answers.edge.launchpad.net/soas/+question/95622 -->
# Download the boot helper from: http://download.sugarlabs.org/soas/releases/soas-boot.iso
# Put in the boot-helper CD
# Plug in the USB
# Turn on the Mac
# At the chime press the "C" key
The Mac should boot first from the CD then from the USB device.
As of 12 April 2009, this is experimental. Let us know what results you get.