User Tools

Site Tools


linux:create_iso

Create an ISO on Linux

solution 1

Easy

# dd bs=4M if=/path/to/file.iso of=/dev/sdX status=progress oflag=sync

solution 2

Under Linux, you can create an ISO image from a folder using a command line argument with the mkisofs tools. The following example creates an ISO image suitable to be used under Windows:

  • -J option is used to generate Joliet directory records in addition to regular ISO9660 filenames (useful when the discs are to be used on Windows machines).
  • When using the -J, it is recommended to add the -R option (Rock Ridge protocol).
  • Finally, the -l option manages the long names.
# mkisofs -J -l -R -V "Label CD" -iso-level 4 -o output.iso input_directory
linux/create_iso.txt · Last modified: 2023/03/23 21:31 by manu