VirtualBox/Preparing a disk image: Difference between revisions

No edit summary
No edit summary
Line 25: Line 25:
# umount /dev/sda1  -- (not required with soas06.iso)
# umount /dev/sda1  -- (not required with soas06.iso)
# /media/soas06/LiveOS/livecd-iso-to-disk --overlay-size-mb 300 --home-size-mb 160 --unencrypted-home --delete-home /dev/sr0 /dev/sda1
# /media/soas06/LiveOS/livecd-iso-to-disk --overlay-size-mb 300 --home-size-mb 160 --unencrypted-home --delete-home /dev/sr0 /dev/sda1
#: (for earlier versions of SoaS, use /mnt/live/LiveOS/livecd-iso-to-disk ...)
#: (for earlier versions of SoaS, like Strawberry, use /mnt/live/LiveOS/livecd-iso-to-disk ...<br>soas05.iso carries an incompatible version of livecd-iso-to-disk, see [http://bugs.launchpad.net/soas/+bug/417415 this bug report].)
#* the --overlay-size-mb NNN option creates space for persistence of changes on the disk; otherwise, a liveOS disk is read-only.
#* the --overlay-size-mb NNN option creates space for persistence of changes on the disk; otherwise, a liveOS disk is read-only.
#* 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.)