• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    PXE boot to install linux OS in UEFI

    Scheduled Pinned Locked Moved
    Linux Problems
    2
    3
    930
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lebrun78
      last edited by lebrun78

      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.

      Fog Version: Fog 1.5.10
      Server OS: AlmaLinux release 8.8

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        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

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        1 Reply Last reply Reply Quote 0
        • L
          lebrun78
          last edited by

          Thank you for your answer.
          Your document is complete.

          Fog Version: Fog 1.5.10
          Server OS: AlmaLinux release 8.8

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          188

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project