On 12/11/20 10:57 AM, Adam Williamson wrote:
"To include a persistent filesystem for /home, use the --home-size-mb 
parameter. For example:

     su -c "livecd-iso-to-disk --home-size-mb 2048 
Fedora-Workstation-Live-x86_64-34-1.1.iso /dev/sdX"

This will create a 2 GiB filesystem that will be mounted as /home each
time the stick is booted, allowing you to preserve data in /home across
boots.

If it's something you're giving away, you will probably want the "--unencrypted-home" option as well.

To enable 'data persistence' support - so changes you make to the
entire live environment will persist across boots - add the --overlay-
size-mb parameter to add a persistent data storage area to the target
stick. For example:

     su -c "livecd-iso-to-disk --overlay-size-mb 2048 
Fedora-Workstation-Live-x86_64-34-1.1.iso /dev/sdX"

where 2048 is the desired size (in megabytes) of the overlay. The
livecd-iso-to-disk tool will not accept an overlay size value greater
than 4095 for VFAT, but for ext[234] filesystems it is only limited by
the available space."

I have no idea when is the last time anyone tested this.

I use this regularly, at least once per release.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to