Ubuntu - ISO - Get information on an ISO file

The isoinfo utility can be used to gather information in a ISO file or on a CD and verify the integrity of an iso9660 image.

Command OptionDescription
-hHelp and summary of options.
-dPrimary volume descriptor (PVD) of iso9660 image.
-fUse find output formatting.
-i /path-of-imagePath of image to examine. An alternative of dev=/dev/cdrom
dev=/dev/cdromPath of image to examine. An alternative to -i /path-of-image.
-pOutput path table information.
-RPrint permissions, file names and ownerships (Rock Ridge extensions).
-JPrint file names (Joliet extensions).
-T sectorPrint info about multi-session images.

Examples

List contents of an iso file:

isoinfo -f -R -i isoFile.iso

List info about a CD:

isoinfo -d -i /dev/cdrom

returns:

CD-ROM is in ISO 9660 format
System id: LINUX
Volume id: FC/3 x86_64
Volume set id:
Publisher id:
Data preparer id:
Application id: FC/3 x86_64
Copyright File id:
Abstract File id:
Bibliographic File id:
Volume set size is: 1
Volume set sequence number is: 1
Logical block size is: 2048
Volume size is: 326239
El Torito VD version 1 found, boot catalog is in sector 123
Joliet with UCS level 3 found
Rock Ridge signatures version 1 found
Eltorito validation header:
    Hid 1
    Arch 0 (x86)
    ID ''
    Key 55 AA
    Eltorito defaultboot header:
        Bootid 88 (bootable)
        Boot media 0 (No Emulation Boot)
        Load segment 0
        Sys type 0
        Nsect 4
        Bootoff 7C 124

NOTE: The block and volume size can be used as input to the following command to:

  • Find the check sum of the CD:
    dd if=/dev/cdrom bs=2048 count=326239 conv=notrunc,noerror | md5sum 

    (Linux 2.6 kernel 2.6: /media/cdrecorder)

  • Create an iso image:
    dd if=/dev/cdrom bs=2048 count=326239 conv=notrunc,noerror > file-name.iso