I'm facing an issue while booting a custom RHEL 8.10 ISO. During the boot process, I encounter the following error:
initqueue[1065]: /usr/sbin/fetch-kickstart-disk: line 24: rmdir: command not found I extracted initrd.img, modified /usr/sbin/fetch-kickstart-disk, and then rebuilt the ISO. However, the problem persists.
Has anyone encountered this issue before? Any suggestions on how to properly modify initrd.img or ensure rmdir is available during boot?
Thanks
This is what I tried:
- Extract the image:
xzcat initrd.img | cpio -idmv - Modify line 24 to remove
rmdircommand:vi usr/sbin/fetch-kickstart-disk - Recreate the image file
find . | cpio -o -H newc | xz --check=crc32 -9 > /WORK/isolinux/initrd.img - Build the ISO file
xorriso -as mkisofs -o /RHEL-8-10-0-BaseOS-x86_64.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table /WORK/