Topic Contributors
creator avatar  
mreschke
Matthew Reschke
Site Developer
Created: Feb 9th, 2009
Updated: Nov 27th, 2010
Topic Organization
LINUX (54)
File
Download Selected (zip)
Download Selected (tar.gz)
Edit
Select All
Select None
View
Detail
Detail Preview
Icons
Preview
Show Hidden
Hide Hidden
Full Manager
Reset Defaults
Open In New Tab
Open In New Window
List Archive Contents
Download File
Open
Download Folder (as .zip)
ISO Images in Linux
Post # 126 permalink Topic #126 by mreschke on 2009-02-09 19:19:41 (viewed 1,517 times)

mkisofs[-][- -][++]

http://www.walkernews.net/2008/07/06/how-to-create-iso-image-of-directory-or-filesystem-in-linux/
For example, to dump the content of /home/user directory into a standard CD ISO-9660 filesystem image with file name called DB2Wkg.iso:

Code Snippet
mkisofs -o user.iso /home/user

To create CD ISO image of directories that contain long file name or non-8.3 format (particularly if you want to burn the CD image for use in Windows system), use the -J option switch that generates Joliet directory records in addition to regular iso9660 file names. For example, to create CD image of Vista SP1 directory:

Code Snippet
mkisofs -o VitaSP1.iso -J /home/user/downlaods/VistaSP1

Note the ISO will contain the files inside the /home/user/downloads/VistaSP1 folder, not the folder itself

dd[-][- -][++]

dd stands for disk dump, if stands for input file, of stands for output file

Used to make images of a device, like a cdrom

Code Snippet
dd if=/dev/cdrom of=/home/user/files/vista.iso

View the ISO by mounting[-][- -][++]

Code Snippet
mkdir /mnt/VistaSP1
mount -o loop /home/user/downloads/VistaSP1 /mnt/VistaSP1