Is it possible to make a custom ISO of Fedora workstation 38?

I am very new to fedora. I would like to create a custom iso from extracted fedora workstation 38 image. I already have the anaconda-ks.cfg. But iso creation looks like very challenging. Can please anyone help me?

I am looking for same like below.

genisoimage -U -r -v -T -J -joliet-long -V “Fedora-WS-Live-31-1-9” -volset “Fedora-WS-Live-31-1-9” -A “Fedora-WS-Live-31-1-9” -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e images/efiboot.img -no-emul-boot -o …/Fedora_Custom.iso .

There’s some good info at:

1 Like

Dear Kevin,

Thank you for your response. Finally, i managed to make iso using the below. But I am using Fedora-Workstation-Live-x86_64-31-1.9. Now i am really stuck with Kickstart.ks. I can able to copy the kickstart file using the below. But /liveiso/livesio.cfg i need to do some something in label Linux. Can you help me.

xorriso -indev Fedora-Workstation-Live-x86_64-31-1.9.iso
-outdev test.iso
-compliance no_emul_toc
-map “$file_or_tree_on_disk” “$path_in_iso”
-boot_image any replay

menuentry ‘Install Fedora 31’ --class fedora --class gnu-linux --class gnu --class os {
linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-31 quiet
initrdefi /images/pxeboot/initrd.img
}

to

menuentry ‘Install Fedora 31’ --class fedora --class gnu-linux --class gnu --class os {
linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-31 quiet inst.ks=hd:LABEL=Fedora-S-dvd-x86_64-31:/kickstart.ks
initrdefi /images/pxeboot/initrd.img
}

Dear Kevin,

Thank you for your response. Finally, i managed to make iso using the below. But I am using Fedora-Workstation-Live-x86_64-31-1.9. Now i am really stuck with Kickstart.ks. I can able to copy the kickstart file using the below. But /liveiso/livesio.cfg i need to do some something in label Linux. Can you help me.

I’m not sure I can too much…

xorriso -indev Fedora-Workstation-Live-x86_64-31-1.9.iso
-outdev test.iso
-compliance no_emul_toc
-map “$file_or_tree_on_disk” “$path_in_iso”
-boot_image any replay

So, you’re not making a new image from scratch, you are just trying to
take an existing one and modify it?

menuentry ‘Install Fedora 31’ --class fedora --class gnu-linux --class gnu --class os {
linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-31 quiet
initrdefi /images/pxeboot/initrd.img
}

to

menuentry ‘Install Fedora 31’ --class fedora --class gnu-linux --class gnu --class os {
linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-31 quiet inst.ks=hd:LABEL=Fedora-S-dvd-x86_64-31:/kickstart.ks
initrdefi /images/pxeboot/initrd.img
}

I don’t know how or if thats possible I am afraid.
Live images are iso images, they are designed to be read-only.

Also, as a side note, Fedora 31 is long since retired and no longer
supported. ;(

I’d suggest making a new one with Fedora 38 via livemedia-creator or
livecd-tools. It would take longer, but it should give you a ton of
control over whats in the image and such.

Perhaps someone else knows more about trying to modify existing iso
images.