I'm trying to use dd to clone my Windows partitions from linux. I want to get rid of Windows and put it on another harddrive. Do not want to delete Windows since it is a OEM version.
Anyway the two first partitions on my harddrive belongs to Windows. I have connected a secondary harddrive to linux and executed dd.
username@pluto:~> sudo dd if=/dev/sda1 of=/dev/sdb1 bs=4096 conv=notrunc,noerror
106422+1 records in
106422+1 records out
435907584 bytes (436 MB) copied, 0,958252 s, 455 MB/s
username@pluto:~> sudo dd if=/dev/sda2 of=/dev/sdb2 bs=4096 conv=notrunc,noerror
dd: writing «/dev/sdb2»: No space left on device
894515+0 records in
894514+0 records out
3663929344 bytes (3,7 GB) copied, 8,3846 s, 437 MB/s
The first partition seems to go OK, but for the second it doesn't. Drive sdb is twice the size of sba1+sda2.
I have even tried to create two partition sdb1 and sdb2 before running dd, but with same result.
So any suggestions?
No comments:
Post a Comment