Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a 7gb .iso file, and I want to move it to a secondary HDD I have connected on my computer, first I tried to move the entire file and it failed saying the file was too large. I noticed always 4GB was copied, so I used split to generate 3GB chunks.

Now I have the 3 chunks in the secondary disk, and I am trying to join them using cat with:

cat x0* > backup.iso

But it also fails saying:

cat: write error: File too large

The resulting file is once again 4GB. How can I join these files?

I have plenty of space on that disk for the files (>50GB). I read somewhere that I should pipe the files contents in real time to avoid this error but I have no idea how to do it.

share|improve this question
up vote 6 down vote accepted

Wich if the format of your external drive? Some drives use FAT32, and this limit the maximun file size close to 4Gb.

If you want to have bigger files you should change it. To do this you have to format the external drive.

share|improve this answer
Yes it's FAT32 because I used is as the disk I can see when I boot either Linux or Windows, and I have tons of stuff in there, isn't there another solution than formatting? :( – trimoans Sep 21 '11 at 15:32
You can't join them on the disk. If you want to cat them into an ISO, you need to generate the ISO on a different disk. It will not harm the file to be in separate chunks on your HDD; you will simply have to join them again on the computer you want to use it on. – zpletan Sep 21 '11 at 15:37
I got an idea, since I want to use this backup only on Windows (ntfs) but I have it on Linux, I could decompress the .iso in the shared FAT32, and then I can move it to the NTFS disk and recreate the .iso, I guess that will work. Thanks. – trimoans Sep 21 '11 at 15:55

The easiest solution would be to output the cat into an external hard drive with a format other than FAT32. You can simply reformat a USB stick >8GB and output the cat in there.

I am afraid but you won't be able to handle >4GB files in a FAT32 hard drive.

You can find further information about file systems and their limitations here:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.