Wednesday, 5 October 2011

How to make ISO image file in Linux without any software


windows user enjoying the new feature of Windows7 that is BURN image. But the main thing is, it is the very old feature of linux. So here i am sharing with you that how you can do it....

Creating iso images

To make iso image of the test directory, simply run the following command

#mkisofs -o test.iso /test

The following command will add Joliet and Rock Ridge extensions allowing to store longer file names in a form that makes it usable to Windows systems and support for storing Unix-specific file information. With Joliet and Rock Ridge extensions file names and permissions would appear as they did on the original Linux system when you open the ISO on a Linux or Windows system.

 #mkisofs -o test1.iso -J -R /test 

You can combine files and directories from different locations and make an iso image of them

#mkisofs -o backup.iso -R -J music/  docs/  princy.pdf 

mkisofs can add information into the header of the ISO image which can help you identify the contents of that image later. In the following example

#mkisofs -o /tmp/test.iso -R -J -p "localhost" -publisher "Created by hackers001" \
-V "AccountBackup" -A "mkisofs" -volset "1 of 4 of backups, Sep 9, 2011" \
/home/john/music 
I: -input-charset not specified, using utf-8 (detected in locale settings)
Total translation table size: 0
Total rockridge attributes bytes: 260
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
2619 extents written (5 MB)

-p indicates the preparer ID, which could include a phone number, mailing address, or web site for contacting the preparer of the ISO image.
-publisher indicates a 128-character description of the preparer (possibly the company or organization name).
-V indicates the volumeID. Volume ID is important because in many Linux systems this volume ID is used to mount the CD when it is inserted. For example, in the command line systems.
-A option is for the application used to create the ISO image.
-volset option can contain a string of information about a set of ISO images. 


Related Posts Plugin for WordPress, Blogger... TwitterFacebookGoogle PlusLinkedInRSS FeedEmail Delicious Digg Stumbleupon Favorites More

Share

TwitterFacebookGoogle PlusLinkedInRSS FeedEmail Delicious Digg Stumbleupon Favorites More