I have played with Linux customization, when I want to build the .ISO I get this error:

$ mkisofs -r -o rhel.iso -b isolinux/isolinux.bin -c isolinux/boot.cat ./
INFO: UTF-8 character encoding detected by locale settings.
Assuming UTF-8 encoded filenames on source filesystem,
use -input-charset to override.
Unknown file type (unallocated) ./.. - ignoring and continuing.
Using RELEA000.HTM;1 for /RELEASE-NOTES-pt_BR.html (RELEASE-NOTES-U1-pt_BR.html)

Size of boot image is 20 sectors -> mkisofs: Error - boot image './isolinux/isolinux.bin' has not an allowable size.

I didnt change the isolinux.bin... Why do I receive the above error message?

migrated from stackoverflow.com Nov 15 '11 at 3:29

This question came from our site for professional and enthusiast programmers.

up vote 22 down vote accepted
+50

You should add these parameters to the command:

-no-emul-boot -boot-load-size 4 -boot-info-table

The parameters are:

  • no-emul-boot: Specifies that the boot image used to create "El Torito" bootable CDs is a 'no emulation' image. The system will load and execute this image without performing any disk emulation

  • boot-load-size: Specifies the number of "virtual" (512-byte) sectors to load in no-emulation mode. The default is to load the entire boot file. Some BIOSes may have problems if this is not a multiple of 4.

  • boot-info-table: Specifies that a 56-byte table with information of the CD-ROM layout will be patched in at offset 8 in the boot file. If this option is given, the boot file is modified in the source filesystem, so make sure to make a copy if this file cannot be easily regenerated! See the EL TORITO BOOT INFO TABLE section for a description of this table.

For more information, see man mkisofs.

  • What does that do? – Tom Wijsman Nov 19 '11 at 19:18
  • no-emul-boot Specifies that the boot image used to create "El Torito" bootable CDs is a 'no emulation' image. The system will load and execute this image without performing any disk emulation – Book Of Zeus Nov 19 '11 at 19:23
  • boot-load-size Specifies the number of "virtual" (512-byte) sectors to load in no-emulation mode. The default is to load the entire boot file. Some BIOSes may have problems if this is not a multiple of 4. – Book Of Zeus Nov 19 '11 at 19:23
  • boot-info-table Specifies that a 56-byte table with information of the CD-ROM layout will be patched in at offset 8 in the boot file. If this option is given, the boot file is modified in the source filesystem, so make sure to make a copy if this file cannot be easily regenerated! See the EL TORITO BOOT INFO TABLE section for a description of this table. – Book Of Zeus Nov 19 '11 at 19:23
  • Thanks for providing that information. Welcome to Super User! +1 – Tom Wijsman Nov 19 '11 at 19:29

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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