On Tue, Jun 3, 2014 at 2:06 PM, ToddAndMargo <[email protected]> wrote:

> On 06/03/2014 08:58 AM, Frederick Grose wrote:
>
>> On Mon, Jun 2, 2014 at 5:33 PM, ToddAndMargo <[email protected]
>> <mailto:[email protected]>>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.
>>
>
> Hi Fred,
> It will be a few days before I get enough office time to try
> this out.
>
> I do believe you are using a later version than me as
> "--unencrypted-home" is not supported.
>

​I used the livecd-iso-to-disk that came on the​
​
Fedora-Live-Xfce-x86_64-20-1.iso in the /LiveOS/ directory.

--unencrypted-home only has meaning if you have specified a home.img
filesystem for /home through the --home-size-mb option.
It's presence on the command line had no effect.


> If it helps with the troubleshooting process, persistence
> does work with the "Fedora LiveUSB Creator" GUI.  But,
> I can only get 4 GB of it.
--
livecd mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/livecd

Reply via email to