VirtualBox/Preparing a disk image: Difference between revisions
m Sugar on a Stick VirtualBox/Preparing a disk image moved to Sugar on a Stick/VirtualBox/Preparing a disk image: fix hierarchy |
No edit summary |
||
| Line 22: | Line 22: | ||
# quit | # quit | ||
# umount /dev/sda1 -- F-11 auto mounts the disk, so unmount it for the next script | # umount /dev/sda1 -- F-11 auto mounts the disk, so unmount it for the next script | ||
# /mnt/live/LiveOS/livecd-iso-to-disk --overlay-size-mb | # /mnt/live/LiveOS/livecd-iso-to-disk --overlay-size-mb 300 --home-size-mb 160 --unencrypted-home --delete-home /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.) | #* 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 --unencrypted-home option prevents password protection and encryption on the /home/liveuser folder. This releaves the overhead on the compressed sqaushfs and should be more robust to file system failures (outside of security). | #* the --unencrypted-home option prevents password protection and encryption on the /home/liveuser folder. This releaves the overhead on the compressed sqaushfs and should be more robust to file system failures (outside of security). | ||
#* 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 (with--unencrypted-home). You wouldn't use this option on an upgrade. | #* 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 (with--unencrypted-home). You wouldn't use this option on an upgrade. | ||
| Line 33: | Line 33: | ||
# su - | # su - | ||
# yum install dkms gcc make ppl binutils glibc-devel glibc-headers kernel-headers kernel-devel | # yum install dkms gcc make ppl binutils glibc-devel glibc-headers kernel-headers kernel-devel | ||
# go to VirtualBox Devices Menu->Install Guest Additions | # go to VirtualBox Devices Menu->Install Guest Additions | ||
# mkdir /mnt/cdrom | # mkdir /mnt/cdrom | ||