Talk:Remastering the Install ISO

From ArchWiki
Revision as of 11:21, 20 September 2014 by Scdbackup (talk | contribs) (Upstream comments on xorriso example)
Jump to navigation Jump to search


5.d. doesn't work: su -c 'mount -o loop initrd.img initrdedit'. mount doesn't know the FS type. Anybody knows how to make this work? —This unsigned comment is by Djclue917 (talk) 2007. Please sign your posts with ~~~~!


Could you please update this page to match the current arch version or at least give me an URL with more detailed instructions about making a customized install ISO ?


Flavious 05:02, 24 November 2007 (EST)


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.
--Mlu 23:46, 6 March 2010 (EST)
RE: Arcanazar:
I've updated the mkisofs commands section. I, too, ran into problems. The solution was to use the mkarchiso method for generating the image.
--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 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
Scdbackup (talk) 11:21, 20 September 2014 (UTC)
I've updated the customization section. File names are current.
--Integer 22:23, 18 September 2014 (CEST)