Skip to main content
Improve formatting, re-tag
Source Link
AdminBee
  • 23.6k
  • 25
  • 55
  • 77

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 rmdir command:
    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/ 

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 :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/

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 rmdir command:
    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/ 
edited tags
Link
Kusalananda
  • 356.1k
  • 42
  • 737
  • 1.1k
Source Link

Issue with Custom RHEL 8.10 ISO Boot

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 :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/