I'm trying to copy a SUSE 9 DVD using basic linux commands. The ultimate goal is to modify the DVD content before creating the new image. It works after a fashion except the new .iso is a bit larger than the original, and won't fit back on a DVD.
Where does the bloat come from, and how can I get rid of it?
Here's what I did;
isoinfo -d -i /dev/sr0 # note blocksize and volumesize dd if=/dev/sr0 bs=blocksize count=volumesize of=foo.iso mkdir foo mount -t iso9660 -o loop foo.iso foo cp -av foo bar mkisofs -b boot/loader/isolinux.bin -c boot.cat -boot-info-table -no-emul-boot -r -J -o bar.iso bar
Note that I didn't change anything in bar, yet the bar.iso is bigger than foo.iso, enough so that it won't fit back on a DVD. 'du' shows bar is bigger than foo, but 'diff' shows no differences
du -sk foo bar 4699143 foo 4710654 bar du -sk foo.iso bar.iso 3888145 foo.iso 4708322 bar.iso isoinfo -d -i foo.iso Volume size is: 1942170 isoinfo -d -i bar.iso Volume size is: 2351864