Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error building ISO
2016-05-25, 18:43
Post: #1
Error building ISO
I was trying to build an ISO image using
Code:
make bin/ipxe.iso

But I got an error as follows:
Code:
[BUILD] bin/hvm.ids.o
  [BUILD] bin/undi.ids.o
  [AR] bin/blib.a
ar: creating bin/blib.a
  [HOSTCC] util/zbin
  [VERSION] bin/version.ipxe.lkrn.o
  [LD] bin/ipxe.lkrn.tmp
  [BIN] bin/ipxe.lkrn.bin
  [ZINFO] bin/ipxe.lkrn.zinfo
  [ZBIN] bin/ipxe.lkrn.zbin
  [FINISH] bin/ipxe.lkrn
  [GENISO] bin/ipxe.iso
cp: missing destination file operand after ‘bin/iso.dir.CtH7Ki’
Try 'cp --help' for more information.
genisoimage: Uh oh, I cant find the boot image 'isolinux.bin' !
rm bin/ipxe.lkrn.zinfo bin/ipxe.lkrn.zbin bin/version.ipxe.lkrn.o bin/ipxe.lkrn.bin

Any idea what I'm doing wrong?
Find all posts by this user
Quote this message in a reply
2016-05-25, 21:37
Post: #2
RE: Error building ISO
(2016-05-25 18:43)pxe_curious Wrote:  I was trying to build an ISO image using
Code:
make bin/ipxe.iso

But I got an error as follows:
Code:
[BUILD] bin/hvm.ids.o
  [BUILD] bin/undi.ids.o
  [AR] bin/blib.a
ar: creating bin/blib.a
  [HOSTCC] util/zbin
  [VERSION] bin/version.ipxe.lkrn.o
  [LD] bin/ipxe.lkrn.tmp
  [BIN] bin/ipxe.lkrn.bin
  [ZINFO] bin/ipxe.lkrn.zinfo
  [ZBIN] bin/ipxe.lkrn.zbin
  [FINISH] bin/ipxe.lkrn
  [GENISO] bin/ipxe.iso
cp: missing destination file operand after ‘bin/iso.dir.CtH7Ki’
Try 'cp --help' for more information.
genisoimage: Uh oh, I cant find the boot image 'isolinux.bin' !
rm bin/ipxe.lkrn.zinfo bin/ipxe.lkrn.zbin bin/version.ipxe.lkrn.o bin/ipxe.lkrn.bin

Any idea what I'm doing wrong?

Solved it, I was missing the isolinux package. I had installed the Syslinux package, thinking that was all I needed.

Thanks for looking.
Find all posts by this user
Quote this message in a reply
2018-03-28, 15:51
Post: #3
RE: Error building ISO
I had exactly the same problem, I just tried to 'make bin/ipxe.iso' as per http://ipxe.org/download .

I debugged the make process (make SHELL="/bin/bash -x" bin/ipxe.iso), and found that ISOLINUX_BIN and LDLINUX_C32 were not set.
I managed to build the ipxe.iso (based on http://www.syslinux.org/wiki/index.php?title=ISOLINUX) the following way:
Code:
wget https://mirrors.edge.kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.03.zip
mkdir syslinux-6.03
unzip  ../syslinux-6.03.zip
Then in the ipxe/src dir:
Code:
rm bin/ipxe.iso # need to delete this, if it already generated a wrong iso
make -j 4 ISOLINUX_BIN=/path/to/syslinux-6.03/bios/core/isolinux.bin LDLINUX_C32=/path/to/syslinux-6.03/bios/com32/elflink/ldlinux/ldlinux.c32 bin/ipxe.iso
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)