Talk:Sugar on a Stick/Mac

From Sugar Labs
Jump to navigation Jump to search

Burning a disk image file on a CD or DVD in Mac OS X

http://support.apple.com/kb/ht2087 "Burning a disk image file on a CD or DVD in Mac OS X"
   * Last Modified: May 06, 2009
   * Article: HT2087
   * Old Article: 93006
It's really easy to burn a disk image file using Disk Utility in Mac OS X 10.3 or later (or Disk Copy in Mac OS X 10.2.8 or earlier).

Products Affected

Mac OS X 10.4, Mac OS X 10.3, Mac OS X 10.2, Mac OS X 10.1, Mac OS X 10.0, Disk Utility, Mac OS X 10.5
Disk Utility (Mac OS X 10.3 or later)
  1. Open Disk Utility, in the Utilities folder (/Applications/Utilities).
  2. If the disk image you want to use doesn't appear in the list, drag its icon to the Disk Utility window.
  3. Select the disk image and click Burn.
  4. Insert a blank CD or DVD into your computer's optical drive and follow the onscreen prompts
Disk Copy (Mac OS X 10.0 through 10.2.8)
  1. Open Disk Copy in the Utilities folder (/Applications/Utilities).
  2. From the File menu, choose Burn Image. Don't open the disk image file before choosing this command.
  3. A navigation dialog appears. Locate and select the disk image file.
  4. Click Burn.
  5. When prompted, insert a blank disc into the optical media drive.
  6. Click Burn.
Depending on your computer's settings, the drive will eject the disc, or it will appear on the desktop when the burn is successfully completed.
Note: When burning a disc from a disk image, the burned disc will have the same format as the disk image. If you need a disc that will work on different computers, burn the disc in the Finder.

Downloading and Burning the Sugar Creation Kit.iso on a MAC

# sugar IRC Session:Nov 9 2010:

added by satellit
<Quozl> GrannieB: in Terminal, please type this:
<Quozl> cd Desktop ; curl -OC - http://people.sugarlabs.org/Tgillard/SugarCreationKit-123.md5
<Quozl> GrannieB: it is easiest to cut and paste the above.
<Quozl> GrannieB: it will complete very quickly, and you will have an .md5 file.  Next, please type this:
<Quozl> curl -OC - http://people.sugarlabs.org/Tgillard/SugarCreationKit-123.iso
<GrannieB> including "cd-desktop"?
<Quozl> ... it will take a long time.
<Quozl> GrannieB: the exact spelling, spacing, and everything is critical.
<Quozl> Terminal is very unforgiving.
<Quozl> The "cd Desktop" just makes sure that what you do next happens to your Desktop folder.
<GrannieB> should I stop it and start over with that in it?
<Quozl> GrannieB: I explicitly left the "cd Desktop" out of the second command, hope you did to.
<GrannieB> yes. I did
<Quozl> GrannieB: I see no reason to stop it.  If you left out "cd Desktop" altogether, even on the first command, all that happens is the files show up in your home directory, which is the folder above the Desktop.
<Quozl> GrannieB: if the download stops prematurely, you can restart it by repeating that second command.  It will resume from where it left off.
<Quozl> GrannieB: I recall your internet service is a bit dodgy and may cause this occasionally, so a 16 hour download makes it even more likely.
<GrannieB> OK  I'll remember to look there.
<GrannieB> can you run me through how to do the checksum?
<Quozl> GrannieB: sure.  You can practice even now, in another Terminal window, though you won't get the right result until it finishes.  Start a new Terminal window, then ...
<Quozl> cd Desktop ; md5 SugarCreationKit-123.iso
<GrannieB> got one
<Quozl> cat SugarCreationKit-123.md5
<Quozl> GrannieB: the first command will add up all the bytes (generate a hash) of the download so far.
<Quozl> GrannieB: the second command will print out the result you *should* get, which satellit_afk put in his .md5 file.
<Quozl> GrannieB: after the download, those two long numbers should suddenly be the same.
<Quozl> 0d335232bb5ca0565cef120dbeecff21 is what satellit_afk said the number should be.
<GrannieB> OK  I'll save this for tomorrow.  It is speeding up.  The clock is running about 1min for every 3 sec!
<GrannieB> if it stalls... what is the command to restart?
<GrannieB> maybe I should wrtie this up and put it in the wikis for Mac users
<Quozl> GrannieB: if it stalls, it should automatically restart and resume, but if you have to stop it, use Ctrl/C, then to restart enter the command again.  The simplest way to enter a command again is to up arrow then enter.  It's not a Mac skill, you're just using UNIX.
<GrannieB> But mac most mac users haven't a clue what either unix or terminal are
<Quozl> GrannieB: just to reinforce the learning ... you're using curl so that you are in better control of the download progress, and you're using md5 to prove download success without having to download again.  neither of these features are included in safari.
<GrannieB> boy... you are really right on that!  now, when I run the checksum tomorrow, what if it comes up incorrect? can it be fixed or do I have to do the download all over?
<Quozl> GrannieB: if it comes up incorrect, try to continue the download using that second curl command.
<Quozl> GrannieB: you can also check the size of the file with Get Info, or "ls -l *.iso", and it should be 4050157568 bytes.
<Quozl> GrannieB: if an md5 is incorrect, almost always it is because download stopped prematurely.



Install Sugar-on-a-stick on Mac OS X

Can someone give me steps on how to install Sugar-on-a-stick into a Sandisk Cruzer U3 Titanium Plus 4GB using a Mac? I typed in "df -h" on Terminal and it gave me this:
Filesystem      Size   Used  Avail Capacity  Mounted on
/dev/disk0s2    54Gi   29Gi   25Gi    54%    /
devfs          107Ki  107Ki    0Bi   100%    /dev
fdesc          1.0Ki  1.0Ki    0Bi   100%    /dev
map -hosts       0Bi    0Bi    0Bi   100%    /net
map auto_home    0Bi    0Bi    0Bi   100%    /home
/dev/disk0s3    20Gi   10Gi   10Gi    50%    /Volumes/NO NAME
/dev/disk1s1   3.8Gi  455Mi  3.4Gi    12%    /Volumes/NO NAME 1

When I type in "fdisk -l", it gives me an "Invalid Arguement" error. -Can someone help me? -Hamsterkirby 22:45, 7 April 2009 (UTC)