Linux Programmer | RHCE | RHCSA

Search This Blog

Wednesday, 16 November 2016

use of dd command

dd if=/dev/sr0 of=myCD.iso bs=2048 
conv=noerror,sync
Creates an ISO disk image from a CD-ROM; in some cases the created ISO image may not be the same as the one that was used to burn the CD-ROM.
dd if=system.img of=/dev/sdc bs=4096  
conv=noerror
Restores a hard disk drive (or an SD card, for example) from a previously created image.
dd if=/dev/sda2 of=/dev/sdb2 bs=4096  
conv=noerror
Clones one partition to another.
dd if=/dev/ad0 of=/dev/ad1 bs=1M  
conv=noerror
Clones a hard disk drive "ad0" to "ad1".

No comments:

Post a Comment

M3 Button not working in Wayland

Mouse M3 button not working in wayland - ubuntu 26.04 1. Check your desktop Run: echo $XDG_SESSION_TYPE echo $XDG_CURRENT_DESKTOP 2. If...