PXE boot to install linux OS in UEFI


  • Hello,
    I have a kernel panic problem when I try to install linux OS using ipxe in UEFI mode.
    I have not problem to install using ipxe boot in legacy mode or to point my MDT server.

    Should I have differents entries for UEFI ?
    Which parameter should I modify ?

    Here is my Advanced Menu settings

    :MENU
    menu
    item --gap -- ---------------- iPXE boot menu ----------------
    item Centos7 Install mini Centos7
    item Centos8 Installation Centos8
    item Ubuntu20 Installation Ubuntu20
    item WIN10MDT1903 Boot MDT-Win10-1903
    item shell ipxe shell
    item return return to previous menu
    choose --default WIN10MDT1903 --timeout 10000 target && goto ${target}
    :Centos7
    kernel https://192.168.122.2/linuxboot/vmlinuz-CentOS7 ks=https://mdt.istic.univ-rennes1.fr/Centos7/anaconda-ks.cfg
    initrd https://192.168.122.2/linuxboot/initrd.img-CentOS7
    boot
    :Centos8
    kernel https://192.168.122.2/linuxboot/vmlinuz-CentOS8 ks=https://mdt.istic.univ-rennes1.fr/Centos8/anaconda-ks.cfg
    initrd https://192.168.122.2/linuxboot/initrd.img-CentOS8
    boot
    :Ubuntu20
    kernel https://192.168.122.2/linuxboot/linux-Ub20 ks=https://mdt.istic.univ-rennes1.fr/Ubuntu20/anaconda-ub20-ks.cfg
    initrd https://192.168.122.2/linuxboot/initrd-Ub20.gz
    boot
    :WIN10MDT1903
    cpuid --ext 29 && set arch x64 || set arch x86
    kernel http://${next-server}/wimboot
    initrd http://${next-server}/mdtboot/${arch}/media/Boot/BCD BCD
    initrd http://${next-server}/mdtboot/${arch}/media/Boot/boot.sdi boot.sdi
    initrd -n boot.wim http://${next-server}/mdtboot/${arch}/LiteTouchPE_1903.wim boot.wim
    boot
    :shell
    shell ||
    goto MENU
    

    Here is the error trying to install Ubuntu 2004:
    text alternatif
    Here is the error trying to install Centos:
    text alternatif

    Thank you for your help.


  • Thank you for your answer.
    Your document is complete.

  • Moderator

    Based on my experience your kernel arguments are not complete.

    Based in the error message I would say your initrd file is not compatible with your kernel.

    You might want to review this document to give you a few pointers on what might be missing: https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images

355
Online

7.6k
Users

14.7k
Topics

138.3k
Posts