
Code: Select all
$ mkisofs -r -o image.iso /mnt/cdrom Code: Select all
$ dd if=/dev/cdroms/cdrom0 of=/tmp/image.isoisnt that only useful for making an iso of a cdrom? it is already in iso format on the cd anyway. would that work for a directory? say for example my home directory.?Caffeine wrote:This didn't work too well for me:File names were truncated to 8.3. ButCode: Select all
$ mkisofs -r -o image.iso /mnt/cdromSeemed to work better. ( Make sure your cdrom isn't mounted first!)Code: Select all
$ dd if=/dev/cdroms/cdrom0 of=/tmp/image.iso

You're 100% correct - it's only useful for creating an iso image from an already existing CD - which was one of the original questions.st. anger wrote:isnt that only useful for making an iso of a cdrom? it is already in iso format on the cd anyway. would that work for a directory? say for example my home directory.?Caffeine wrote:This didn't work too well for me:File names were truncated to 8.3. ButCode: Select all
$ mkisofs -r -o image.iso /mnt/cdromSeemed to work better. ( Make sure your cdrom isn't mounted first!)Code: Select all
$ dd if=/dev/cdroms/cdrom0 of=/tmp/image.iso
Try it. You can test the image is good withKuk0c wrote:do 'dd if=/dev/cdrom of=cdrom.iso' make a dao image?
Code: Select all
$ mkdir testMount; mount -t iso9660 -o loop ./cdrom.iso ./testMountCode: Select all
cat /dev/cdroms/cdrom0 > cd.img # The UNIX way to do it
dd if=/dev/cdroms/cdrom0 of=cd.img bs=4k # More control & efficiency
mkisofs -J -o image.iso /mnt/cdrom # compatible with Windows, MacOS, Mac OS X etc.
mkisofs -R -o image.iso /mnt/cdrom # compatible with various *NIX and UNIX
# I have no idea what the difference between -R and -r is, other than that '-r' is more 'rationalized'
