bloggerads

2015年10月16日 星期五

UBUNTU 下的硬碟對拷方法

使用"dd"這個指令,將硬碟a完全複製到硬碟b
(Please prepare a ubuntu system to boot and use buit-in app "dd" to clone disk a, b, c,... to disk a, b, c,...)

1. find your disk by calling built-in app "Disks"  and find which disk is source and which one is destination

for example, my source disk is sdc, destination disk is sda


2. sudo dd if=/dev/sdc of=/dev/sda bs=200M


bs is very critical, although I type 200M, but actually average speed is around 100MB, if you dont give this parameter, the clone process might take very long time


3. wait then done.


<Note>
if you want to see the progress, open a new terminal and type: 

watch -n 5 killall -USR1 dd

Then the dd will start to show the progress every 5 seconds.

沒有留言:

張貼留言