[TriLUG] create ISO image of pictures
Ed Hill
ed at eh3.com
Mon Aug 5 16:19:01 EDT 2002
On Mon, 2002-08-05 at 14:24, sanjeev rathore wrote:
> Hi ,
>
> Does anybody know how to create ISO image of pictures
> so that I can burn them onto a CD. I have a directory
> that has some .gif, .jpg images that I would like to
> put on the CD.
>
> Thanks,
> Sanjeev Rathore
Hi Sanjeev,
The following is a quick command-line "cheat-sheet" for making and
burning ISOs.
hth,
Ed
#======================================
# Make ISO9660 file system with Rock Ridge (Unix) and
# Joliet (MS-long-filenames-crap) extensions and follow
# any soft links:
mkisofs -R -J -f -o file.iso /path/
# Same as above but instead preserve (don't follow) the
# soft links:
mkisofs -R -J -o file.iso /path/
# Mount the ISO image using the loopback device to test
# that it did what you wanted (got all the right files):
mkdir ./test
mount -t iso9660 -o ro,loop file.iso ./test
cd ./test
ls
cd ..
umount ./test
# Burn the ISO image to the CDR:
cdrecord -v -speed=4 -dev=0,0 -eject cell_990920.iso
cdrecord -v -speed=8 -dev=0,0 -eject cell_990920.iso
cdrecord -v -speed=12 -dev=0,0 -eject cell_990920.iso
cdrecord -v -speed=16 -dev=0,0 -eject cell_990920.iso
# Re-Burn a CD-RW:
cdrecord -v -speed=2 -dev=0,0 -eject blank=fast pub.iso
# Backup a directory larger than a single CDR
tar -cvf - /path/ | gzip | split -b690m - bkup.`date '+%Y%m%d'`.tgz.
--
Edward H. Hill III, PhD
Post-Doctoral Researcher | Emails: ed at eh3.com, ehill at mines.edu
Division of ESE | URL: http://www.eh3.com
Colorado School of Mines | Phone: 303-273-3483
Golden, CO 80401 | Fax: 303-273-3311
Key fingerprint = 5BDE 4DA1 66BE 4F7B BC17 3A0C 932B 7266 1E76 F123
More information about the TriLUG
mailing list