Difference between revisions of "Macintosh"

From Sugar Labs
Jump to navigation Jump to search
m
(Sugar on a Stick section)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>[[Category:HowTo]]
+
<noinclude>[[Category:HowTo]][[Category:Apple Macintosh]][[Category:Supported systems]]</noinclude>
[[Category:Apple Macintosh]]
 
</noinclude>
 
  
There are many options for using Sugar on an Apple Macintosh Computer.
+
There are many options for using Sugar on an Apple Macintosh Computer.<br><br>
 
{{Definition_table
 
{{Definition_table
 
|width=12em|Taste of Sugar | <!-- Read only LiveOS image
 
|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 [[Sugar_on_a_Mac/Taste_of_Sugar | go here...]]
+
--> 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 [[#Restart.2C_Play._Restart.2C_Mac. | go here...]]
|Sugar in a Window | <!--Virtualization of a Linux OS with Sugar installed  
+
|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...  ]]
+
--> 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. [[#Click_Sugar._Click_Mac. | Read more...  ]]
 
|Sugar on Linux | <!-- Bootable installation of a Linux OS with Sugar installed  
 
|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... ]]
+
--> 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. --> [[#Farewell_Mac._Hello_Sugar.| Read more... ]]
 +
|Sugar on a Stick | On some Intel Macs, [[Sugar on a Stick]] can be loaded on a USB flash storage device and booted on the computer. [[#Sugar on a Stick for Mac| See below...]]
 
}}
 
}}
<br><br><br>
+
__TOC__
{{Anchor|1}}
+
{{Note/help|Please help:| Assistance is needed from Macintosh system experts to document installing or running  a Fedora LiveOS image on a Mac.}}
==Restart, '''Play.''' Restart, '''Mac.'''==
+
{{Note/note|Note:|See this [http://bugzilla.redhat.com/show_bug.cgi&#63;id&#61;528232 Fedora bug]. Apparently, Fedora 16 (Fall 2011) will have kernel support for EFI booting.}}
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>
+
{{:Macintosh/Live CD}}
For protection against tampering and transmission errors, '''always compare the checksum of each download'''.
+
{{:Macintosh/Sugar in a window}}
<br><br>
+
{{:Macintosh/run Linux}}
 +
== Sugar on a Stick for Mac ==
 +
'''Sugar on a Stick''' loaded USB devices should run on Intel Macs.
  
'''To calculate a file's SHA-1 checksum'''<br>
+
See [[Sugar on a Stick/Macintosh]] for a Fedora 17 test from April 2012.
<!-- "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>
+
{{Outdated}}
* Insert the CD you burned.
+
Follow these instructions '''every time''' you wish to use your '''Sugar on a Stick''' device on an Intel Mac:
* Press the Power Button on the Intel Mac. If a dialog box appears, press the Restart Button.
+
* Boot the Mac with the boot-helper CD  
* During the startup sound, press and hold the letter C.<br> If the apple logo appears, Sugar is not booting. Restart and try again.
+
* Interrupt the boot sequence
**the C key must be pressed during the startup sound and you must continue to hold it down.
+
* edit the kernel parameters
**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
 
  vmlinuz0 initrd=initrd0.img root=LABEL=FEDORA rootfstype=iso9660 rw liveimg overlay=LABEL=soas-2-blueberry quiet rhgb selinux=0
*continue the boot.
+
* 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 -->
 
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
+
# Download the boot helper from: http://www.wronkiewicz.net/soas-4-boot-test.iso for Mango Lassi
 +
#: http://www.wronkiewicz.net/soas-3-boot-test.iso for Mirabelle
 +
#: http://download.sugarlabs.org/soas/releases/soas-2-boot.iso for Blueberry
 
# Put in the boot-helper CD
 
# Put in the boot-helper CD
 
# Plug in the USB
 
# Plug in the USB

Latest revision as of 18:17, 7 July 2012


There are many options for using Sugar on an Apple Macintosh Computer.

Taste of Sugar 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 go here...
Sugar in a window 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. Read more...
Sugar on Linux 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. Read more...
Sugar on a Stick On some Intel Macs, Sugar on a Stick can be loaded on a USB flash storage device and booted on the computer. See below...


Question.png
Please help:
Assistance is needed from Macintosh system experts to document installing or running a Fedora LiveOS image on a Mac.
35px-Activity-write.png
Note:
See this Fedora bug. Apparently, Fedora 16 (Fall 2011) will have kernel support for EFI booting.


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.

To Get Started

  • Download Sugar on a Stick (Choose the 64-bit version, if possible, for increased compatibility.)

Click to discover the processor at the heart of your Mac.

Verify the file was downloaded properly by calculating its SHA-1 checksum
For protection against tampering and transmission errors, always compare the checksum of each download.

To calculate a file's SHA-1 checksum
Open the Terminal Utility and type into the Terminal Window. Press the return key to run the command.
Replace mySugarFlavor with the name of the file you downloaded.

  • Mac OS version ≥10.6
    shasum ~/Downloads/mySugarFlavor.iso
  • Mac OS version ≤10.5
    openssl sha1 ~/Downloads/mySugarFlavor.iso
  • Compare the result to the official SHA-1 checksum stored at Sugar Labs.

To burn onto CD

  • 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 PCs including Intel Mac. Please burn many copies and share them freely.

To try a Taste of Sugar

  • 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.
    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 Blue Boot Screen Welcome to Fedora-.......appears
  • Hit <TAB> and add this to the line of commands at the bottom: nomodeset xdriver=vesa
  • Hit <Return> and cd will boot after several messages
This works with
  1. SoaS v4 Mango Lassi Soas v4 Soas Boots on Mac Air
  2. SoaS v3 Mirabelle



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 Sugar in a Window or Sugar on Linux to install Sugar for a learner.


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 has a free to use license. Learn how to use it here: VirtualBox. Instructions for other applications may be available on this wiki and elsewhere.
Note: Virtualization doesn't have the same speed penalty as emulation. The use of Intel processor Emulation on PowerPC Mac is not recommended. Due to the processing speeds of PowerPC Macs, installing Linux and Sugar will drastically outperform emulation.


Farewell Mac. Hello Sugar.

Linux runs on Mac.
Sugar runs on Linux.
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.

To identify the Mac's processor and OS X version
Choose Apple menu > About This Mac. A small window will appear titled About This Mac. The processor architecture should be in the window. Note: Sugar on a Stick is for the Intel architecture only. Macs with PowerPC will need to get their Sugar from a Linux distribution.


To get started, get Linux
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.

Intel architecture


PowerPC architecture
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.



Sugar on a Stick for Mac

Sugar on a Stick loaded USB devices should run on Intel Macs.

See Sugar on a Stick/Macintosh for a Fedora 17 test from April 2012.


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 Windows and Linux

  1. Download the boot helper from: http://www.wronkiewicz.net/soas-4-boot-test.iso for Mango Lassi
    http://www.wronkiewicz.net/soas-3-boot-test.iso for Mirabelle
    http://download.sugarlabs.org/soas/releases/soas-2-boot.iso for Blueberry
  2. Put in the boot-helper CD
  3. Plug in the USB
  4. Turn on the Mac
  5. 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.