Originally Posted by debeus
I'm trying to back up a hard drive to a larger external hard drive using the command
dd if=/dev/hda of=/mnt/backup.img
This is a computer that runs windows, so I'm booting from the Slackware CD, and I get the message "File size limit exceeded" when the target reaches 2GB. I could do it in small chunks but then I would be unable to mount it using -o loop. The target drive is reiserfs, and I've tried ulimit -f unlimited, without it working.
What about space on '/mnt/backup.img'?
You should look at this link by AwesomeMachine
He has composed a great howto for the dd command on LQ.
I've not had a file error for a bitstream copy for a smaller partition to a larger using;
dd if=/dev/hda1 of=/dev/hda2 bs=4096 conv=notrunc,noerror
Change the device '/dev/hda#' to your devices. You could use the blocks from 'fdisk -l' to create your 'dd seek' command options to prevent the larger partition problem.