Tell me the easiest way to create an iso image from an existing file?
When i've got lots of files in a directory i'd like to put them in an iso image file What would you recommend me if i was to attempt this?
You can make a few quick steps
Boot up linux.
Go to a terminal screen. You can usually right click on the desktop and choose this option from the drop-down menu.
3A. Type
dd if=/dev/cdrom of=~/cdrom_image.iso
.OR
3B. Type
mkisofs -o /tmp/cd.iso /tmp/directory/
To make an ISO from files on your hard drive.
You must have permission to access the drive directly using dd
. mount
permissions are not necessarily the same as dd
permissions!
Also... when creating an ISO file, the device must not be mounted. To unmount the cdrom device, use the umount
command as follows:
umount /dev/cdrom
You may also use sudo
to ensure you have proper permissions, but this also means you must have sudo
access on the system. Check the /etc/sudoers
file for information.