Re: Pre-made live image with actual functioning persistent storage?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2020-12-11 at 13:48 -0500, Matthew Miller wrote:
> We're going to spend some of our remaining budget on a swag refresh, and as
> part of that, we're getting some shiny new USB sticks, and partly
> considering the recent discussion about making it easy for new users to try
> without committing, we're getting ones with decent speed and quality and
> room for a persistent overlay.
> 
> It has been approximately a decade since I made such an image. Does anyone
> have a recipe for creating one with persistent storage (and possibly a
> separate home filesystem, or however that should be set up on btrfs?)

AFAIK it *should* still work as documented on the old wiki page:

https://fedoraproject.org/w/index.php?title=How_to_create_and_use_Live_USB&oldid=504045#Command_line_method:_Using_the_livecd-iso-to-disk_tool_.28Fedora_only.2C_non-graphical.2C_both_non-destructive_and_destructive_methods_available.29

"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.

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.
-- 
Adam Williamson
Fedora QA
IRC: adamw | Twitter: adamw_ha
https://www.happyassassin.net


_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux