Hi friends now i am going to discuss about making iso files in linux.before going to that in windows we can make iso file easily using many third party softwares.but in linux that's not that much easy . most of the people don't know how to burn and creating iso (image files) in linux.
In linux, you can use the commandline to both make and mount iso images.
Firstly, the program ‘dd’ which comes standard on any linux distro can be used to make an iso image.
the program syntax is relatively simple, here is an example that would make an iso image of my cdrom0 drive and save it in my home folder as backup_image.iso:
dd if=/dev/cdrom0 of=~/backup.iso
now to explain the command,
the first bit “dd” is the program name (note: dd stands for dataset definition).
the next part of the command “if=/dev/cdrom0? specifies the input for the program, in this case it is the device cdrom0 (my first CD/DVD drive)
the last bit of the command “of=~backup.iso” specifies the output path and name for the program, in this case the output is a file named backup.iso that is stored in my home directory. the tilde (~) specifies the home directory.
so there you go, a relatively simple method of creating an iso file in linux. You can even put this in a bash script and have the iso file tarballed and gziped and sent off to your file server for archiving, but thats for another article to cover.
the command dd has many more options than what I have shown such as the ability to select block size and write at a certian number of bytes at a time, all these options grant dd great flexibility. Infact, you could use dd to backup entire harddrives and make 1:1 copies of their filesystems. Even damaged drives can be recovered somewhat using dd as it is low-level and works with the raw data on the drive.
Now that you know how to make iso images using dd, you will want to know how to mount them. In linux this is easily achieved using the ‘mount’ command. The first thing you will want to do however, is to create a mount point for your iso image, so as root go ahead and create a directory named iso in /mnt. try using this command if your distro supports sudo -
sudo mkdir /mnt/iso
this creates a directory named iso in your /mnt directory , we will use this directory as a mount point for out iso image.
now mount the image -
sudo mount -o loop ~backup.iso /mnt/iso
this command mounts the backup.iso file found in your home directory to the mount point /mnt/iso the -o loop part of the command allows the iso file to be treated as a block device.
now that you have mounted the iso, go to your /mnt/iso directory and you should see that the iso contents are readable and usable. :D
to unmount the iso image, type in this command :
umount ~backup.iso
Friday, October 8, 2010
Subscribe to:
Post Comments (Atom)
Popular Posts
-
H i All, In comparison to the logical structure, which performs administrative tasks, the Active Directory physical structure checks when ...
-
Hi All, guess who is this guy ? He is Jonathan James born in 1983 December 12 turned out to be the worlds most threatening and biggest...
-
Hi All, Most of the hackers are using this tool for finding vulnerablities in the network.Mostly the penetrating tester are using this t...
-
Hi All, HACK your friend's keyboard and make him type "You are a FOOL" simultaneously: First open a note pad and copy the ...
-
Hi All, Want to have a look at the tools which Jester (the one who did a Ddos distributed denial of service) attack against Wikileaks ? j...
-
Hi All, If you are using Internet Explorer, Outlook or any Application, you can get Dr .Watson Postmortem Debugger error. You can also obse...
-
Hi All, In computer storage devices are devided in to 2 types . Those are 1. primary storage devices . 2. secondary storage devices. ...
-
Hi All, Navigating Google search results with keyboard keys is a long awaited feature. Shortcuts will save your time and speed up your wo...
-
Hi All, This list offers hundreds of operating system product and project names, many of them are based on the same operating system more ...
Followers
Disclaimer
All Data and Information Provided on This BLOG is only for Education purposes only.If you done any thing else these in real time the blog is not Responsible.Try all those on your own risk.
IF you find any thing else here as per in violation of copyright law .mail me on srinathceh@gmail.com as soon as possible action will be taken.
IF you find any thing else here as per in violation of copyright law .mail me on srinathceh@gmail.com as soon as possible action will be taken.
No comments:
Post a Comment