Need help in creating installable iso for Oracle Linux 8/9

42 views
Skip to first unread message

Saish Patil

unread,
Jul 15, 2025, 11:55:43 AMJul 15
to kiwi
Hi, 

Our goal is to build custom platinum iso images which can be used to install os for baremetal servers and VMware vms. 

So far i have been exploring examples in this repo: https://github.com/OSInside/kiwi-descriptions. I have tried creating ubuntu-noble image and was able to successfully created live iso image. 

Can someone help me if there are any examples or documentation I can follow for Oracle Linux to create OEM images with installable iso.

Thanks,
Saish 

Marcus Schäfer

unread,
Jul 16, 2025, 12:43:26 PMJul 16
to kiwi-...@googlegroups.com
Hi,

> Can someone help me if there are any examples or documentation I can
> follow for Oracle Linux to create OEM images with installable iso.

Oracle Linux is derived from RHEL. Thus I would say you can take
any fedora based example that we provide and update the repos
to point to your Oracle Linux.

I would start with this example:

https://github.com/OSInside/kiwi/blob/main/build-tests/x86/fedora/test-image-live-disk/appliance.kiwi


The Disk profile builds an installable ISO. As I said you have to
modify the repos and maybe one or the other package name is different
or does not exist, got renamed

Hope this helps to get you started

Please note we do not offer examples for distros that does not
publicly publish their repositories. This covers mostly the
enterprise distributions. As all of them are derived from an
opensource distro, it's good practice to start with the open
distribution and move the result to the enterprise once you
are happy with it. It causes you less pain ;)

Regards,
Marcus
--
Public Key available via: https://keybase.io/marcus_schaefer/key.asc
keybase search marcus_schaefer
signature.asc

Saish Patil

unread,
Jul 23, 2025, 10:57:23 AMJul 23
to kiwi
Hey Marcus, 

I created ol8 image using below config.xml. It successfully built .iso file. However, I am facing error while booting it up using gemu as below. I also tried creating fedora iso with the help of example you shared, but I ran into similar issue as below. Could you please guide on what could be the fix:
┌──────────────────────────────────────────────────────────────────────────────┐
│ Reading /run/image/*.md5 failed │
├──────────────────────────────────────────────────────────────────────────────┤
│ < OK > │
└──────────────────────────────────────────────────────────────────────────────┘

Config.xml
<?xml version="1.0"?>
<image schemaversion="7.5" name="oraclelinux8">
    <description type="system">
        <author>Saish Patil</author>
        <contact>sais...@gmail.com</contact>
        <specification>Oracle Linux 8</specification>
    </description>
    <profiles>
        <profile name="Disk" description="OEM image of Oracle Linux 8" />
    </profiles>

    <preferences>
        <version>1.16.4</version>
        <packagemanager>dnf</packagemanager>
        <locale>en_US</locale>
        <timezone>UTC</timezone>
        <rpm-check-signatures>false</rpm-check-signatures>
    </preferences>

    <preferences profiles="Disk">
        <type image="oem" filesystem="ext4" installiso="true" installboot="install" firmware="uefi" kernelcmdline="console=ttyS0">
            <bootloader name="grub2" console="serial" timeout="10"/>
            <oemconfig>
                <oem-systemsize>2048</oem-systemsize>
                <oem-unattended>true</oem-unattended>
                <oem-swap>true</oem-swap>
                <oem-swapsize>200</oem-swapsize>
                <oem-multipath-scan>false</oem-multipath-scan>
            </oemconfig>
        </type>
    </preferences>


    <repository type="rpm-md">
    </repository>
    <repository type="rpm-md">
    </repository>
    <repository type="rpm-md">
    </repository>


    <packages type="image">
        <package name="kernel" />
        <package name="systemd" />
        <package name="bash" />
        <package name="dnf" />
        <package name="passwd" />
        <package name="iproute" />
        <package name="openssh-server" />
        <package name="NetworkManager" />
        <package name="firewalld" />
        <package name="vim-minimal" />
        <package name="curl" />
        <package name="wget" />
        <package name="hostname" />
        <package name="procps-ng" />
        <package name="grub2" />
        <package name="dracut-live" />
        <package name="dracut-kiwi-oem-repart" />
    </packages>

    <packages type="oem">
        <package name="dracut-kiwi-oem-repart" />
        <package name="dracut-kiwi-oem-dump" />
    </packages>

    <packages type="bootstrap">
        <package name="glibc" />
        <package name="filesystem" />
        <package name="basesystem" />
        <package name="grub2-efi-x64" />
        <package name="grub2-efi-x64-modules" />
        <package name="shim-x64" />
    </packages>
</image>

Saish Patil

unread,
Jul 23, 2025, 12:24:14 PMJul 23
to kiwi
Just went through this from the other thread which explains the error I am getting.
https://github.com/OSInside/kiwi/pull/2699

I will try out OL9 by updating the repositories as it contains latest dracut packages required to make sha work instead of md5
Reply all
Reply to author
Forward
0 new messages