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
initqueue[1065]: /usr/sbin/fetch-kickstart-disk: line 24: rmdir: command not found I extracted initrd.imginitrd.img, modified /usr/sbin/fetch-kickstart-disk/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.imginitrd.img or ensure rmdirrmdir is available during boot?
Thanks :S
This is what I tried: #EXTRACT THE IMG xzcat initrd.img | cpio -idmv
#MODIFY LINE 24 REMOVING RMDIR COMMAND vi usr/sbin/fetch-kickstart-disk
#RECREATE THE IMG find . | cpio -o -H newc | xz --check=crc32 -9 > /WORK/isolinux/initrd.img
#BUILD THE ISO 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/
- 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/