Link to home
Start Free TrialLog in
Avatar of NetRock6
NetRock6Flag for Canada

asked on

Creating ISO file

Hi...
Trying to create a ISO file using xorriso and getting the below error
xorriso : FAILURE : File exceeds size limit of 4294967295 bytes

Open in new window

is there an option to bypass this size check...
Thank You For Your Quick Prompts. ;)
Avatar of Member_2_8163371
Member_2_8163371

Hey there NetRock6,

While I can't speak to the 'xorriso' app & it's file size limits, the error you've received brings up a surprising observation:

4294967295 bytes = 40 Gigaytes

would anyone need an image made to that size? It seems a little excessive, doesn't?
Avatar of arnold
ISO have different limits, 700mb for CDs, 4.7gig for single layer DVD, 9.4gig dual level, not sure what a blue ray DVD capacity, but as noted you might be exceeding the ISO limit.

An ISO is presumed to be burned onto a media...


What is it you are trying to do, perhaps that may help provide a solution to what you are after.
What is your command line?


Settings for file insertion:
-file_size_limit value [value [...]] --

Set the maximum permissible size for a single data file. The values get summed up for the actual limit. If the only value is "off" then the file size is not limited by xorriso. Default is a limit of 100 extents, 4g -2k each:
-file_size_limit 400g -200k --
When mounting ISO 9660 filesystems, old operating systems can handle only files up to 2g -1 --. Newer ones are good up to 4g -1 --. You need quite a new Linux kernel to read correctly the final bytes of a file >= 4g if its size is not aligned to 2048 byte blocks.
xorriso’s own data read capabilities are not affected by operating system size limits. Such limits apply to mounting only. Nevertheless, the target filesystem of an -extract must be able to take the file size.
You can try to use PowerISO instead.
https://www.poweriso.com/download.php
@Kenn - Dual layer BR discs can store 50Gb - https://en.wikipedia.org/wiki/Blu-ray
https://www.maketecheasier.com/how-to-create-iso-files-in-linux/ provides details about building a .iso file which will have no size limit.

Then you'll have to copy the .iso file to your media.

And... likely you'll have the same problem, as xorriso only copies .iso files to media.

If you're media is to small, then you'll get the same error.

In other words, if you try to copy a 40G file to a 10G USB device, you'll get an error. Same with CD or DVD or any other media.

How ever you choose to do this, if you can shrink the size of your .iso file by... compressing files or truncating (to zero) log files... the smaller your .iso file, the less problems you'll have with media.
Avatar of NetRock6

ASKER

Thank you for your good comments.
The file in question is only 6.1GB it is not 40GB. Please take a look at this link and -iso-level 3.
Level 3 allows ISO names with up to 32 characters and file size of up to 400 GiB - 200 KiB. (This size limitation is set by the xorriso implementation and not by ISO 9660 which would allow nearly 8 TiB.)

After using the -iso-level 3 i still get the error and  I do not know why I get the error of 40GB where the file size is only 6.1GB.
Well, Just now tried out again and It is ok... with '-iso-level' option ... ;)
Thank You ALL for your great support and sharing your knowledge, I appreciate highly.
Cheers to YOU all... ;)
It's true you can have 32 byte names + this may break on various old OS versions.

So use the flag to create your ISO + be sure to use a short name, so ISO can be used on all OS versions.
Alright, Thanks David.
Keep up the great efforts...
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.