|
|
Line 34: |
Line 34: |
| [[File:USB flash drive.jpg|156px|link=Sugar on a Stick/Downloads]] | | [[File:USB flash drive.jpg|156px|link=Sugar on a Stick/Downloads]] |
| |valign=top| | | |valign=top| |
− | # '''Download''' the latest [[Sugar on a Stick/Downloads | Sugar on a Stick]] .iso file.<br><br>
| + | {{:Sugar on a Stick/Linux/Installation}} |
− | # '''Prepare''': (with '''root''' user permissions)
| |
− | #* Create a mount point directory: {{Code|mkdir /media/soas}}
| |
− | #* Mount the .iso file as a disk: {{Code|mount '''/path/to/source'''.iso /media/soas/}}
| |
− | #* Insert a USB stick of 2 GB or greater capacity into your computer.
| |
− | #* Use the {{Code|blkid}} or {{Code|df}} command to get the USB device node name.
| |
− | #* Unmount the USB device filesystem:<br>{{Code|umount /run/media/MyAccount/MyUSBdiscMountPoint}}
| |
− | #* (You should have the isomd5sum package installed so that the following installation script can verify the download.)<br><br>
| |
− | # '''Load''': Execute, as the '''root''' user in <u>one</u> command with arguments, the following:<br><div style="padding: 1em; border: 1px dashed #2F6FAB; background-color: #FBFBFB; margin: 1em 0px 1em 1.6em; font-family: Courier;">/media/soas/LiveOS/livecd-iso-to-disk --reset-mbr --overlay-size-mb '''500''' --home-size-mb '''900''' --delete-home --unencrypted-home '''/path/to/source'''.iso /dev/sd'''?'''1</div>
| |
− | #: where '{{Code|'''?'''}}' in the final parameter represents the target USB device node, such as {{Code|sd'''b'''1}} or {{Code|sd'''c'''1}}, etc. and {{Code|'''/path/to/source'''.iso}} is the location and name of the .iso file.<br><br>
| |
− | # '''Boot''': Insert the USB stick into a bootable USB port on your computer. Set the option to "boot from USB" in your computer's <abbr title="Basic Input/Output System">BIOS</abbr> setup, and then start up the computer.<br><br>
| |
− | | |
− | ::* You may create more Sugar Sticks on other 1 GB or greater USB or SD devices. In the Terminal Activity of a running ''Sugar on a Stick'', run this command as root:<br><div style="padding: 1em; border: 1px dashed #2F6FAB; background-color: #FBFBFB; margin: 1em 0px 1em 0em; font-family: Courier;">/run/initramfs/live/LiveOS/livecd-iso-to-disk --reset-mbr --overlay-size-mb '''200''' --home-size-mb '''150''' --delete-home --unencrypted-home /run/initramfs/livedev /dev/sd'''?'''1</div>
| |
| |} | | |} |
| | | |
Revision as of 12:22, 14 July 2012
Are you new to Sugar?
The quickest download is Sugar on a Stick. Basic instructions are found below:
Sugar on a Stick installation instructions
MS Windows
|
- Prepare: Download the Fedora Live USB Creator from FedoraHosted.
- Download the latest Sugar on a Stick .iso file.
- Load: Insert a USB flash drive (or SD Card) with 2 GB or more of free space into your computer and launch Fedora Live USB Creator to create a Sugar-on-a-Stick bootable image.
Note: Be sure to set the persistent storage slider to a non-zero value.
- Boot: Insert the USB stick into a USB port on your computer. Set the option to "boot from USB" in your computer's BIOS setup, and then start up the computer.
|
Detailed installation instructions for Windows and booting instructions are available. There is also a guide to exploring Sugar.
GNU/Linux
|
- Download the latest Sugar on a Stick .iso file.
- Prepare: (with root user permissions at a terminal or console command line)
- Load: Execute the following installation command, as the root user, in one command line with many options:
/run/soas/LiveOS/livecd-iso-to-disk --reset-mbr --overlay-size-mb 500 --home-size-mb 500 --unencrypted-home /path/to/downloaded.iso /dev/sd?1
- The '
? ' in the final parameter represents the target USB device scsi drive node, such as sdb1 or sdc1 , etc., and /path/to/downloaded.iso is the location and name of the .iso file.
- The operating system will occupy ~960 MB, and the overlay and home size arguments, 500 and 500, were selected to fit in a 2 GB device. These may be adjusted depending on your preferences and device capacity (see LiveOS image). On a 4 GB device, one might use 1000 and 1600 for the size arguments.
The installation transcript should look something like the following:
[<user>@<system> <working directory>]$ sudo /run/soas/LiveOS/livecd-iso-to-disk --reset-mbr --overlay-size-mb 500 --home-size-mb 500 --unencrypted-home /<path to>/Fedora-SoaS-Live-x86_64-30-1.2.iso /dev/sdc1
Verifying image...
/<path to>/Fedora-SoaS-Live-x86_64-30-1.2.iso: bac65eaf45ad370f6e9ddf793f436e33
Fragment sums: 82358a8de12fab19be3e83c22431837827fbe4b8be6d9be46695f853676f
Fragment count: 20
Supported ISO: no
Press [Esc] to abort check.
Checking: 100.0%
The media check is complete, the result is: PASS.
It is OK to use this media.
Copying LiveOS image to target device...
squashfs.img
887,312,384 100% 379.28MB/s 0:00:02 (xfr#1, to-chk=0/1)
Syncing filesystem writes to disc.
Please wait, this may take a while...
Setting up /EFI/BOOT
Updating boot config files.
Initializing persistent overlay...
500+0 records in
500+0 records out
524288000 bytes (524 MB, 500 MiB) copied, 0.354372 s, 1.5 GB/s
Initializing persistent /home
500+0 records in
500+0 records out
524288000 bytes (524 MB, 500 MiB) copied, 0.346354 s, 1.5 GB/s
Formatting unencrypted home.img
mke2fs 1.44.6 (5-Mar-2019)
Creating filesystem with 512000 1k blocks and 128016 inodes
Filesystem UUID: b32a4987-627e-4131-a863-7f6c9bcc2178
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
tune2fs 1.44.6 (5-Mar-2019)
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!
- Boot: Insert the USB stick into a bootable USB port on your computer. Set the option to "boot from USB" in your computer's BIOS setup, and then start up the computer.
-
- Replace
/dev/sd?1 with a new device node for the second USB/SD device that you want to load with Sugar on a Stick.
|
Detailed installation instructions for GNU/Linux and booting instructions are available. There is also a guide to exploring Sugar.
GNU/Linux users may also want to install the Sugar packages on their favorite distro, apart from Sugar on a Stick.
Apple Mac OS X
DRAFT: These instructions are incomplete. Please help with testing and documentation. In the meantime, we recommend the Virtual Machines instructions below.
Alternative installation instructions for Mac OS X. Also, these older installation instructions and booting instructions may be consulted.
There is also a guide to exploring Sugar.
Advanced users
Do you have an OLPC XO?
|
- Experiment with Updating XOs to the latest Sugar on a Stick release.
|
Some alternate installations
- Once you download, and then burn or load a Sugar on a Stick (SoaS) .iso file, and boot it, the running Fedora 17 SoaS Live CD/USB may be used to install Fedora with Sugar to a hard disk or a 4 GB USB stick with the
liveinst
command.
- - You start with a SoaS LiveOS image, and then load an uncompressed version onto the hard disk or USB stick.
- - The Fedora-17-Live-SoaS.iso file is a 509 MB download.
- If you have a high-speed Internet connection,
Fedora with the Sugar graphical learning environment may be installed to a hard disk or a a 4 GB USB stick with a Netinstall CD.
- - Not a compressed LiveOS image like SoaS, but all of Sugar.
- - This requires a high-speed Internet connection for software component downloading during installation.
Do you use GNU/Linux?
Sugar is supported by several GNU/Linux distributions. Sugar Labs does not support any specific distribution, but does focus development on Fedora and Debian, which helps SoaS and Ubuntu.
Please note:
- Development changes occur rapidly, and the text here lags the current state of systems development.
- For the latest information on any development project, visit their work sites.
Are you a developer?
|
Learn how to get setup on the Supported systems page.
Some additional references you may find useful:
|
Virtual Machines on all platforms
|
|
More Virtual Appliances
|
Sugar included in other GNU/Linux operating systems, and older versions.
- Also includes some VMware Player Appliances
|
If you run into problems, you may want to consult the Talk:VirtualBox page for help.
Are you preparing a deployment without Internet access?
Are you looking for Sugar Activities?