Talk:SoaS Blueberry Instructions

From Sugar Labs
Jump to navigation Jump to search

With the soas-2-blueberry.iso, leave out the 3 options for a separate persistent home:

  • The older version of the script, shown below, will complete successfully, but the new installation startup process will have trouble finding the home folder and fail to complete.
  • Use this script for soas-v2-Blueberry.iso: (/dev/sd(x)1 is your USB device) use partition manager to determine what it is.
   sudo ./livecd-iso-to-disk.sh --overlay-size-mb 400  soas-2-blueberry.iso /dev/sd(x)1

Sample Install

# ./livecd-iso-to-disk.sh --overlay-size-mb 400 --delete-home ./soas-2-blueberry.iso /dev/sd(x)1
Verifying image...
./livecd-iso-to-disk.sh: line 385: checkisomd5: command not found
Are you SURE you want to continue?
Press Enter to continue or ctrl-c to abort
Copying live image to USB stick
Updating boot config file
Initializing persistent overlay file
400+0 records in
400+0 records out
419430400 bytes (419 MB) copied, 48.6429 s, 8.6 MB/s
Installing boot loader
USB stick set up as live image!
#

Older versions of SOAS:

\Normally,the livecd-iso-to-disk installation has the advantage over the liveusb-creator installation method by allowing a persistent /home/liveuser folder with the --home-size-mb NNN option. This feature would allow you to update the OS image while keeping the user files (by running the script against your existing installation but leaving out the --home-size-mb NNN option).

  • 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.
   sudo ./livecd-iso-to-disk.sh --overlay-size-mb 300 --home-size-mb 160 --delete-home --unencrypted-home soas-strawberry.iso /dev/sd(x)1
  • The --delete-home option is used to avoid an error message while requesting both a new home (with --home-size-mb) and a persistent home (indirectly with --unencrypted-home). You wouldn't use the --delete-home option on an upgrade of the operation system only.

Depending on the size of your USB stick, you may have to decrease --overlay-size-mb and --home-size-mb values (for example, for a 1-GB stick, use 200 for each).

  • Watch out for errors in the output of the script, the script seems to ignore them! (and say all is fine on the last line).

copied and revised from: http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Linux

More Linux Information

  1. [1]