If for example, we need to create an ISO image for a CD/DVD, we can use dd command.
dd if=/dev/cdrom of=cd.iso
If we need to create an ISO image out for a directory/file, we can use mkisofs command.
mkisofs -o ~/docs.iso -J -r -V MY_LABEL ~/Documents
To verify if the ISO image is correct, we need to mount that ISO image.
mount -t iso9660 -o loop /media
To umount:
umount /mediaSee man dd and mkisofs for more information on the above commands.
No comments:
Post a Comment