What does rocky use to gen iso isolinux.cfg, boot.conf, grub.cfg, grub.conf?

We use lorax, as does Fedora and other EL derivatives, to generate the initial images, which makes the configurations you’re mentioning but also an initial boot.iso image. Lorax is installable on Enterprise Linux and Fedora systems in the base repositories. We do not make any further changes to what’s generated. After lorax is done, another process is ran to make the DVD image, which takes what was made by lorax and either adding on or making a brand new image entirely. For Rocky 8, this is all done with pungi. For Rocky 9, we use our toolkit called empanadas to do it. There is a wiki page that explains it at a high level.

The process is essentially…

  • lorax is ran on each architecture
  • artifacts and are brought to a central gathering place
  • .treeinfo and .discinfo is configured if required (this is typically required if you are building an image with repositories, like the DVD or minimal image)
  • graft points are generated (for DVD or minimal image)
  • xorriso is ran to create the image

This part of the toolkit is what does the work.

These are the templates that it references.

This template is what calls our lorax for the initial generation.

After the initial lorax stuff is made, we can then make the DVD images.

This is an example of xorriso dialog with graft points (maps)

This is an example of the above being used to generate a DVD image.

3 Likes