Personal tools

Difference between revisions of "Dd"

From MohidWiki

Jump to: navigation, search
(New page: dd allows to perform disk dumps in linux. Quite useful to create iso images from CDs or DVDs. ==How to create an iso image of a cdrom?== > sudo dd if=/dev/cdrom of=cd.iso ==How to m...)
 
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
==How to create an iso image of a cdrom?==
 
==How to create an iso image of a cdrom?==
  
> sudo dd if=/dev/cdrom of=cd.iso
+
> sudo dd if=/dev/cdrom of=cd.iso
  
 
==How to mount an image?==
 
==How to mount an image?==
  
> mkdir -p /mnt/isoimage
+
> mkdir -p /mnt/isoimage
> mount -o loop -t iso9660 cd.iso /mnt/isoimage
+
> mount -o loop -t iso9660 cd.iso /mnt/isoimage
  
 
==How to unmount?==
 
==How to unmount?==
  
> umount -lf /mnt/isoimage
+
> umount -lf /mnt/isoimage
  
 
==See also==
 
==See also==
 
*[[Mount]]
 
*[[Mount]]
 +
*[[mkisofs]]
  
 
==External references==
 
==External references==
 +
*[http://en.wikipedia.org/wiki/Dd_(Unix) dd on wikipedia]
 
*[http://kevin.vanzonneveld.net/techblog/article/make_iso_images_on_linux/ Original source.]
 
*[http://kevin.vanzonneveld.net/techblog/article/make_iso_images_on_linux/ Original source.]
  
 
[[Category:Linux]]
 
[[Category:Linux]]
 
[[Category:Tools]]
 
[[Category:Tools]]

Latest revision as of 01:45, 4 January 2010

dd allows to perform disk dumps in linux. Quite useful to create iso images from CDs or DVDs.

How to create an iso image of a cdrom?

> sudo dd if=/dev/cdrom of=cd.iso

How to mount an image?

> mkdir -p /mnt/isoimage
> mount -o loop -t iso9660 cd.iso /mnt/isoimage

How to unmount?

> umount -lf /mnt/isoimage

See also

External references