Changes

Jump to navigation Jump to search
m
sh script changes for soas-2-blueberry.iso
* 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/sdb1

Note: With the soas-2-blueberry.iso, leave out the 3 options for a separate persistent home. The script will complete successfully, but the new installation startup process will have trouble finding the home folder and fail to complete.

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).

* 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).

* If you get an error about udevinfo, you have the new version of udev where "udevadm info" is the proper command.

Create an executable file called udevinfo somewhere in your path with the following contents:

#!/bin/bash
udevadm info $*

* 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).
12,355

edits

Navigation menu