I'm facing an issue while booting a custom RHEL 8.10 ISO. During the boot process, I encounter the following error:
initqueue: /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:
-sh
xzcat initrd.img | cpio -idmv
* Modify line 24 to remove rmdir
command:
-sh
vi usr/sbin/fetch-kickstart-disk
* Recreate the image file
-sh
find . | cpio -o -H newc | xz --check=crc32 -9 > /WORK/isolinux/initrd.img
* Build the ISO file
-sh
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/
Asked by Ferdinando96
(1 rep)
Mar 13, 2025, 07:09 AM
Last activity: Mar 13, 2025, 09:08 PM
Last activity: Mar 13, 2025, 09:08 PM