Make ISO file under linux

  • 2020-08-22 23:21:04
  • OfStack

There are several ways to make ISO files under linux, which are as follows:

1. Make ISO files from CD-ROM

cp /dev/cdrom path /ISO filename

Example: cp /dev/cdrom /opt/ mycd.iso, or dd if=/dev/cdrom of=/opt/ mycd.iso

2. Use directory files to make ISO files

mkisofs-r-o path /ISO filename Directory file path

Example: ES39en-ES40en-ES41en /opt/ mycd.iso /home

How do you mount the ISO file after it is made?

mount -o loop ISO filename mount point path

Example: ES57en-ES58en loop /opt/mycd.iso /mnt/cdrom


Related articles: