DD 4G size files
Posted on 2007-09-28
I am trying to dd a drive tha is 73GB to a fat32 external USB drive. Unfortunately, I am forced to use fat32 and must split the image files into <4GB files. Can you provide syntax on creating the drive image files and also for combining them into a single file that willl be placed on an ext3 partition later?
I know there are other options such flash archive, etc, but I'm limited to using a single usb drive for making the transfer of the dd image from the usb drive to another system. The file needs to be a single dd file on the other system.
On Sun system with FAT32 USB drive mounted:
dd if=/dev/rdsk/c0t0d0s2 of=/mnt/usb/imagefile.dd bs=4096
On separate system with ext3 filesystem, I want to combine the file:
cat /mnt/usb/imagefile.dd.* | dd of=/mnt/usb/imagefile-combined.dd