[Fedora-livecd-list] persistence still doesn't work

Frederick Grose fgrose at gmail.com
Sat May 9 20:06:51 UTC 2015


On Sat, May 9, 2015 at 2:24 AM, ToddAndMargo <ToddAndMargo at zoho.com> wrote:

> Hi All,
>
> Persistence still doesn't work.
>
> I just opened up
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1220015
>
> I will quote it here:
>
> Dear Red Hat,
>
> I am coming from the community: Scientific Linux 6.6 x64.  I am trying to
> create a Live USB with persistence.  Would one of our intrepid heroes
> please fix this for me?
>
> The Stick is 16 GB.   It is formatted as ext3.
>
> # rpm -qa livecd-tools
> livecd-tools-13.4.5-1.el6.x86_64
>
>
> According to this:
>
>
> https://docs.fedoraproject.org/en-US/Fedora/10/html/Release_Notes/sn-Live_USB_persistence.html
>
>      livecd-iso-to-disk --overlay-size-mb 512 /path/to/live.iso /dev/sdb1
>
>      "Replace /dev/sdb1 with the partition where you want to put
>      the image.  Replace 512 with the desired size in megabytes
>      of the persistent data, or overlay. The livecd-iso-to-disk
>      shell script is stored in the LiveOS directory at the top
>      level of the CD image. The USB media must have sufficient
>      free space for the Fedora Live image, plus the overlay,
>      plus any other data to be stored on the media."
>
> This is my command line:
>
> livecd-iso-to-disk --overlay-size-mb 13287
> Fedora-Live-Xfce-x86_64-21-5.iso /dev/sdc1
>
>
> After booting off the Live USB, I get the following:
> df -kPT /
> Filesystem          Type 1024-blocks    Used Available Capacity Mounted on
> /dev/mapper/live-rw ext4     3030800 2431496    551468      82% /
>
> Means the persistence is set at the default of 3GB.
>
> Many thanks,
> -T


​While you probably have a persistent overlay file the size you requested,
the .iso was built with a 3 GiB root filesystem image file.
See​

​the first paragraphs here,
https://fedoraproject.org/wiki/LiveOS_image#File_Systems​

​The partition​ header of the embedded read-only filesystem (ext3fs.img) is
limiting your full use of the overlay.

The .iso could be rebuilt with a larger root filesystem through an option
on the build system.  If you requested a 16 GiB image, it would still be
sparsed and compressed to nearly the same physical size on the .iso,
LiveCD, and LiveUSB, and you could use all of the overlay file you
requested.

         --Fred
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/livecd/attachments/20150509/a6370e62/attachment.html>


More information about the livecd mailing list