Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm building a bootable CD/DVD using Ubuntu's genisoimage. The new image is based on the old image downloaded from Ubuntu's website. (The only change made was BOOTx64.efi to bootx64.efi).

How do I extract the old ISO's volume name from the command line? I want to pass it to genisoimage for the new ISO.

share|improve this question

Try file -s:

  $ file -s kubuntu-13.10-desktop-amd64.iso 
  kubuntu-13.10-desktop-amd64.iso: # ISO 9660 CD-ROM filesystem data 'Kubuntu 13.10 amd64             ' (bootable)
share|improve this answer

Here's what I ended up using to extract the volume name. I was using it in a shell script:

VOLUME_LINE=`isoinfo -d -i "$SOURCE_ISO" | grep -i "Volume id:"`
echo "Volume name: $VOLUME_NAME"
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.