IPXE: Difference between revisions

From Leo's Notes
This page was last edited on 1 April 2015, at 18:17.
Created page with " <syntaxhighlight lang="text"> [VERSION] bin/version.udionly.kpxe.o [LD] bin/udionly.kpxe.tmp --defsym:2: undefined symbol `obj_udionly' referenced in expression make: ***..."
 
No edit summary
Line 1: Line 1:


== Building ==
To build iPXE with an embedded script:
git clone git://git.ipxe.org/ipxe.git
cd git
cat <<EOF > arch.ipxe
#!ipxe
dhcp
set 209:string cfg/arch.cfg
set 210:string http://linbuild.cs.ucalgary.ca/archlinux/boot/
chain ${210:string}pxelinux.0
EOF
make bin/ipxe.lkrn EMBED=arch.ipxe
== Troubleshooting ==
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
   [VERSION] bin/version.udionly.kpxe.o
   [VERSION] bin/version.udionly.kpxe.o

Revision as of 18:17, 1 April 2015


Building

To build iPXE with an embedded script:

git clone git://git.ipxe.org/ipxe.git
cd git
cat <<EOF > arch.ipxe
#!ipxe
dhcp
set 209:string cfg/arch.cfg
set 210:string http://linbuild.cs.ucalgary.ca/archlinux/boot/
chain ${210:string}pxelinux.0
EOF
make bin/ipxe.lkrn EMBED=arch.ipxe


Troubleshooting

  [VERSION] bin/version.udionly.kpxe.o
  [LD] bin/udionly.kpxe.tmp
--defsym:2: undefined symbol `obj_udionly' referenced in expression
make: *** [bin/udionly.kpxe.tmp] Error 1
rm bin/version.udionly.kpxe.o

If you are getting this error, install the syslinux-devel package.