LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-27-2005, 01:43 AM   #1
linux-rulz
Member
 
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

Rep: Reputation: 30
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?
 
Old 01-27-2005, 01:57 AM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
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.

Last edited by Dark_Helmet; 01-27-2005 at 02:01 AM.
 
Old 01-27-2005, 01:59 AM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
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.

Last edited by ilikejam; 01-27-2005 at 02:10 AM.
 
Old 01-27-2005, 02:04 AM   #4
linux-rulz
Member
 
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

Original Poster
Rep: Reputation: 30
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?
 
Old 01-27-2005, 02:08 AM   #5
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

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

Dave
 
Old 01-27-2005, 02:10 AM   #6
linux-rulz
Member
 
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

Original Poster
Rep: Reputation: 30
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!
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make a DVD ISO image? A6Quattro Linux - Software 8 10-08-2009 08:58 PM
How to make bootable ISO image of whole Linux installed? simber Linux - Newbie 4 11-17-2005 11:55 AM
How Do I make floppies from .iso image bentman78 Linux - Software 5 06-17-2003 11:36 AM
make iso image im1crazyassmofo Linux - General 4 05-19-2003 04:39 PM
How to make a Linux bootable cd from an ISO image using Nero? Godxilla2001 Linux - Newbie 6 10-28-2002 04:45 AM


All times are GMT -5. The time now is 11:14 PM.

Main Menu
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