[Howto] [Linux] [Multimedia] [Tutorials] [Ubuntu]
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,syncwhere
- $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
sudo umount -l /dev/$DEVICEIf you make ISO image from audio or video disk,to test it - try playing it with Totem or MPlayer first.
eject /dev/$DEVICE
sudo mount /dev/$DEVICE
How to create an ISO file from a directory:
In terminal:
mkisofs -o $ISO_FILENAME.iso $DIRECTORY
Did 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.
0 comments:
Post a Comment