Hi All,
Anyone know any rumors as to if we are going to be able to have more than 4 GB of persistence in the future? Ext2/3/4 perhaps?
It is really difficult to discipline myself to keep it under 4 GB.
Many thanks, -T
On Sat, May 31, 2014 at 21:40:08 -0700, ToddAndMargo ToddAndMargo@zoho.com wrote:
Hi All,
Anyone know any rumors as to if we are going to be able to have more than 4 GB of persistence in the future? Ext2/3/4 perhaps?
It is really difficult to discipline myself to keep it under 4 GB.
You could run a normal version of the OS on your device instead of the live image. That allows you to update the kernel and allows for reclaim of space used by updates.
On Sun, Jun 1, 2014 at 12:40 AM, ToddAndMargo ToddAndMargo@zoho.com wrote:
Hi All,
Anyone know any rumors as to if we are going to be able to have more than 4 GB of persistence in the future? Ext2/3/4 perhaps?
It is really difficult to discipline myself to keep it under 4 GB.
Many thanks, -T
Overlays greater than 4 GiB are available now with ext4 formatting of the Live CD device.
For example,
livecd-iso-to-disk --reset-mbr --format --overlay-size-mb 10000 home-size-mb 1024 --unencrypted-home /path/to/iso /dev/sde
produces a Live CD with a 10485760000 byte overlay file.
df -TB1 /dev/sde1 Filesystem Type 1B-blocks Used Available Use% Mounted on /dev/sde1 ext4 15664103424 1066409984 13778391040 8% /run/media/fgrose/LIVE
$ du -bac /run/media/fgrose/LIVE du: cannot read directory ‘/run/media/fgrose/LIVE/lost+found’: Permission denied 16384 /run/media/fgrose/LIVE/lost+found 49005 /run/media/fgrose/LIVE/LiveOS/livecd-iso-to-disk 1073741824 /run/media/fgrose/LIVE/LiveOS/home.img 929828864 /run/media/fgrose/LIVE/LiveOS/squashfs.img 8192 /run/media/fgrose/LIVE/LiveOS/osmin.img 10485760000 /run/media/fgrose/LIVE/LiveOS/overlay-LIVE-56dbd871-9b9e-42d8-bf9a-7eee16db0e1c 12489391981 /run/media/fgrose/LIVE/LiveOS 5139320 /run/media/fgrose/LIVE/syslinux/vmlinuz0 5152768 /run/media/fgrose/LIVE/syslinux/efiboot.img 24576 /run/media/fgrose/LIVE/syslinux/isolinux.bin 2048 /run/media/fgrose/LIVE/syslinux/boot.cat 2395 /run/media/fgrose/LIVE/syslinux/extlinux.conf 32002862 /run/media/fgrose/LIVE/syslinux/initrd0.img 155792 /run/media/fgrose/LIVE/syslinux/vesamenu.c32 32256 /run/media/fgrose/LIVE/syslinux/ldlinux.sys 20643840 /run/media/fgrose/LIVE/syslinux/macboot.img 176760 /run/media/fgrose/LIVE/syslinux/memtest 63336713 /run/media/fgrose/LIVE/syslinux 12552749174 /run/media/fgrose/LIVE 12552749174 total
On 06/01/2014 11:41 AM, Frederick Grose wrote:
On Sun, Jun 1, 2014 at 12:40 AM, ToddAndMargo <ToddAndMargo@zoho.com mailto:ToddAndMargo@zoho.com> wrote:
Hi All,
Anyone know any rumors as to if we are going to be able to have more than 4 GB of persistence in the future? Ext2/3/4 perhaps?
It is really difficult to discipline myself to keep it under 4 GB.
Many thanks, -T
Overlays greater than 4 GiB are available now with ext4 formatting of the Live CD device.
For example,
livecd-iso-to-disk --reset-mbr --format --overlay-size-mb 10000 home-size-mb 1024 --unencrypted-home /path/to/iso /dev/sde
produces a Live CD with a 10485760000 byte overlay file.
df -TB1 /dev/sde1 Filesystem Type 1B-blocks Used Available Use% Mounted on /dev/sde1 ext4 15664103424 1066409984 13778391040 8% /run/media/fgrose/LIVE
$ du -bac /run/media/fgrose/LIVE du: cannot read directory ‘/run/media/fgrose/LIVE/lost+found’: Permission denied 16384 /run/media/fgrose/LIVE/lost+found 49005 /run/media/fgrose/LIVE/LiveOS/livecd-iso-to-disk 1073741824 /run/media/fgrose/LIVE/LiveOS/home.img 929828864 /run/media/fgrose/LIVE/LiveOS/squashfs.img 8192 /run/media/fgrose/LIVE/LiveOS/osmin.img 10485760000 /run/media/fgrose/LIVE/LiveOS/overlay-LIVE-56dbd871-9b9e-42d8-bf9a-7eee16db0e1c 12489391981 /run/media/fgrose/LIVE/LiveOS 5139320 /run/media/fgrose/LIVE/syslinux/vmlinuz0 5152768 /run/media/fgrose/LIVE/syslinux/efiboot.img 24576 /run/media/fgrose/LIVE/syslinux/isolinux.bin 2048 /run/media/fgrose/LIVE/syslinux/boot.cat http://boot.cat 2395 /run/media/fgrose/LIVE/syslinux/extlinux.conf 32002862 /run/media/fgrose/LIVE/syslinux/initrd0.img 155792 /run/media/fgrose/LIVE/syslinux/vesamenu.c32 32256 /run/media/fgrose/LIVE/syslinux/ldlinux.sys 20643840 /run/media/fgrose/LIVE/syslinux/macboot.img 176760 /run/media/fgrose/LIVE/syslinux/memtest 63336713 /run/media/fgrose/LIVE/syslinux 12552749174 /run/media/fgrose/LIVE 12552749174 total
Hi Fredrick,
Very cool. Thank you! I could not find this on the link you sent.
Do you first format your stick with ext4? Or, leave it unformatted with a single blank primary partition?
-T
On Sun, Jun 1, 2014 at 4:46 PM, ToddAndMargo ToddAndMargo@zoho.com wrote:
On 06/01/2014 11:41 AM, Frederick Grose wrote:
On Sun, Jun 1, 2014 at 12:40 AM, ToddAndMargo <ToddAndMargo@zoho.com mailto:ToddAndMargo@zoho.com> wrote:
Hi All,
Anyone know any rumors as to if we are going to be able to have more than 4 GB of persistence in the future? Ext2/3/4 perhaps?
It is really difficult to discipline myself to keep it under 4 GB.
Many thanks, -T
Overlays greater than 4 GiB are available now with ext4 formatting of the Live CD device.
For example,
livecd-iso-to-disk --reset-mbr --format --overlay-size-mb 10000 home-size-mb 1024 --unencrypted-home /path/to/iso /dev/sde
produces a Live CD with a 10485760000 byte overlay file.
df -TB1 /dev/sde1 Filesystem Type 1B-blocks Used Available Use% Mounted on /dev/sde1 ext4 15664103424 1066409984 13778391040 8% /run/media/fgrose/LIVE
$ du -bac /run/media/fgrose/LIVE du: cannot read directory ‘/run/media/fgrose/LIVE/lost+found’: Permission denied 16384 /run/media/fgrose/LIVE/lost+found 49005 /run/media/fgrose/LIVE/LiveOS/livecd-iso-to-disk 1073741824 /run/media/fgrose/LIVE/LiveOS/home.img 929828864 /run/media/fgrose/LIVE/LiveOS/squashfs.img 8192 /run/media/fgrose/LIVE/LiveOS/osmin.img 10485760000
/run/media/fgrose/LIVE/LiveOS/overlay-LIVE-56dbd871-9b9e-42d8-bf9a-7eee16db0e1c
12489391981 /run/media/fgrose/LIVE/LiveOS 5139320 /run/media/fgrose/LIVE/syslinux/vmlinuz0 5152768 /run/media/fgrose/LIVE/syslinux/efiboot.img 24576 /run/media/fgrose/LIVE/syslinux/isolinux.bin 2048 /run/media/fgrose/LIVE/syslinux/boot.cat http://boot.cat
2395 /run/media/fgrose/LIVE/syslinux/extlinux.conf 32002862 /run/media/fgrose/LIVE/syslinux/initrd0.img 155792 /run/media/fgrose/LIVE/syslinux/vesamenu.c32 32256 /run/media/fgrose/LIVE/syslinux/ldlinux.sys 20643840 /run/media/fgrose/LIVE/syslinux/macboot.img 176760 /run/media/fgrose/LIVE/syslinux/memtest 63336713 /run/media/fgrose/LIVE/syslinux 12552749174 /run/media/fgrose/LIVE 12552749174 total
Hi Fredrick,
Very cool. Thank you! I could not find this on the link you sent.
Do you first format your stick with ext4? Or, leave it unformatted with a single blank primary partition?
Both are possible. The latter requires the livecd-iso-to-disk --format option, which now defaults to ext4.
See the usage section at the top of https://git.fedorahosted.org/cgit/livecd/tree/tools/livecd-iso-to-disk.sh
--Fred
On 06/01/2014 02:55 PM, Frederick Grose wrote:
On Sun, Jun 1, 2014 at 4:46 PM, ToddAndMargo <ToddAndMargo@zoho.com mailto:ToddAndMargo@zoho.com> wrote:
On 06/01/2014 11:41 AM, Frederick Grose wrote:
On Sun, Jun 1, 2014 at 12:40 AM, ToddAndMargo <ToddAndMargo@zoho.com
<mailto:ToddAndMargo@zoho.com mailto:ToddAndMargo@zoho.com>> wrote:
Hi All,
Anyone know any rumors as to if we are going to be able to have more than 4 GB of persistence in the future? Ext2/3/4 perhaps?
It is really difficult to discipline myself to keep it under 4 GB.
Many thanks, -T
Overlays greater than 4 GiB are available now with ext4 formatting of the Live CD device.
For example,
livecd-iso-to-disk --reset-mbr --format --overlay-size-mb 10000 home-size-mb 1024 --unencrypted-home /path/to/iso /dev/sde
produces a Live CD with a 10485760000 byte overlay file.
df -TB1 /dev/sde1 Filesystem Type 1B-blocks Used Available Use% Mounted on /dev/sde1 ext4 15664103424 1066409984 13778391040 8% /run/media/fgrose/LIVE
$ du -bac /run/media/fgrose/LIVE du: cannot read directory ‘/run/media/fgrose/LIVE/lost+found’: Permission denied 16384 /run/media/fgrose/LIVE/lost+found 49005 /run/media/fgrose/LIVE/LiveOS/livecd-iso-to-disk 1073741824 /run/media/fgrose/LIVE/LiveOS/home.img 929828864 /run/media/fgrose/LIVE/LiveOS/squashfs.img 8192 /run/media/fgrose/LIVE/LiveOS/osmin.img 10485760000
/run/media/fgrose/LIVE/LiveOS/overlay-LIVE-56dbd871-9b9e-42d8-bf9a-7eee16db0e1c
12489391981 /run/media/fgrose/LIVE/LiveOS 5139320 /run/media/fgrose/LIVE/syslinux/vmlinuz0 5152768 /run/media/fgrose/LIVE/syslinux/efiboot.img 24576 /run/media/fgrose/LIVE/syslinux/isolinux.bin 2048 /run/media/fgrose/LIVE/syslinux/boot.cat http://boot.cat
2395 /run/media/fgrose/LIVE/syslinux/extlinux.conf 32002862 /run/media/fgrose/LIVE/syslinux/initrd0.img 155792 /run/media/fgrose/LIVE/syslinux/vesamenu.c32 32256 /run/media/fgrose/LIVE/syslinux/ldlinux.sys 20643840 /run/media/fgrose/LIVE/syslinux/macboot.img 176760 /run/media/fgrose/LIVE/syslinux/memtest 63336713 /run/media/fgrose/LIVE/syslinux 12552749174 /run/media/fgrose/LIVE 12552749174 total
Hi Fredrick,
Very cool. Thank you! I could not find this on the link you sent.
Do you first format your stick with ext4? Or, leave it unformatted with a single blank primary partition?
Both are possible. The latter requires the livecd-iso-to-disk --format option, which now defaults to ext4.
See the usage section at the top of https://git.fedorahosted.org/cgit/livecd/tree/tools/livecd-iso-to-disk.sh
--Fred
Hi Fred,
I have to use all the old stuff as I am in Scientific Linux 6.5 (RHEL 6.5 clone). Do you know if my version will support the above?
liveusb-creator-3.12.0-1.el6.noarch
Many thanks, -T
On Sun, Jun 1, 2014 at 8:59 PM, ToddAndMargo ToddAndMargo@zoho.com wrote:
{...}
Hi Fredrick,
Very cool. Thank you! I could not find this on the link you sent.
Do you first format your stick with ext4? Or, leave it unformatted with a single blank primary partition?
Both are possible. The latter requires the livecd-iso-to-disk --format option, which now defaults to ext4.
See the usage section at the top of https://git.fedorahosted.org/cgit/livecd/tree/tools/livecd-iso-to-disk.sh
--FredHi Fred,
I have to use all the old stuff as I am in Scientific Linux 6.5 (RHEL 6.5 clone). Do you know if my version will support the above?
liveusb-creator-3.12.0-1.el6.noarch
The livecd-iso-to-disk installation script is available in the livecd-tools package, https://apps.fedoraproject.org/packages/livecd-tools
It is often saved in the /LiveOS/ directory of the Live CD iso and on a loaded device.
On 06/01/2014 08:13 PM, Frederick Grose wrote:
On Sun, Jun 1, 2014 at 8:59 PM, ToddAndMargo <ToddAndMargo@zoho.com mailto:ToddAndMargo@zoho.com> wrote:
{...}
Hi Fredrick,
Very cool. Thank you! I could not find this on the link you sent.
Do you first format your stick with ext4? Or, leave it unformatted with a single blank primary partition?
Both are possible. The latter requires the livecd-iso-to-disk --format option, which now defaults to ext4.
See the usage section at the top of
https://git.fedorahosted.org/cgit/livecd/tree/tools/livecd-iso-to-disk.sh
--FredHi Fred,
I have to use all the old stuff as I am in Scientific Linux 6.5 (RHEL 6.5 clone). Do you know if my version will support the above?
liveusb-creator-3.12.0-1.el6.noarch
The livecd-iso-to-disk installation script is available in the livecd-tools package, https://apps.fedoraproject.org/packages/livecd-tools
It is often saved in the /LiveOS/ directory of the Live CD iso and on a loaded device.
Hi Fred,
Oops, copy and pasted the wrong one.
$ rpm -qa *livecd-tools* livecd-tools-13.4.5-1.el6.x86_64
The latest, from the link you sent me is 21.1.1
Do you think my old, dilapidates version has the ext4 support?
Manya thanks, -T is
On Mon, Jun 2, 2014 at 2:17 AM, ToddAndMargo ToddAndMargo@zoho.com wrote:
On 06/01/2014 08:13 PM, Frederick Grose wrote:
On Sun, Jun 1, 2014 at 8:59 PM, ToddAndMargo <ToddAndMargo@zoho.com mailto:ToddAndMargo@zoho.com> wrote:
{...}
Hi Fredrick,
Very cool. Thank you! I could not find this on the link you sent.
Do you first format your stick with ext4? Or, leave it unformatted with a single blank primary partition?
Both are possible. The latter requires the livecd-iso-to-disk
--format
option, which now defaults to ext4.
See the usage section at the top of
https://git.fedorahosted.org/cgit/livecd/tree/tools/livecd-iso-to-disk.sh
--FredHi Fred,
I have to use all the old stuff as I am in Scientific Linux 6.5 (RHEL 6.5 clone). Do you know if my version will support the above?
liveusb-creator-3.12.0-1.el6.noarch
The livecd-iso-to-disk installation script is available in the livecd-tools package, https://apps.fedoraproject.org/packages/livecd-tools
It is often saved in the /LiveOS/ directory of the Live CD iso and on a loaded device.
Hi Fred,
Oops, copy and pasted the wrong one.
$ rpm -qa *livecd-tools* livecd-tools-13.4.5-1.el6.x86_64
The latest, from the link you sent me is 21.1.1
Do you think my old, dilapidates version has the ext4 support?
Manya thanks,
You can check here, https://git.fedorahosted.org/cgit/livecd/tree/tools/livecd-iso-to-disk.sh?h=...
Looks like ext4 was not supported in that branch, but ext3 will support upto 16 GiB with 1 KiB blocks.
On 06/02/2014 06:51 AM, Frederick Grose wrote:
You can check here, https://git.fedorahosted.org/cgit/livecd/tree/tools/livecd-iso-to-disk.sh?h=...
Looks like ext4 was not supported in that branch, but ext3 will support upto 16 GiB with 1 KiB blocks.
Looked over the script. You have to admire the guy who wrote that. Wow, he worked his rear end off on that one!
On 06/01/2014 11:41 AM, Frederick Grose wrote:
livecd-iso-to-disk --reset-mbr --format --overlay-size-mb 10000 home-size-mb 1024 --unencrypted-home /path/to/iso /dev/sde
# livecd-iso-to-disk --reset-mbr --format --overlay-size-mb 7000 home-size-mb 1024 --unencrypted-home Fedora-Live-Xfce-x86_64-20-1.iso /dev/sdc
invalid arg -- home-size-mb
On 06/02/2014 02:19 PM, ToddAndMargo wrote:
On 06/01/2014 11:41 AM, Frederick Grose wrote:
livecd-iso-to-disk --reset-mbr --format --overlay-size-mb 10000 home-size-mb 1024 --unencrypted-home /path/to/iso /dev/sde
# livecd-iso-to-disk --reset-mbr --format --overlay-size-mb 7000 home-size-mb 1024 --unencrypted-home Fedora-Live-Xfce-x86_64-20-1.iso /dev/sdc
invalid arg -- home-size-mb
Hi Fred,
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 *
Live this feature! Run once with too big and adjust downward.
Unable to fit live image + overlay on available space on USB stick + Size of live image: 582 + Overlay size: 7000 --------------------------- = Requested: 7582 - Available: 7206 ---------------------------
I hope the persistence problem gets fixed soon.
-T
On Mon, Jun 2, 2014 at 5:33 PM, ToddAndMargo ToddAndMargo@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.
On 06/03/2014 08:58 AM, Frederick Grose wrote:
On Mon, Jun 2, 2014 at 5:33 PM, ToddAndMargo <ToddAndMargo@zoho.com mailto:ToddAndMargo@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.
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.
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.
Thank you for the help!
-T
On Tue, Jun 3, 2014 at 2:06 PM, ToddAndMargo ToddAndMargo@zoho.com wrote:
On 06/03/2014 08:58 AM, Frederick Grose wrote:
On Mon, Jun 2, 2014 at 5:33 PM, ToddAndMargo <ToddAndMargo@zoho.com mailto:ToddAndMargo@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.
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.
On 06/03/2014 08:58 AM, Frederick Grose wrote:
On Mon, Jun 2, 2014 at 5:33 PM, ToddAndMargo <ToddAndMargo@zoho.com mailto:ToddAndMargo@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.
Hi Fred,
Thank you for helping me with this.
From the host machine ("#" is root's prompt):
note that our versions don't match <<<
I am at the mercy of EPEL. They will update to the latest version when they do and not a moment sooner.
Also note that persistence works fine with "liveusb-creator" (the GUI), but that you can not get more than 4 GB of persistence.
# fdisk -l /dev/sdc
Disk /dev/sdc: 8252 MB, 8252293120 bytes 8 heads, 28 sectors/track, 71954 cylinders Units = cylinders of 224 * 512 = 114688 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0009d27d
Device Boot Start End Blocks Id System /dev/sdc1 85 71954 8049440 83 Linux
# rpm -qa *live* liveusb-creator-3.12.0-1.el6.noarch livecd-tools-13.4.5-1.el6.x86_64
# livecd-iso-to-disk --reset-mbr --format --overlay-size-mb 6624 --unencrypted-home ./Fedora-Live-Xfce-x86_64-20-1.iso /dev/sd
From the Live USB:
# dmsetup status live-base: 0 6291456 linear live-osimg-min: 0 6291456 snapshot 1888/1888 16 live-rw: 0 6291456 snapshot 42352/1048576 176
# 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
# losetup -a /dev/loop0: [0001]:644 (/osmin.img (deleted)) /dev/loop1: [1792]:1 (/osmin) /dev/loop2: [64513]:398274 (/run/initramfs/live/LiveOS/squashfs.img) /dev/loop3: [1794]:2 (/LiveOS/ext3fs.img) /dev/loop4: [0001]:10662 (/overlay (deleted))
# ls -lA /run/initramfs/live/LiveOS/ total 595580 -r--r--r--. 1 root root 8192 Jun 6 16:00 osmin.img -rw-r--r--. 1 root root 6945767424 Jun 6 16:01 overlay-LIVE-c712eef2-2e8b-4d04-b5a8-3361566b8efd -r--r--r--. 1 root root 609263616 Jun 6 16:00 squashfs.img
Do you see anything wrong?
-T
On 06/06/2014 01:37 PM, ToddAndMargo wrote:
# livecd-iso-to-disk --reset-mbr --format --overlay-size-mb 6624 --unencrypted-home ./Fedora-Live-Xfce-x86_64-20-1.iso /dev/sd
Missed the "c" on "/dev/sdc"
On 06/06/2014 02:17 PM, ToddAndMargo wrote:
On 06/06/2014 01:37 PM, ToddAndMargo wrote:
# livecd-iso-to-disk --reset-mbr --format --overlay-size-mb 6624 --unencrypted-home ./Fedora-Live-Xfce-x86_64-20-1.iso /dev/sd
Missed the "c" on "/dev/sdc"
Lets see what our intrepid heroes at Red Hat have to say:
https://bugzilla.redhat.com/show_bug.cgi?id=1105735
On Sat, May 31, 2014 at 09:40:08PM -0700, ToddAndMargo wrote:
Hi All,
Anyone know any rumors as to if we are going to be able to have more than 4 GB of persistence in the future? Ext2/3/4 perhaps?
It is really difficult to discipline myself to keep it under 4 GB.
I'll accept patches since it is a feature that already existed, but I have to say that this is a *really* bad idea. You're going to lose data. You are better off partitioning the device and mounting it as /home/ or whatever. I actually tried using this last week for a temporary install while waiting for a new harddrive. System didn't like to wake from sleep properly so I had to pull the plug, and guess what? Corruption - I had to recreate the USB stick.
On 06/02/2014 08:15 AM, Brian C. Lane wrote:
On Sat, May 31, 2014 at 09:40:08PM -0700, ToddAndMargo wrote:
Hi All,
Anyone know any rumors as to if we are going to be able to have more than 4 GB of persistence in the future? Ext2/3/4 perhaps?
It is really difficult to discipline myself to keep it under 4 GB.
I'll accept patches since it is a feature that already existed, but I have to say that this is a *really* bad idea. You're going to lose data. You are better off partitioning the device and mounting it as /home/ or whatever. I actually tried using this last week for a temporary install while waiting for a new harddrive. System didn't like to wake from sleep properly so I had to pull the plug, and guess what? Corruption - I had to recreate the USB stick.
Hi Brian,
I am not following your "*really* bad idea" remark. Is there something wrong with EXTx in this environment?
Wouldn't the corruption you speak of have happened with a FAT32 partition as well?
-T
On 06/02/2014 08:15 AM, Brian C. Lane wrote:
I'll accept patches since it is a feature that already existed
Hi Brian,
In my version,
$ rpm -qa *livecd-tools* livecd-tools-13.4.5-1.el6.x86_64
persistence does not work. EXTx file system does, but it is unless unless without the persistence.
I would appreciate you porting the new stuff over.
-T
livecd@lists.fedoraproject.org