Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

Booting a non-Secure Boot UEFI system using PXE

How to boot a non-Secure Boot UEFI system using PXE.

You can boot a Unified Extensible Firmware Interface (UEFI) system using PXE using GRUB2 or syslinux.

To boot a UEFI system using PXE using syslinux follow the instructions at:https://wiki.syslinux.org/wiki/index.php?title=Install.

To boot a UEFI system using PXE using GRUB2, do the following steps.

  1. Create a directory containing a boot/grub/grub.cfg file with the following contents.
    set timeout=5
    menuentry 'Linux diskless' --class os {
       insmod net
       insmod efinet
       insmod tftp
       insmod gzio
       insmod part_gpt
       insmod efi_gop
       insmod efi_uga
       insmod ofnet
       # dhcp, tftp server in my network
       set net_default_server=
       # auto dhcp setup did not work for me, no idea why
       # net_bootp
       # ok let's assign a static address for now
       net_add_addr eno0 efinet0
       echo 'Network status: '
       echo 'Loading Linux ...'
       linux (tftp)/5.1/vmlinuz console=tty0 console=ttyS0 boot=live nopersistent nonetworking noeject
       echo 'Loading initial ramdisk ...'
       initrd (tftp)/17.0.1/initrd.img
  2. Mount the Vyatta NOS ISO.
    mkdir isomnt 
    mount vyatta.iso isomnt
  3. Create the bootx64.efi bootloader.
    grub2-mkstandalone -d
    /var/lib/tftpboot/17.0.1/isomnt/boot/grub/x86_64-efi/ -O x86_64-efi
    --fonts="unicode" -o bootx64.efi boot/grub/grub.cfg
  4. Point your DHCP server to the newly created bootx64.efi bootloader.
The system will boot.