Reading Hispanic Linux I remembered how useful it can be to use images de CD o DVD without having to burn them: we save the disk, we preserve the environment and we have a file that we can move however we want. |
Create image for a DVD
We directly do:
dd if = / dev / dvd of = / home / user / Desktop / dvd.iso
Create image for a CD
dd if = / dev / cdrom of = / home / user / Desktop / cd.iso
Create image for a folder
If we have the data in a folder:
mkisofs -o /destination/cd.iso / folder_for_image
Remember that if in dd is the input stream, which in this case will be / dev / cd or / dev / dvd, but depending on the distribution and the team it could change to something like / dev / cdrom (with an ls in / dev you will find the precise data).
Source: Hispanic Linux
You can also use the 'cat' command with redirection as follows:
cat / dev / cdrom> /folder/para/image.iso
The differences between cat and dd are several and sometimes it is advisable not to use cat, especially if it is a hard disk and it is mounted (do not even think about it). For the rest I recommend that you try it and see. The advantage is that cat does it considerably faster.
Regards!
Good! Thank you for your contribution!
A hug! Paul.
On November 21, 2012 11:48 am, Disqus wrote:
Excellent contribution. Thank you.!!
Thank you very much it was very useful.