::I've updated the mkisofs commands section. I, too, ran into problems. The solution was to use the mkarchiso method for generating the image.

::I've updated the mkisofs commands section. I, too, ran into problems. The solution was to use the mkarchiso method for generating the image.

::--[[User:Integer|Integer]] 22:15, 18 September 2014 (CEST)

::--[[User:Integer|Integer]] 22:15, 18 September 2014 (CEST)

+

+

:::Thank you for flying xorriso. :)

+

::: Nevertheless i believe the variables in the xorriso example should be given as tangible examples. Like iso_label="ARCH_201209". "iso_application" and "iso_publisher" are probably only ornamental. The "-preparer" option could well be omitted. "custom_archiso_dir" should get value ~/customiso.

+

:::Variable "workdir" is not really applicable in the remastering situation. Even if you have a file "isohdpfx.bin" on hard disk, it might be of the wrong ISOLINUX version. (This warning applies also to program "isohybrid" which officially has to match the ISOLINUX version in the ISO image. SYSLINUX does not guarantee that MBR and El Torito boot image are exchangable between versions. It is not clear whether really incompatible versions are around.)

+

:::In general you rather need the first 512 bytes from the original ISO image file. See for example the dd command in http://libburnia-project.org/wiki/PartitionOffset which is about adding a feature to an isohybrid enabled ISO.

+

:::This file obtained from the old ISO is a matching MBR template for the ISOLINUX boot equipment in the emerging ISO image. To be used by -isohybrid-mbr ${file_with_first_512_bytes}.

+

:::Alternatively there is a file /isolinux/isohdpfx.bin in archlinux-2013.11.01-dual.iso. Most probably a copy of the MBR template used with the mkarchiso run. The mkarchiso code in the web suggests this. Thus to be used by -isohybrid-mbr ${custom_archiso_dir}/isolinux/isohdpfx.bin

Modernization

I recently ran into a situation where I need to create a remastered ISO image for Arch Linux. As was stated in 2007 (yikes), this page is out of date. I'm currently trying to modernize it to work with the current ISO image.

My main issue so far is figuring out the propper form of the mkisofs command. If anyone wants to lend a hand with this, I would greatly appreciate it.
--Arcanazar 01:42, 9 August 2009 (EDT)

The current version uses GRUB instead of ISOLINUX. So, it's -b boot/grub/stage2_eltorito.

Nevertheless i believe the variables in the xorriso example should be given as tangible examples. Like iso_label="ARCH_201209". "iso_application" and "iso_publisher" are probably only ornamental. The "-preparer" option could well be omitted. "custom_archiso_dir" should get value ~/customiso.

Variable "workdir" is not really applicable in the remastering situation. Even if you have a file "isohdpfx.bin" on hard disk, it might be of the wrong ISOLINUX version. (This warning applies also to program "isohybrid" which officially has to match the ISOLINUX version in the ISO image. SYSLINUX does not guarantee that MBR and El Torito boot image are exchangable between versions. It is not clear whether really incompatible versions are around.)

This file obtained from the old ISO is a matching MBR template for the ISOLINUX boot equipment in the emerging ISO image. To be used by -isohybrid-mbr ${file_with_first_512_bytes}.

Alternatively there is a file /isolinux/isohdpfx.bin in archlinux-2013.11.01-dual.iso. Most probably a copy of the MBR template used with the mkarchiso run. The mkarchiso code in the web suggests this. Thus to be used by -isohybrid-mbr ${custom_archiso_dir}/isolinux/isohdpfx.bin