lemoncube.com Search: (normal)
Articles
Links
News
Projects

Disclaimer

mkisofs 2gb problem

Having just put a DVD burner on a linux box I tried something like:

   growisofs -Z /dev/hdd -R -J backup_bigger_than_2gb.tar.gz
and it didn't work. It spat out some 'file too large' error. Then I tried doing a udf filesystem one:
   growisofs -Z /dev/hdd -udf backup_bigger_than_2gb.tar.gz
That also didn't work. Same error. I have mkisofs 2.0.3 or some such which meant to be pretty recent. The only solution I've found so far is to use mkudffs as follows:
   # Make sure you have 4.7Gb of free hard drive space:
   dd if=/dev/zero of=image2.udf bs=64k seek=71715 count=1
   losetup /dev/loop0 image2.udf
   mkudffs --media-type=dvd /dev/loop0
   mount -t udf /dev/loop0 /mnt
   cp backup_bigger_than_2gb.tar.gz /mnt
   umount /mnt
   losetup -d /dev/loop0
   growisofs -Z /dev/hdd=image2.udf
Double check the dd command above. I may have it wrong. (NB: mkudffs is part of udftools).

pablo , 2005-02-19 03:47:04