Linux – Creating a 80GB image with dd on a FAT32 drive

ddfat32imagelinux

I have a question concerning the creation of an drive image with dd.

Normally i would simply type: "dd if=/dev/foo of=/dev/bar". But in this case i only have a fat32 formatted drive at hand, which should be used for the output. Fat32 only allows files up to 2GB (Or was that 4GB?). Anyway the image would be too big.

My question is, is it possible to create the image in a bunch of smaller files? And how would one restore the splitted image? I'm really not good at bash commands and would be happy for any suggestions. By the way, is there a good book concerning shell scripts, or are there some good tutorials you would recommend?

Best Answer

how about

http://michi-bs.blogspot.com/2008/06/hdd-or-partition-backup-with-dd.html

# dd if=/dev/hda1 | gzip -c | split -b 2000m - /mnt/hdc1/backup.img.gz.