Sugar on a Stick: Difference between revisions

Marcopg (talk | contribs)
Marcopg (talk | contribs)
Line 43: Line 43:
=====From Linux=====
=====From Linux=====


# Plug in a 1GB or larger USB stick into your computer.
* Plug in a 1GB or larger USB stick into your computer.
# Download the shell script [http://katzj.fedorapeople.org/olpc/livecd-iso-to-disk.sh livecd-iso-to-disk.sh]
* Download the shell script [http://katzj.fedorapeople.org/olpc/livecd-iso-to-disk.sh livecd-iso-to-disk.sh]
# Run it as root, making sure to pass the correct device and to set overlay and home size appropriately, depending on the stick size.
* Check the USB device. In the example below the device is /dev/sda.
 
marcopg@marcopg-laptop:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda3              36G  3.9G  30G  12% /
/dev/sda1            7.5G  716M  6.8G  10% /media/disk
 
* Run it as root, making sure to pass the correct USB device and to set overlay and home size appropriately, depending on the stick size.
  sh ./livecd-iso-to-disk.sh --overlay-size-mb 500 --home-size-mb 500 Soas-200902201251.iso /dev/sdb1
  sh ./livecd-iso-to-disk.sh --overlay-size-mb 500 --home-size-mb 500 Soas-200902201251.iso /dev/sdb1