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

SSH not working with password after upgrade ubuntu 22.04

Issue: In recent upgrade of ubuntu 22.04 we are not able to login server with SSH password. but when we try to login with key then it allow...