LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 09-03-2007, 05:43 AM   #1
kotnik
Member
 
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Rep: Reputation: 31
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.
 
Old 09-04-2007, 03:58 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
Quote:
Originally Posted by kotnik View Post
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.
 
Old 09-05-2007, 09:14 AM   #3
kotnik
Member
 
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Original Poster
Rep: Reputation: 31
Huh. I passed -udf option to mkisofs, and got the same message. If you have another pointer, I'd appreciate it
 
Old 09-05-2007, 11:06 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
Quote:
Originally Posted by kotnik View Post
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.
 
Old 09-08-2007, 01:51 PM   #5
kotnik
Member
 
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Original Poster
Rep: Reputation: 31
Thanks for this explanation... It is very appreciated
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
tring to downlad and make an ISO file dladuron General 7 11-26-2006 03:22 AM
make dvd out of .iso file sjonie100 Linux - Software 4 03-02-2006 08:57 PM
make dvd out of .iso file (fc3, Nautilus) sjonie100 Linux - Software 2 03-02-2006 08:54 PM
when creating a *.iso file, how to make the file size smaller? minm Linux - Newbie 8 12-26-2004 10:58 PM
make a .iso file JROCK1980 Linux - Software 10 02-23-2004 07:03 PM


All times are GMT -5. The time now is 07:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration