VirtualBox/Preparing a disk image: Difference between revisions
mNo edit summary |
--home-size-mb option added |
||
| Line 21: | Line 21: | ||
# toggle 1 boot | # toggle 1 boot | ||
# quit | # quit | ||
# /mnt/live/LiveOS/livecd-iso-to-disk -- | # /mnt/live/LiveOS/livecd-iso-to-disk --overlay-size-mb 256 --home-size-mb 256 /dev/sr0 /dev/sda1 | ||
#* 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. | |||
# shutdown -h now | # shutdown -h now | ||
# Unmount CDROM in Vbox config | # Unmount CDROM in Vbox config | ||