dd (netcat) to create an ISO image - alex-aleyan/linux_wiki GitHub Wiki
Create ISO images using command line:
Method 1 (using dd command):
Make sure the source device is unmounted and perform next:
dd if=/dev/sdc0 of=/cygdrive/c/Users/user01/Desktop/clonezilla.iso
dd if=/dev/sda | ssh [email protected] 'dd of=/path/clonezilla.iso'
dd if=/dev/sda | ssh [email protected] 'dd of=/dev/sdb'
Method 2 (using netcat command):
Source (tx): bzip2 -c /dev/sda | netcat 192.168.10.100 2222
Destination (rx): netcat -p 2222 -l |bzip2 -d | dd of=/dev/sdb