This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ipxe [2020/06/20 03:29] k2patel [Custom ipxe] |
ipxe [2020/06/20 03:46] k2patel [Custom ipxe] |
||
---|---|---|---|
Line 11: | Line 11: | ||
:!: Simple http server works just fine serving the ipxe.txt and kickstarts, but no HTTPS. | :!: Simple http server works just fine serving the ipxe.txt and kickstarts, but no HTTPS. | ||
- | <code bash> | + | <code bash | k2patel.ipxe> |
#!ipxe | #!ipxe | ||
echo Welcome to iPXE! | echo Welcome to iPXE! | ||
Line 35: | Line 35: | ||
<code bash> | <code bash> | ||
cd ipxe/src | cd ipxe/src | ||
- | make bin/ipxe.iso EMBED=daac.ipxe | + | make bin/ipxe.iso EMBED=k2patel.ipxe |
</code> | </code> | ||
Line 48: | Line 48: | ||
cd src | cd src | ||
make -j 4 ISOLINUX_BIN=../syslinux-6.03/bios/core/isolinux.bin \ | make -j 4 ISOLINUX_BIN=../syslinux-6.03/bios/core/isolinux.bin \ | ||
- | LDLINUX_C32=../syslinux-6.03/./bios/com32/elflink/ldlinux/ldlinux.c32 bin/ipxe.iso EMBED=daac.ipxe | + | LDLINUX_C32=../syslinux-6.03/./bios/com32/elflink/ldlinux/ldlinux.c32 bin/ipxe.iso EMBED=k2patel.ipxe |
</code> | </code> | ||
+ | === For USB === | ||
+ | <code bash> | ||
+ | cd ipxe/src | ||
+ | make bin/ipxe.usb EMBED=k2patel.ipxe | ||
+ | dd if=ipxe.usb of=/dev/sdX | ||
+ | sync | ||
+ | </code> | ||
+ | === For EFI === | ||
+ | <code bash> | ||
+ | cd ipxe/src | ||
+ | make bin-x86_64-efi/ipxe.efi EMBED=k2pate.ipxe | ||
+ | mkfs.fat -F32 /dev/sdxY | ||
+ | mkdir /tmp/efifld | ||
+ | mount /dev/sdxY /tmp/efidrive | ||
+ | mkdir -p /tmp/efifld/efi/boot | ||
+ | cp bin-x86_64-efi/ipxe.efi /tmp/efifld/efi/boot/bootx64.efi | ||
+ | umount /tmp/efifld | ||
+ | </code> |