bug-xorriso
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xorriso modifies file


From: Adda Rathbone
Subject: xorriso modifies file
Date: Wed, 29 Apr 2020 16:38:33 +0200

Hi,

I stumbled about an md5sum mismatch for a file when generating an iso image with xorriso (version 1.4.8):

59e8ae36353a50a11ae1fd2abc5cc52d  image/isolinux/bios.img
9eec18586e3cd22143ba6df562b7d97a  iso/isolinux/bios.img

At least the bytes 9 to 24 have been changed from zero to something else:

First 32 bytes of  image/isolinux/bios.img:
00000000: e800 00eb 3b00 0000 0000 0000 0000 0000  ....;...........
00000010: 0000 0000 0000 0000 0000 0000 0000 0000  ................

First 32 bytes of  iso/isolinux/bios.img:
00000000: e800 00eb 3b00 0000 1000 0000 2200 0000  ....;......."...
00000010: 5f60 0300 1f64 3238 0000 0000 0000 0000  _`...d28........

I am using following command:

xorriso \
   -as mkisofs \
   -iso-level 3 \
   -full-iso9660-filenames \
   -volid "Ubuntu from scratch" \
   -eltorito-boot boot/grub/bios.img \
   -no-emul-boot \
   -boot-load-size 4 \
   -boot-info-table \
   --eltorito-catalog boot/grub/boot.cat \
   -output "../ubuntu-from-scratch.iso" \
   -graft-points \
      "." \
      /boot/grub/bios.img=isolinux/bios.img

The full script can be found here [1].

I seem to overlook the part in the "Bootable ISO images" section, where it states that files will be modified. Can someone please point me in the right direction. What would be the correct way to generate an iso with matching md5 sums?

Thank you
Adda


[1]: https://pastebin.com/4fmdKQz8  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]