Hi Team,
I am trying to build Rocky 8 Customized ISO from Minimal ISO with mkksiso command but it is throwing error as ERROR:Running mkefiboot. please find below the command and output.
mkksiso anaconda-ks.cfg Rocky-8.10-x86_64-minimal.iso rocky8.iso
INFO:Running… mount -o loop /packer/packer-rocky-linux2/Goldenimage_iso/8/Rocky-8.10-x86_64-minimal.iso /tmp/lorax.imgutils.acadquhv
INFO:mount: /tmp/lorax.imgutils.acadquhv: WARNING: device write-protected, mounted read-only.
INFO:Running… isoinfo -d -i /packer/packer-rocky-linux2/Goldenimage_iso/8/Rocky-8.10-x86_64-minimal.iso
INFO:CD-ROM is in ISO 9660 format
INFO:System id: LINUX
INFO:Volume id: Rocky-8-10-x86_64-dvd
INFO:Volume set id:
INFO:Publisher id:
INFO:Data preparer id: XORRISO-1.4.8 2017.09.12.143001, LIBISOBURN-1.4.8, LIBISOFS-1.4.8, LIBBURN-1.4.8
INFO:Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
INFO:Copyright File id:
INFO:Abstract File id:
INFO:Bibliographic File id:
INFO:Volume set size is: 1
INFO:Volume set sequence number is: 1
INFO:Logical block size is: 2048
INFO:Volume size is: 1315287
INFO:El Torito VD version 1 found, boot catalog is in sector 530243
INFO:Joliet with UCS level 3 found
INFO:Rock Ridge signatures version 1 found
INFO:Eltorito validation header:
INFO:Hid 1
INFO:Arch 0 (x86)
INFO:ID ‘’
INFO:Key 55 AA
INFO:Eltorito defaultboot header:
INFO:Bootid 88 (bootable)
INFO:Boot media 0 (No Emulation Boot)
INFO:Load segment 0
INFO:Sys type 0
INFO:Nsect 4
INFO:Bootoff 81744 530244
INFO:iso arch = x86_64
INFO:Volume Id = Rocky-8-10-x86_64-dvd
INFO:Using xorrisofs to create the new iso
WARNING:No boot/grub/grub.cfg file found
WARNING:No images/generic.prm file found
WARNING:No images/cdboot.prm file found
Traceback (most recent call last):
File “/usr/sbin/mkefiboot”, line 167, in
main()
File “/usr/sbin/mkefiboot”, line 160, in main
mkefiboot(opt.bootdir, opt.outfile, opt.label)
File “/usr/sbin/mkefiboot”, line 33, in mkefiboot
mkdosimg(None, outfile, label=label, graft={‘EFI/BOOT’:bootdir})
File “/usr/lib/python3.6/site-packages/pylorax/imgutils.py”, line 471, in mkdosimg
mkfsargs=[“-n”, label], graft=graft)
File “/usr/lib/python3.6/site-packages/pylorax/imgutils.py”, line 456, in mkfsimage
with Mount(loopdev, mountargs) as mnt:
File “/usr/lib/python3.6/site-packages/pylorax/imgutils.py”, line 347, in enter
self.mnt = mount(self.dev, self.opts, self.mnt)
File “/usr/lib/python3.6/site-packages/pylorax/imgutils.py”, line 230, in mount
runcmd(cmd)
File “/usr/lib/python3.6/site-packages/pylorax/executils.py”, line 342, in runcmd
return execWithRedirect(cmd[0], cmd[1:], **kwargs)
File “/usr/lib/python3.6/site-packages/pylorax/executils.py”, line 229, in execWithRedirect
env_add=env_add, reset_handlers=reset_handlers, reset_lang=reset_lang)[0]
File “/usr/lib/python3.6/site-packages/pylorax/executils.py”, line 202, in _run_program
raise subprocess.CalledProcessError(proc.returncode, argv, output)
subprocess.CalledProcessError: Command ‘[‘mount’, ‘-o’, ‘shortname=winnt,umask=0077’, ‘/dev/loop1’, ‘/tmp/lorax.imgutils.daw4chom’]’ returned non-zero exit status 32.
ERROR:Command ‘[‘mkefiboot’, ‘–label=ANACONDA’, ‘/tmp/mkksiso-5kosa56p/EFI/BOOT’, ‘/tmp/mkksiso-5kosa56p/images/efiboot.img’]’ returned non-zero exit status 1.
INFO:Running… umount /tmp/lorax.imgutils.acadquhv
ERROR:Running mkefiboot
Please help in resolving this issue.
Thanks in advance.