LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Genisoimage can't make ISO with file >4G (https://www.linuxquestions.org/questions/debian-26/genisoimage-cant-make-iso-with-file-4g-581814/)

kotnik 09-03-2007 04:43 AM

Genisoimage can't make ISO with file >4G
 
I have a 4.4G file. And this is what happens when I try to make an ISO of it:

Code:

$ mkisofs -r -o brun.iso brun.mkv
I: -input-charset not specified, using utf-8 (detected in locale settings)
genisoimage: Value too large for defined data type. File brun.mkv is too large - ignoring

Any solutions? I found some old patches for genisoimage, but I wonder if there's an other way.

osor 09-04-2007 02:58 PM

Quote:

Originally Posted by kotnik (Post 2879501)
I have a 4.4G file. And this is what happens when I try to make an ISO of it:

You might take a look at this. If I were you, I’d opt for using a UDF filesystem instead.

kotnik 09-05-2007 08:14 AM

Huh. I passed -udf option to mkisofs, and got the same message. If you have another pointer, I'd appreciate it ;)

osor 09-05-2007 10:06 PM

Quote:

Originally Posted by kotnik (Post 2881937)
Huh. I passed -udf option to mkisofs, and got the same message.

Ok. Here’s the thing—pay attention ;): First, what you’re using is not mkisofs, but the mkisofs-derived genisoimage (which you already acknowledge). Only mkisofs (from cdrtools-2.01.01a32 or later) has the ability to write multiple extents as described in the article. To use this functionality, you have to enable iso-level 3 or 4 (the latter of which is really a pseudo-iso-level). For example this works on my system (with vanilla cdrtools-2.01.01a34):
Code:

$ ls -lh big.file
-rw-r--r-- 1 osor users 4.4G 2007-09-05 22:51 big.file
$ mkisofs -iso-level 3 -o big.iso big.file
Setting input-charset to 'UTF-8' from locale.
  0.22% done, estimate finish Wed Sep  5 22:54:51 2007
  0.43% done, estimate finish Wed Sep  5 22:54:51 2007
  0.65% done, estimate finish Wed Sep  5 22:54:51 2007
  0.87% done, estimate finish Wed Sep  5 22:54:51 2007
  1.08% done, estimate finish Wed Sep  5 22:54:51 2007
  1.30% done, estimate finish Wed Sep  5 22:54:51 2007
  1.52% done, estimate finish Wed Sep  5 22:54:51 2007
  1.74% done, estimate finish Wed Sep  5 22:54:51 2007
  1.95% done, estimate finish Wed Sep  5 22:54:51 2007
  2.17% done, estimate finish Wed Sep  5 22:54:51 2007
  2.39% done, estimate finish Wed Sep  5 22:55:32 2007
  2.60% done, estimate finish Wed Sep  5 22:55:29 2007

 96.56% done, estimate finish Wed Sep  5 22:57:44 2007
 96.78% done, estimate finish Wed Sep  5 22:57:44 2007
 97.00% done, estimate finish Wed Sep  5 22:57:45 2007
 97.22% done, estimate finish Wed Sep  5 22:57:44 2007
 97.43% done, estimate finish Wed Sep  5 22:57:45 2007
 97.65% done, estimate finish Wed Sep  5 22:57:45 2007
 97.87% done, estimate finish Wed Sep  5 22:57:44 2007
 98.08% done, estimate finish Wed Sep  5 22:57:45 2007
 98.30% done, estimate finish Wed Sep  5 22:57:44 2007
 98.52% done, estimate finish Wed Sep  5 22:57:45 2007
 98.73% done, estimate finish Wed Sep  5 22:57:45 2007
 98.95% done, estimate finish Wed Sep  5 22:57:44 2007
 99.17% done, estimate finish Wed Sep  5 22:57:45 2007
 99.39% done, estimate finish Wed Sep  5 22:57:45 2007
 99.60% done, estimate finish Wed Sep  5 22:57:44 2007
 99.82% done, estimate finish Wed Sep  5 22:57:45 2007
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
2304174 extents written (4500 MB)

Regardless of your ability to create it, you’d currently have a hard time trying to read such an image from linux.

Second, udf support in mkisofs is poor (and udf support in genisoimage is extremely poor). There is no way to make a standalone udf image using mkisofs. The best you can do is make a hybrid, in which case you still need cdrtools-2.01.01a32 or later and you still use “-iso-level 3” for the multiple extents in the iso part.

So when I suggested udf, I meant using udftools, which is (AFAIK) linux-only.

kotnik 09-08-2007 12:51 PM

Thanks for this explanation... It is very appreciated ;)


All times are GMT -5. The time now is 12:29 AM.