VirtualBox/Preparing a disk image: Difference between revisions
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
# Change the Network Attached to: Bridged Adapter (This allows for networking with the host computer.) | # Change the Network Attached to: Bridged Adapter (This allows for networking with the host computer.) | ||
# Start the VM | # Start the VM | ||
# | # Enter an account name and startup Sugar. | ||
# Open Terminal. | # Open Terminal. | ||
# su - | # su - | ||
# parted /dev/sda | # parted /dev/sda | ||
# mklabel msdos -- make partition table | # mklabel msdos -- make partition table | ||
# | # mkpart primary ext2 0 2048 | ||
# toggle 1 boot | # toggle 1 boot | ||
# quit | # quit | ||
# | # mke2fs /dev/sda1 | ||
# | # /LiveOS/livecd-iso-to-disk --overlay-size-mb 200 --home-size-mb 200 --delete-home --unencrypted-home /dev/live /dev/sda1<br>(for earlier versions of SoaS | ||
#: Blueberry - use /media/soas-2-blueberry/LiveOS/livecd-iso-to-disk<br>Strawberry - use /mnt/live/LiveOS/livecd-iso-to-disk) | |||
#* the --overlay-size-mb NNN | #* the --overlay-size-mb NNN and --home-size-mb NNN options creates space for persistence of changes on the disk; otherwise, a liveOS disk is read-only. See [[LiveOS image]]. | ||
#: <br>The following optional parameters seem to be incompatible with soas-1-strawberry and soas-2-blueberry released versions. (The script completes successfully, but the virtual machine startup process has trouble finding the home directory and fails to complete.) | #: <br>The following optional parameters seem to be incompatible with soas-1-strawberry and soas-2-blueberry released versions. (The script completes successfully, but the virtual machine startup process has trouble finding the home directory and fails to complete.) | ||
#* the --home-size-mb NNN option creates space for saving the /home/liveuser folder if you want to update the OS image while keeping the user files. (In this case, skip the new disk creation and parted steps and leave out the --home-size-mb NNN option at this step and continue on.) | #* the --home-size-mb NNN option creates space for saving the /home/liveuser folder if you want to update the OS image while keeping the user files. (In this case, skip the new disk creation and parted steps and leave out the --home-size-mb NNN option at this step and continue on.) |