'ello !
I'm going to copy a fresh little debian installation from one
500mb partition to an 2GB partition on another 'puter.
So i read the source partition with dd without bs=xxxx.

On the GNU-pages i've read the following:
http://org.gnu.de/software/parted/USER
======================
 * if the duplicate partition is going to bigger than the original,
this can also be done:  first, create the new ext2 partition.
Then:
# dd if=/dev/src-device of=/dev/dst-device bs=1024 count=(OLD SIZE)
# parted /dev/hda resize 2 (START) (END)
Where: (OLD SIZE) is the size of the original partition in kilobytes.
(START) and (END) are the new start and end for the duplicate partition.
=======================
Is this bs=1024 essential for not creating a byte-mismatch on my
harddisk or is it '1024' because you can make the count=(OLD SIZE)
just the kilobyte number from the ls -l command on the image file ???
I would think that the ext2 blocksize if it were 4096 is also 4096
after writing 4 1024-blocks in raw format. Am i right there ?

Thanks for some enlightment,
     Sascha

Reply via email to