# Customizing Rocky Linux 9.4 ISO to Update Repos and Kernel Version

**URL:** <https://forums.rockylinux.org/t/customizing-rocky-linux-9-4-iso-to-update-repos-and-kernel-version/16452>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-9\
**Created:** [November 11, 2024, 3:13pm UTC](https://forums.rockylinux.org/t/customizing-rocky-linux-9-4-iso-to-update-repos-and-kernel-version/16452 "2024-11-11T15:13:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![krux](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@krux](https://forums.rockylinux.org/u/krux)\
**Post date:** [November 11, 2024, 3:13pm UTC](https://forums.rockylinux.org/t/customizing-rocky-linux-9-4-iso-to-update-repos-and-kernel-version/16452/1 "2024-11-11T15:13:47Z")

</div>

Hi,

Is it possible to modify the official Rocky Linux ISO to begin the kickstart installation with a more recent `vmlinuz`?

I need the kernel to be version 5.14.0-427.28.1 rather than the default 5.14.0-427.13.1 that ships with the ISO.

This is critical because I need the kernel running during the kickstart phase to match the version 427.28.1 as several drivers require it during my kickstart post customizations process.

Could you advise on how to customize the ISO to upgrade the kernel during kickstart, and also to update the included repositories like AppStream and BaseOS?

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [November 11, 2024, 3:38pm UTC](https://forums.rockylinux.org/t/customizing-rocky-linux-9-4-iso-to-update-repos-and-kernel-version/16452/2 "2024-11-11T15:38:08Z")

</div>

While I don’t have answer to the question, I have to ask what drivers have been built _after_ 5.14.0-427.13.1 _and_ are incompatible with it?

---

<div class="post-metadata">

**Author:** ![lumarel](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/lumarel/32/909_2.png) [@lumarel](https://forums.rockylinux.org/u/lumarel)\
**Post date:** [November 11, 2024, 3:50pm UTC](https://forums.rockylinux.org/t/customizing-rocky-linux-9-4-iso-to-update-repos-and-kernel-version/16452/3 "2024-11-11T15:50:28Z")

</div>

Tbh instead of modifying the ISO, I would create a new one, with the stuff you need.

I can recommend using the [image builder](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/composing_a_customized_rhel_system_image/index) for that, if you can spare another system to build images. (the setup part of the repos is even a bit simpler than when using RHEL, as in the guide, just adding the repos without the rhsm part)  
That can build you customized ISOs, which immediately start the kickstart install, or even build ready to use template images, for hypervisors.  
In this case it will put the latest available packages in the image.

---

<div class="post-metadata">

**Author:** ![krux](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@krux](https://forums.rockylinux.org/u/krux)\
**Post date:** [November 12, 2024, 11:23am UTC](https://forums.rockylinux.org/t/customizing-rocky-linux-9-4-iso-to-update-repos-and-kernel-version/16452/4 "2024-11-12T11:23:11Z")

</div>

The drivers actually work on version 5.14.0-427.13.1, but I had already created a VMDK template for all of my VMware-based VMs and deployed them with 28.1. The issue only came up with my bare-metal machines, where we use the PXE kickstart method for testing. Downgrading my whole infrastructure wasn’t something I wanted to deal with, and building a custom ISO seemed even more inconvenient.

In the end, I recreated the entire infrastructure on version 5.14.0-427.13.1. Since it’s partly automated, I didn’t mind doing it.

Thanks!

---

<div class="post-metadata">

**Author:** ![bishopolis](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@bishopolis](https://forums.rockylinux.org/u/bishopolis)\
**Post date:** [November 18, 2024, 8:59pm UTC](https://forums.rockylinux.org/t/customizing-rocky-linux-9-4-iso-to-update-repos-and-kernel-version/16452/5 "2024-11-18T20:59:27Z")

</div>

> The drivers actually work on version 5.14.0-427.13.1, but I had already created a VMDK template for all of my VMware-based VMs and deployed them with 28.1

Always remember that there is no difference between installing (eg) 9.1 and upgrading to 9.5 or just installing 9.5 . If you’re used to other package formats and workflow, you may be surprised by the knowledge.

You’ll be updating your deployed machines immediately, as there’s no risk, there’s trivial rollbacks (backinstalls), and it’s all atomic so no half-installs of packages.

Given the requirement of long-term support that keeps things compatible, running yum-upgrade via cron is still a recipe for easy success even after they moved to using lennart’s cancerous blob for all the things – 99% safe vs 100%.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [January 17, 2025, 8:59pm UTC](https://forums.rockylinux.org/t/customizing-rocky-linux-9-4-iso-to-update-repos-and-kernel-version/16452/6 "2025-01-17T20:59:34Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
