cmens23
February 25, 2025, 7:00pm
1
Hello, I want to create a custom ISO of AlmaLinux 10 Beta, but I stuck on xorriso cmd where I normally pass the isolinux path. This does actually not exist. Is there some description available to create a custom ISO for MBR and GPT?
Thanks in advance
With Alma 9, I’m using mkisofs, e.g.,
mkisofs -o "$ISO_IMAGE" \
-b isolinux/isolinux.bin \
-J -R -l \
-c isolinux/boot.cat \
-no-emul-boot \
-boot-load-size 4 \
-boot-info-table \
-eltorito-alt-boot \
-e images/efiboot.img \
-no-emul-boot \
-graft-points \
-joliet-long \
-V "$ALMALINUX_MINIMAL_LABEL" .
mkisofs is found in the genisoimage package.
I’m just using the existing Minimal install as a base for my custom ISO.
cmens23
February 27, 2025, 3:20pm
3
Alright, for Alma 9 this is straight forward. But in Alma 10 Beta, there is no folder “isolinux”. I found an description for Ubuntu, where you must extract the MBR from the original ISO: boot - Ubuntu 22.04 build ISO (Both: MBR and EFI ) - Ask Ubuntu
I thought it was a missing utility issue. I now see your issue. The v10 repo does have ‘isolinux’, nor does it have an ‘isos’ directory to copy one from (via the iso ;). I’ve never had to crack an egg like this before.
Sorry, I cannot help.
don’t use genisoimage, it’s end of life.
in AlmaLinux 10, absence of isolinux indicates that you will not be able to run BIOS boot, only UEFI boot systems.
this xorriso will get you a bootable iso:
xorriso -outdev $OUTPUT_ISO
-volid ‘AlmaLinux-Kitten-10-x86_64’
-padding 0
-map “$SOURCE_DIR” /
-boot_image any efi_path=/images/efiboot.img
-boot_image any platform_id=0xef
-as mkisofs
-no-emul-boot
-boot-load-size 4
-boot-info-table
Ok, thank you for your answers!
I still wonder why the original ISO is still bootable in MBR Mode. I found something like this Remaster Installation Image for Ubuntu 20.10 - Ask Ubuntu
Is there a similar procedure on AlmaLinux?