Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
I have been trying to write a dvd in Linux using mkisofs made iso and using dvdrecord to burn the iso on the dvd.
The problem I have faced is that I have .tar file with size > 2 GB. It seems that mkisofs cant make an iso image of a file greater than 2 GB. I know bzippign is an option but I wanted to do it with tar.
I found on the net that the latest version of mkisofs handles that, but I downloaded cdrtools-2.01 and it did try to make an iso image but when i mounted that iso, it had a corrupted the data.
Does anybody know an alternate way to make data DVD's with file size > 2 gb in Linux.
I found that there is a toold called mkudffs, but there isnt any good examples on how to use.
I just use k3b to burn my DVD files, just recently I created and burned 7.5 gig images to DVD DL media, and regularly burn 4.7 gig disks. Never had a problem.
I admit that I don't know enough about dvd's yet, but I was wondering about your filesystem on the hard drive. Are you using EXT2 or EXT3? I believe that there is a 2G file size limit on these filesystems, which would explain why you're having this problem (if you can't make a big enough "temp" file, you're certainly not gonna make the dvd, either). The solution would be to use XFS or ReiserFS for a "temp" partition for K3B (or for your whole drive! I went to ReiserFS 3 as soon as it came out and haven't looked back).
edited because I didn't have the facts - I'm leaving the post intact, just admitting here that I was wrong on several counts here - read my later post for the goods...
Last edited by vectordrake; 01-10-2005 at 04:46 PM.
Originally posted by dizzutch isn't that a 32bit problem, a 32bit machine can't address a machine over 2something GB. I'm sure there's ways around it. but that's what i though
Originally posted by BruceCadieux So am I. A single file 7.5 gigs .img format. I have also tarballed complete directories (several gigs) and then burned the tar balls to data DVD's.
You're talking about an ISO image that's larger than 2 GB, which is actually quite normal considering even a single-layer DVD-R can store up to 4.7 GB of data. I've never had trouble creating an ISO image larger than 2 GB, either.
The impression I got from the OP is that he's trying to create an ISO image from an original file that's already larger than 2 GB.
As for the file size limit and 32-bit architecture, I believe they are related. The signed integer on a 32-bit machine is 32-bit, which means the largest file size can only be 2 ^ 31 - 1 bytes. Most UNIX/Linux systems have that limitation removed somehow, though.
Ya quoted me, but apparently didn't even read what you quoted. Because I said Not only iso's but I have created tarballs larger then 2 gigs and 4 gigs and burned them to DVD's
Originally posted by BruceCadieux Ya quoted me, but apparently didn't even read what you quoted. Because I said Not only iso's but I have created tarballs larger then 2 gigs and 4 gigs and burned them to DVD's
Hi,
I tried to split the 2.6 GB iso into parts of 1 GB using the command
mkisofs -r -split-output -o image.iso user/
It did create 3 iso files but the Trans.TBL file size was zero according to i, which meant that there was problem with the iso creation.
*********************** output************************************
mkisofs -r -split-output -o image.iso user/
.
.
99.98% done, estimate finish Mon Jan 10 14:33:57 2005
Total translation table size: 0
Total rockridge attributes bytes: 248
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 5384
1335315 extents written (2608 MB)
********************************************************************
I am using version 2.01 of cdrtools.
also how does one test mount the series of iso images to check whether the iso creation was fine??
Like for mounting one iso file I use
mount -t iso9660 -o ro,loop=/dev/loop0 image.iso test/
I am confused by your statements. So you're saying that you can now create an ISO image of 2.6 GB from your /home/user directory? If that is the case, why do you need to split it into multiple ISO images?
Originally posted by daihard I am confused by your statements. So you're saying that you can now create an ISO image of 2.6 GB from your /home/user directory? If that is the case, why do you need to split it into multiple ISO images?
Hello,
What I meant was that the iso gets created but when I mount it and try to untar the tar ( the file having size 2.6 GB) it fails.
I am not able to create a clean iso from that .tar file.
The command runs fine but after mounting it becomes clear that iso wasnt created properly.
I read that -split-output will make iso's of size 1 GB. But I saw the same output for this command too.
The Translation Table size was zero.(TRANS.TBL) (see the output from my last post).
So I am guessing I shall run inot the same problem again.
In the end, I was asking whether anybody knew how to mount multiple iso's created by -split-output onto one directory.
Originally posted by haoscar Hello,
What I meant was that the iso gets created but when I mount it and try to untar the tar ( the file having size 2.6 GB) it fails.
I am not able to create a clean iso from that .tar file.
The command runs fine but after mounting it becomes clear that iso wasnt created properly.
I don't mean to be picky, but you're not trying to untar the tar file right on the mount point ("/test" in your case), are you?
Since you mounted the ISO image as "read-only," you naturally cannot untar the file there. You need to copy it on a partition w/ write access in order to untar it.
Just making sure we're on the same page...
[ADD] Here's my test procedure:
(1) Create test.tar from /home/daihard/test/ as follows:
Code:
$ tar -cf test.tar /home/daihard/test/
(2) The tar file, test.tar, is 3.0 GB in size.
(3) Run "mkisofs" on it to create an ISO image:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.