This site is moved to other domain!

You should be automatically redirected in 9 seconds. If not, visit
http://www.detector-pro.com
and update your bookmarks.

Friday, October 3, 2008



Stumble Upon Toolbar
written by: Ukion in
[] [] [] [] []

How to create ISO images in Ubuntu


Don't want to miss a single bit? Subscribe to our RSS Feed!


Linux - that excellent operating system! In Linux everything is simple, but also in the same time everything is so complex. In this post we will give you a small tutorial about ISO images files and how to make them under Ubuntu Linux operating system.

An ISO image file is a file that stores the complete contents of a disk or directory. You can create an ISO image file from CD or DVD, or just from specific directory or folder.

How to create an ISO file from a CD or DVD:
In terminal:

INFO=$(isoinfo -d -i /dev/$DEVICE) && echo "$INFO" && dd if=$DEVICE of=$ISO_FILENAME bs=$(echo "$INFO" | grep "^Logical block size is:" | cut -d " " -f 5) count=$(echo "$INFO" | grep "^Volume size is:" | cut -d " " -f 4) conv=notrunc,noerror,sync
where
  • $DEVICE is the device name, such as dvd, cdrom, cdrom1, etc
  • $ISO_FILENAME is filename of the ISO file to be created, such as out.iso
If this step fails with an "input/output error", try various combinations of unmounting/remounting/ejecting the device:
sudo umount -l /dev/$DEVICE
eject /dev/$DEVICE
sudo mount /dev/$DEVICE
If you make ISO image from audio or video disk,to test it - try playing it with Totem or MPlayer first.

How to create an ISO file from a directory:
In terminal:
mkisofs -o $ISO_FILENAME.iso $DIRECTORY




Subscribe to DetectorProDid you enjoy this post? Why not leave a comment below and continue the conversation, or Subscribe to Feed and get articles like this delivered automatically to your Email or feed reader.



Related articles by tags



0 comments: