1 |
I'm cloning a windows disk using gentoo; |
2 |
|
3 |
On the old 66GB disk; |
4 |
# dd if=/dev/sdb of=/root/winmbr.bin bs=512 count=1 |
5 |
# dd if=/dev/sdb1 bs=10M | gzip -v > winpartition.gz |
6 |
|
7 |
Then after swapping in the new 500GB disk; |
8 |
dd if=/root/winmbr.bin of=/dev/sdb bs=512 count=1 |
9 |
# gunzip -c winpartition.gz | dd of=/dev/sdb1 bs=10M |
10 |
dd: writing `/dev/sdb1': No space left on device |
11 |
0+306 records in |
12 |
0+305 records out |
13 |
10137600 bytes (10 MB) copied, 0.109885 s, 92.3 MB/s |
14 |
# fdisk -l /dev/sdb |
15 |
|
16 |
Disk /dev/sdb: 500.1 GB, 500107862016 bytes |
17 |
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors |
18 |
Units = sectors of 1 * 512 = 512 bytes |
19 |
Sector size (logical/physical): 512 bytes / 512 bytes |
20 |
I/O size (minimum/optimal): 512 bytes / 512 bytes |
21 |
Disk identifier: 0xe3f7e3f7 |
22 |
|
23 |
Device Boot Start End Blocks Id System |
24 |
/dev/sdb1 * 206848 117207039 58500096 7 HPFS/NTFS/exFAT |
25 |
|
26 |
Why is dd saying no space left after copying 10MB when sdb1 is 65GB? |