LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Make ISO Image? (https://www.linuxquestions.org/questions/linux-general-1/make-iso-image-282753/)

linux-rulz 01-27-2005 01:43 AM

Make ISO Image?
 
How do you make an ISO image of a directory on Linux. For instance, if I have the directory /home/username/burnthis , and I want to burn everything inside of the burnthis directory, but not the burnthis directory itself, what command would I type in? Does this work for DVD ISO images as well as CD ISO images?

Dark_Helmet 01-27-2005 01:57 AM

You're looking for the mkisofs command. In your situation, what I would normally do is this:
Code:

cd /home/username
mkisofs -J -r -o cdimage.iso burnthis/

You'll get an ISO image named cdimage in the user's home directory, and it will use Joliet and RockRidge extensions (and no, the burnthis directory itself will not be included in the image).

As for whether it extends to DVDs... I honestly don't know, but I don't see why not. That's a technical-standard-based question, and I'm not sure where that documentation lives.

EDIT:
ilikejam is right... use the lowecase 'r' in the command... changed mine to reflect that.

ilikejam 01-27-2005 01:59 AM

Hi.

Run mkisofs on the directory. Here's what I use:
mkisofs -J -r -o <output.iso> <directory to be burned>

DVDs and data CDs are effectively the same (including video DVDs) ISO filesystem. There's a 2GB limit on the size of ISO images, though.

Dave

Edit: Having looked into iso-levels more, I've changed my mind about using level 3, so I'm using level 1(normal ISO9660) now.

linux-rulz 01-27-2005 02:04 AM

Why are SUSE and Red Hat (Fedora) able to distribute ISO's larger than 2 GB then? Is there some kind of special way to do this?

ilikejam 01-27-2005 02:08 AM

Oops. I meant that to read 'a 2GB limit on the size of files in an ISO image'.

Dave

linux-rulz 01-27-2005 02:10 AM

Ah, that should be fine. The biggest file will probably be 200 MB so it shouldn't be a problem. Thank you for all of the replies.

Cya!


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