Sugar on a Stick/Macintosh: Difference between revisions

Satellit (talk | contribs)
m Building a bootable Mac USB (new subpage)
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=====Building a bootable Mac USB=====
__TOC__
===Macintosh Booting USB sticks===
Used the installation shell script '''tools_livecd-iso-to-disk.sh''' with the {{Code|--format --efi}} on the USB stick.
: in a Fedora 17 GNOME 3 hard disk installation --[[User:Satellit|Satellit]] 23:24, 10 April 2012 (EDT)
====Installation script transcript====
Desktop# ./tools_livecd-iso-to-disk.sh --format --efi --overlay-size-mb 300 --home-size-mb 175 --delete-home --unencrypted-home Fedora-17-Beta-x86_64-Live-Desktop.iso /dev/sdc1
Verifying image...
./tools_livecd-iso-to-disk.sh: line 900: checkisomd5: command not found
Are you SURE you want to continue?
Press Enter to continue or ctrl-c to abort
WARNING: THIS WILL DESTROY ANY DATA ON /dev/sdc!!!
Press Enter to continue or ctrl-c to abort
wipefs: WARNING: /dev/sdc: appears to contain 'gpt' partition table
Waiting for devices to settle...
Copying live image to target device.
squashfs.img
    658305024 100%    4.33MB/s    0:02:25 (xfer#1, to-check=0/1)
sent 658385457 bytes  received 31 bytes  4524986.17 bytes/sec
total size is 658305024  speedup is 1.00
osmin.img
        8192 100%    0.00kB/s    0:00:00 (xfer#1, to-check=0/1)
sent 8265 bytes  received 31 bytes  16592.00 bytes/sec
total size is 8192  speedup is 0.99
Updating boot config file
Initializing persistent overlay file
300+0 records in
300+0 records out
314572800 bytes (315 MB) copied, 77.7406 s, 4.0 MB/s
Initializing persistent /home
175+0 records in
175+0 records out
183500800 bytes (184 MB) copied, 39.9797 s, 4.6 MB/s
Formatting unencrypted /home
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
44880 inodes, 179200 blocks
8960 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
22 block groups
8192 blocks per group, 8192 fragments per group
2040 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729
Writing inode tables: done                           
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 20 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
tune2fs 1.41.14 (22-Dec-2010)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Installing boot loader
Target device is now set up with a Live image!
 
===Building a bootable Mac USB stick===
:: (tested on a MacBook Air)
:: (tested on a MacBook Air)
:1 '''Boot Intel Mac'''
:1 '''Boot Intel Mac'''
Line 46: Line 105:
# Wireless connection does not work. Use an USB Ethernet Adapter for Internet Connectivity
# Wireless connection does not work. Use an USB Ethernet Adapter for Internet Connectivity
# you can eject a USB CD/DVD drive, if used (In bottom right of sugar frame) and unplug the CD/DVD USB connector from the Mac. It will not be needed until next time you boot the Live USB
# you can eject a USB CD/DVD drive, if used (In bottom right of sugar frame) and unplug the CD/DVD USB connector from the Mac. It will not be needed until next time you boot the Live USB
# '''Note Do Not try to Boot this USB outside of intel MAC with boot disk It becomes corrupted if boot is attempted as standalone Live Soas in a Netbook'''
{{Note/important|Important|Do NOT try to boot this USB stick except on an Intel MAC with a boot disk—It becomes corrupted if a boot is attempted as standalone Live SoaS on a Netbook}}