Working with ISO from the Linux Command Line

If you have wondered how to create an iso from the command line, it is very simple.  You just need to use the following commands:

mkisofs -o <name of iso>.iso <directory to be iso>

To burn an ISO from the command-line many people do a DD, this doesn’t always work since it is technically not the correct way to do it.  To do it the proper way you would need to run the following commands:

  1. Determine the Device ID number by running the following command:

    cdrecord -scanbus

    * The device ID number will be x,x,x on the row which lists the CD/DVD drive you will be using.

  2. Next you will want to do the actual burning of the ISO to that device using the following command:

cdrecord -v dev=<Device ID from the scanbus command> <ISO to burn>.iso

This entry was posted in Arch, CentOS, Fedora, Linux and tagged , , . Bookmark the permalink.

Leave a Reply