Are there any instructions available about how to create a bootable .iso file, for installing OEL5.8, from scratch?
We need to build a system which is a customised version of OEL5.8; we want to add some extra RPMs and remove others. We have an older build system which does this based on OEL5.5, but the way it has been built makes this hard to upgrade. We'd like to try starting from OEL5.8 again.
One possibility would be to download the initial OEL5.8 .iso; mount this as a loop-back filesystem; adjust some RPMs and config; then re-create an .iso from this file. However, this doesn't allow us to update the kernel very easily. We'd prefer an approach which starts from a set of RPMs (perhaps including modified kernel RPMs) and builds the .iso from scratch.
You cannot simply edit an .iso image file because the iso9660 filesystem is read-only. And even if you create your own iso image from scratch, with a bootable code, any package you add will not be part of the initial installation, unless you recreate the appropriate software repository database and anaconda installer. Sounds like overkill to me for what you are describing.
Why would you want to go through the endeavor to adjust the Oracle Linux distribution DVD for the purpose of creating a customized system? Why not using Kickstart instead, or a simply create a post-installation script to modify the installation to your needs?