On Mon, Jun 2, 2014 at 5:33 PM, ToddAndMargo <ToddAndMargo(a)zoho.com> wrote:
{...}
This worked:
# livecd-iso-to-disk --reset-mbr --format --overlay-size-mb 6624
--unencrypted-home Fedora-Live-Xfce-x86_64-20-1.iso /dev/sdc
# ls -al /media/LIVE/LiveOS/overlay-LIVE*
-rw-r--r--. 1 root root 6945767424 Jun 2 14:21 /media/LIVE/LiveOS/overlay-
LIVE-080e62f1-2731-4790-a1eb-48175d703185
* UNFORTUNATELY: THE PERSISTENCE DOES NOT WORK *
livecd-iso-to-disk --reset-mbr --format --overlay-size-mb 6624
--unencrypted-home Fedora-Live-Xfce-x86_64-20-1.iso /dev/sdc
Persistence works for me.
Check dmsetup status
and
dmsetup table
See that the live-rw snapshot has been set up on a loop device backed by
the overlay file
and not a temporary overlay, which would be the fallback if no overlay was
found or it
was unreadable.
[liveuser@localhost ~]$ sudo dmsetup status
live-base: 0 6291456 linear
live-osimg-min: 0 6291456 snapshot 1888/1888 16
live-rw: 0 6291456 snapshot 61432/13565952 248
[liveuser@localhost ~]$ sudo dmsetup table
live-base: 0 6291456 linear 7:3 0
live-osimg-min: 0 6291456 snapshot 7:3 7:1 P 8
live-rw: 0 6291456 snapshot 7:3 7:4 P 8
[liveuser@localhost ~]$ sudo losetup -a
/dev/loop0: [0001]:1557 (/osmin.img (deleted))
/dev/loop1: [1792]:1 (/osmin)
/dev/loop2: [2081]:261634 (/run/initramfs/live/LiveOS/squashfs.img)
/dev/loop3: [1794]:2 (/LiveOS/ext3fs.img)
/dev/loop4: [2081]:261637
(/LiveOS/overlay-LIVE-90c95ea3-7acc-4bff-98f6-b9dfbfdebd6e)
[liveuser@localhost ~]$ ls -lA /run/initramfs/live/LiveOS/
total 627712
-r-xr-xr-x. 1 root root 49005 Jun 3 10:59 livecd-iso-to-disk
-r--r--r--. 1 root root 8192 Jun 3 10:57 osmin.img
-rw-r--r--. 1 root root 6945767424 Jun 3 11:54
overlay-LIVE-90c95ea3-7acc-4bff-98f6-b9dfbfdebd6e
-r--r--r--. 1 root root 609263616 Jun 3 10:57 squashfs.img
If you don't get similar results, check the system journal for errors on
the filesystem.