Sunday 5 March 2017

How to create ISO image from command line Ubuntu


On ubuntu, you can create ISO image from the command line using program called 'genisoimage', with this program you can create .iso image from directory, everything on that directory will be stored inside the ISO image.

I'm not sure if 'genisoimage' is comes pre-installed on ubuntu, if it doesn't exist on your ubuntu, you can install 'genisoimage' with this command:
sudo apt-get install genisoimage
How to create ISO image with 'genisoimage'
Let's say you have a directory called 'data', to create ISO image based on that directory, you can do this:
genisoimage -o [output-iso] [directory-name]
Example:
genisoimage -o mydata.iso data/
genisoimage -o my_first_image.iso ~/data/
After the ISO image is created, you can burn it to CD or DVD and do whatever you like.

Harry

Author & Editor

A technology enthusiast and addictive blogger who likes to hacking tricks and wish to be the best White Hacket Hacker of the World.

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.