dd didn't stop at partition boundary?
James McDonald
james at jamesmcdonald.id.au
Wed Dec 2 18:38:36 PST 2009
jorg raskowski wrote:
> Man-wai Chang wrote:
>> I was trying to copy a partiton of 9.7G (/dev/sda1) when mounted with
>> partition id being 27 (Unknown) to a file in an NTFS partition
>> (/dev/sda3):
>>
>> dd if=/dev/sda1 of=/dev/sda3/samsung.bin
>>
>> dd didn't stop after samsung.bin reached the size of 9.7G and went
>> through 13G. I aborted it.
>>
>> Why?
>>
>
Shouldn't the command be:
mkdir /mnt/sda3
mount -t ntfs /dev/sda3 /mnt/sda3
dd if=/dev/sda1 of=/mnt/sda3/samsung.bin
More information about the Linux-users
mailing list