how official iso images are created ?

General support questions
Post Reply
chipitsine
Posts: 1
Joined: 2018/05/21 15:00:33

how official iso images are created ?

Post by chipitsine » 2018/05/21 15:02:58

Hi

I'm trying to produce custom image. I'm looking for the script/CI/CD/whatever how official images are built.
where can I find such information ?

User avatar
TrevorH
Forum Moderator
Posts: 23652
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: how official iso images are created ?

Post by TrevorH » 2018/05/21 16:45:55

You can use the upstream doc on https://access.redhat.com/documentation ... iso-images as a starting point
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

User avatar
MattPie
Posts: 1
Joined: 2018/05/22 21:48:32

Re: how official iso images are created ?

Post by MattPie » 2018/05/22 22:07:02

The link above is good info up to 7.4. Unfortunately, it looks like something changed (both upstream and in CentOS) with 7.5. If you write the official ISO to USB and insert it, it now comes up as /dev/sdX1 (instead of /dev/sdX before), and there's a second partition with EFI info on it. The build process from the link that has been working for 7.4 produces a single-partition ISO that's slightly smaller (!!) than the original. It throws up an error quickly and fails:

Code: Select all

Failed to set MokListRT: Out of Resources
Failed to open \EFI\BOOT\grubx64.efi - Not Found
Failed to load image \EFI\BOOT\grubx64.efi: Not Found
start_image() returned Not Found
I'd be interested if anyone knows what command is used to build the official ISOs to compare, or if the build process scripts are public. Something is different as the official ISO boots fine on the same system.

Thanks!

Post Reply