Friday, June 08, 2012

Ripping DVD images, and creating images.

I have to do this a lot at work, so figured to keep it around.

copying dvd/cd image to the hard drive:

dd if=/dev/scd0 of=/filename.iso

While I am at it, the reverse. After making my changes what I need to do to make an ISO.


mkisofs -o file.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -l -allow-leading-dots -relaxed-filenames -joliet-long -max-iso9660-#filenames -D -R -J -T -V $VOLID -v /home/matthew/directory of files for iso.


Also to mount an image.

mount -t loop /home/matthew/filename.iso /media/filename/

No comments: