Bug 1659758 - livecd-iso-to-disk cannot create non-fat overlay
Summary: livecd-iso-to-disk cannot create non-fat overlay
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-16 07:07 UTC by Karel Volný
Modified: 2022-05-12 01:46 UTC (History)
14 users (show)

Fixed In Version: livecd-tools-30.0-1.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-05 18:37:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karel Volný 2018-12-16 07:07:38 UTC
Description of problem:
Trying to create bootable USB stick with KDE live and some additional tools, I have run into filesystem limit of 4 GB. However, I am unable to force different filesystem.

Reading --help, there is:

    --msdos
        Forces format to use the msdos (vfat) filesystem instead of ext4.

but in reality, it defaults to vfat and any option to force ext4 (or anything else) is missing ...


Version-Release number of selected component (if applicable):
livecd-iso-to-mediums-26.1-1.fc29.x86_64

How reproducible:
always

Steps to Reproduce:
1. livecd-iso-to-disk --format --reset-mbr --efi --overlayfs ./Fedora-KDE-Live-x86_64-29-1.2.iso /dev/sdb
2. livecd-iso-to-disk --format --reset-mbr --efi --overlay-size-mb 8192 ./Fedora-KDE-Live-x86_64-29-1.2.iso /dev/sdb

Actual results:
1.
        ALERT:
        If the target filesystem is formatted as vfat or msdos, you must
        specify an --overlay-size-mb <size> value for an embedded overlayfs.

        Exiting...

2.
        ALERT:
        An overlay size greater than 4095 MiB
        is not allowed on VFAT formatted filesystems.


Expected results:
no such errors, operation continues

Additional info:

Comment 1 Frederick Grose 2018-12-25 06:57:39 UTC
What --help fails to mention is that in this script --efi specifies a GUID partition table with a fat filesystem.  This script currently only formats a single partition on the target device, and /EFI/BOOT/ must be on a fat filesystem.

If UEFI booting is required on a system, and you want an overlay larger than the fat limit of 4095 MiB, the USB stick could be manually partitioned with a small EFI System Partition for /EFI/BOOT/ components and a second ext4 formatted partition for the other LiveOS components (/images, /LiveOS, /syslinux, ...).  The grub.cfg would need to reference the UUID's of the second partition and the overlay directory/file name would need to bear the second partition's name and UUID.

If legacy MBR booting is available, the following script should work to give you a USB stick with an OverlayFS overlay the size of the ext4 formatted disk.

 livecd-iso-to-disk --format --reset-mbr --overlayfs ./Fedora-KDE-Live-x86_64-29-1.2.iso /dev/sdb

Comment 2 Ben Cotton 2019-10-31 20:15:48 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Ben Cotton 2019-11-27 20:29:20 UTC
Fedora 29 changed to end-of-life (EOL) status on 2019-11-26. Fedora 29 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 4 Radka Gustavsson 2020-04-29 20:39:33 UTC
I believe that this is very valid issue that would make this tool a magical wand on modern systems. EFI is a must have, while VFAT is a must get rid of. Using the --efi option with overlay or home systems above 4g should be a standard. Either >4g or efi is very silly restriction.

In the ideal world it would default to creating efi with separate partitions for data and boot, as necessary.

Comment 5 Frederick Grose 2020-04-30 03:02:14 UTC
I'm working on this now and will soon submit a pull request to https://github.com/livecd-tools/livecd-tools for testing & evaluation. The MacIntel boot path is probably broken and could use the help of some experienced developers.

Comment 6 Ben Cotton 2020-08-11 13:05:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 7 Mikel Pérez 2021-05-29 16:33:28 UTC
(In reply to Frederick Grose from comment #5)
> I'm working on this now and will soon submit a pull request to
> https://github.com/livecd-tools/livecd-tools for testing & evaluation. The
> MacIntel boot path is probably broken and could use the help of some
> experienced developers.

how'd that go? hope you get it merged because definitely there's an audience for it
this bug is still valid as of Fedora 34

Comment 8 Frederick Grose 2021-05-29 19:14:23 UTC
See https://github.com/livecd-tools/livecd-tools/pull/176  Testing, comments would be appreciated.

Comment 9 Ben Cotton 2021-11-04 13:57:55 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 Ben Cotton 2021-11-04 14:27:15 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 11 Ben Cotton 2021-11-04 15:24:55 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 12 Ben Cotton 2021-11-30 18:50:46 UTC
Fedora 33 changed to end-of-life (EOL) status on 2021-11-30. Fedora 33 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 13 friedsector 2022-03-21 11:38:43 UTC
I can reproduce this on Fedora 35. I think the script does not do a good job at handling the --efi flag. I wasted some time trying to get it to work only to discover this bug report.

Comment 14 Karel Volný 2022-04-26 09:40:29 UTC
reopening as per #c13

note, we have 28.3 in Fedora 36, which was tagged on Jun 27, 2021, while the abovementioned pull request was merged on Sep 25 so it is available in 29.0 (tagged on Apr 24, 2022)

Comment 15 Fedora Update System 2022-04-26 14:38:57 UTC
FEDORA-2022-794d75ddf5 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-794d75ddf5

Comment 16 Fedora Update System 2022-04-26 14:42:35 UTC
FEDORA-2022-d515f28d09 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-d515f28d09

Comment 17 Fedora Update System 2022-04-26 14:42:49 UTC
FEDORA-2022-193031a230 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-193031a230

Comment 18 Fedora Update System 2022-04-26 22:01:49 UTC
FEDORA-2022-30c0b0af10 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-30c0b0af10`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-30c0b0af10

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 19 Fedora Update System 2022-04-27 09:14:32 UTC
FEDORA-2022-095ac0abfb has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-095ac0abfb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-095ac0abfb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 20 Fedora Update System 2022-04-27 09:31:45 UTC
FEDORA-2022-e4a46d0bd0 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-e4a46d0bd0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-e4a46d0bd0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 21 Fedora Update System 2022-05-03 14:54:53 UTC
FEDORA-2022-e4a46d0bd0 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 22 Fedora Update System 2022-05-05 18:37:10 UTC
FEDORA-2022-30c0b0af10 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 23 Fedora Update System 2022-05-12 01:46:45 UTC
FEDORA-2022-095ac0abfb has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.