Bug 995552

Summary: livecd-iso-to-disk has an upper limit of 2048 MB writing to FAT32 partitions but 4095 MB will work
Product: [Fedora] Fedora Reporter: M. Edward (Ed) Borasky <znmeb>
Component: livecd-toolsAssignee: Brian Lane <bcl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 19CC: adam.stokes, bcl, bruno, dhuff, Jasper.Hartline, katzj, znmeb
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: livecd-tools-20.1-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-29 13:54:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch for livecd-iso-to-disk none

Description M. Edward (Ed) Borasky 2013-08-09 17:10:18 UTC
Created attachment 784934 [details]
patch for livecd-iso-to-disk

Description of problem:
I'd say this is more an enhancement than a problem - livecd-iso-to-disk works as advertised. When writing to a FAT32 partition, --swap-size-mb, --overlay-size-mb and --home-size-mb are capped at 2 gigabytes, presumably because at one time somebody thought a file an a FAT32 partition couldn't be larger than 2 gigabytes (2^31-1 bytes). 

I've used files on FAT32 as large as 2^32-1 (4 GB) and they work on both Windows 8 and Linux. Moreover, 'liveusb-creator' actually will make a 4 GB persistent overlay. So I patched the livecd-iso-to-disk script to change to cap to 4095 MB and everything appears to work. I don't know what other testing / research is required before this can be changed, but I'm offering the attached patch.

Version-Release number of selected component (if applicable): 19.5-1.fc19

Comment 1 Fedora Update System 2013-11-18 23:03:36 UTC
livecd-tools-20.1-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/livecd-tools-20.1-1.fc20

Comment 2 Fedora Update System 2013-11-19 21:52:02 UTC
Package livecd-tools-20.1-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing livecd-tools-20.1-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-21725/livecd-tools-20.1-1.fc20
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2013-11-29 13:54:48 UTC
livecd-tools-20.1-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.