To make an ISO from your CD/DVD, place the media in your drive but do not mount it. If it automounts, unmount it.
# umount /dev/cdrom
Create iso image with dd comman:
# dd if=/dev/cdrom of=/tmp/cdimage.iso
- if = input file (/dev/cdrom).
- of = output file (cdimage.iso)
To make an ISO from files on your hard drive, create a directory which holds the files you want. Then use the mkisofs command. mkisofs -o /tmp/cd.iso /tmp/directory/
This results in a file called cd.iso in folder /tmp which contains all the files and directories in /tmp/directory/.
Ho do you make iso image of a removable media which is not a CD or DVD ?
For example if you want to make an iso image of a device whose file system is known but for any reason it’s not mountable so I can’t use mkisofs.
Comment by spam.wax — May 23, 2008 @ 5:26 pm
find out first device name in /dev.
# fdisk -l ( -l = list devices)
then use dd comment to create iso image.
# dd if=/dev/device_name of=myiso.iso
if= input file
of= output file
Comment by shirwa — May 25, 2008 @ 5:06 pm