Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Say I have an ISO file that is 5GB in size. How can I split it across 2 DVDs? Please I'm looking for an actual example showing me how to do it, not just recommendations.

The solution would leave the files written to disk in a browseable state, not requiring another tool to reassemble the pieces before being accessible.

I'm currently using this type of a command to author the ISO file:

$ mkisofs -o $backup -r -J -hide-rr-moved -V "Backup $date" \
    -graft-points " dir1 dir2

And then this command to author a DVD with the resulting ISO file:

$ growisofs -Z /dev/dvd=$backup
$ mkisofs -o $backup -r -J -hide-rr-moved -V "Backup $date" \
    -graft-points " dir1 dir2

And then this command to author a DVD with the resulting ISO file:

$ growisofs -Z /dev/dvd=$backup
share|improve this question
1  
Why not use gaffitter/gaff-iso or similar to create suitable sized ISOs in the first place? –  frostschutz Sep 10 '13 at 19:07
    
@frostschutz - never heard of that tool, will check in the mean time. –  slm Sep 10 '13 at 19:28
    
Easiest approach: Buy a DVD9 (dual layer) blank. Most burners can burn them. All readers can read them. –  derobert Sep 10 '13 at 20:54
    
@derobert - yeah I know I could do that but still wanted to know how to span the data, if possible 8-) –  slm Sep 10 '13 at 21:36
    
SquashFS? Otherwise, I'd probably write a FUSE driver that made them look like a single block device. –  msw Sep 11 '13 at 0:17

1 Answer 1

It will not be possible without repacking the ISO into two separate ones.

There is only one Primary Volume Descriptor in the ISO image by which the readers can find the tree of directories and files.

You would have at least to create a second such PVD and a second directory tree, which allow access to the files on the second DVD. Further you would have to remove those files from the first directory tree which get stored on the second DVD. Else you get i/o errors when trying to read those files.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.