Advertisement
ciusss89

Untitled

Jul 25th, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.26 KB | None | 0 0
  1. #Hd clone.
  2.  
  3. #Partitions
  4. ddrescue -v /dev/sdX  /mnt/DATA/sdX_image.img /mnt/DATA/rescue.log
  5.  
  6. #Windows mbr:
  7. dd if=/dev/sd of=/mnt/DATA/mbrloader.img bs=446 count=1
  8.  
  9. #Restore
  10. dd if=/mnt/DATA/sdX_image.img of=/dev/sdX
  11. dd if=/mnt/DATA/mbrloader.img of=/dev/sdX
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement