VirtualBox/Preparing a disk image: Difference between revisions
--home-size-mb option added |
skip --home-size-mb NNN option for now |
||
Line 21: | Line 21: | ||
# toggle 1 boot | # toggle 1 boot | ||
# quit | # quit | ||
# /mnt/live/LiveOS/livecd-iso-to-disk --overlay-size-mb 256 --home-size-mb 256 /dev/sr0 /dev/sda1 | # /mnt/live/LiveOS/livecd-iso-to-disk --overlay-size-mb 256 <s>--home-size-mb 256</s> /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 --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. | #* <s>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.</s> (This option causes login in problems on VirtualBox with the liveuser account and should be skipped for now.) | ||
# shutdown -h now | # shutdown -h now | ||
# Unmount CDROM in Vbox config | # Unmount CDROM in Vbox config |