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

    Help how to load ISO with HTTP ipxe !!

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    4
    4.0k
    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.
    • Z
      zingaro
      last edited by

      Hi,
      i have installed FOG and make the modify describe in this link:
      [url]http://www.fogproject.org/wiki/index.php/Chainloading_PXE_to_iPXE_using_pxelinux.0[/url]
      The boot work correctly, but
      Now i don’t understand how add a new code on the file “default” in the directory pxelinux.cfg for load and running ISO image.

      how add e new item menu in to this lines ??

      DEFAULT vesamenu.c32
      MENU TITLE Fog Reimage Menu
      MENU COLOR TITLE 1;36;44 #ffffffff #00000000 std
      LABEL iPXE Boot
      MENU DEFAULT
      KERNEL ipxe.krn
      APPEND dhcp && chain [url]http://x.x.x.x/fog/service/ipxe/boot.php?mac=${net0/mac}[/url]
      PROMPT 0
      TIMEOUT 1

      i tried add this code:

      :ACRONIS
      kernel memdisk iso raw
      initrd [url]http://${fog-ip}/fog/iso/acronis_true_image_2014.iso[/url]
      boot ||
      goto MENU

      but not work !!

      i tried the new file default:

      :MENU
      menu
      item --gap – ------------- iPXE Boot Menu -------------
      item WINPE31 Boot PE 3.1 x86 (Win7)
      item WINPE40 Boot PE 4.0 x86 (Win8.0)
      item WINPE50 Boot PE 5.0 x86 (Win8.1)
      item GANDALF32 Boot Gandalf’s PE 5.1 x86 (Win8.1u)
      item SHELL iPXE Shell
      item RETURN Return to the Top Menu
      choose --default WINPE50 --timeout 30000 target && goto ${target}

      :WINPE31
      imgfetch [url]http://${fog-ip}/iso/winpe31_x86.iso[/url]
      boot memdisk iso raw ||
      goto MENU

      :WINPE40
      imgfetch [url]http://${fog-ip}/iso/winpe40_x86.iso[/url]
      boot memdisk iso raw ||
      goto MENU

      :WINPE50
      imgfetch [url]http://${fog-ip}/iso/winpe50_x86.iso[/url]
      boot memdisk iso raw ||
      goto MENU

      but boot don’t start !!

      1 Reply Last reply Reply Quote 0
      • A
        ArchFan
        last edited by

        Try experimenting with replacing ‘boot’ with ‘chain’ and swapping ‘imgfetch’ with ‘initrd’ or mixing and matching to see if you find something that works. We had to do some experimenting to get what we wanted (Hiren’s and Dell diagnostics) but eventually got it working. Unfortunately I don’t remember offhand and don’t have a vpn connection to check.

        I do remember eventually using another memdisk file

        1 Reply Last reply Reply Quote 0
        • Z
          zingaro
          last edited by

          hi, i not understand if the syntax code is correct or not …

          Do you can add a line code example to this code in pxeconfig.cfg_/default file ??:

          DEFAULT vesamenu.c32
          MENU TITLE Fog Reimage Menu
          MENU COLOR TITLE 1;36;44 #ffffffff #00000000 std
          LABEL iPXE Boot
          MENU DEFAULT
          KERNEL ipxe.krn
          APPEND dhcp && chain [URL=‘http://x.x.x.x/fog/service/ipxe/boot.php?mac=${net0/mac}’][U][COLOR=#0066cc]http://x.x.x.x/fog/service/ipxe/boot.php?mac=${net0/mac}[/COLOR][/U][/URL]

          :menu 2° program
          xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
          xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
          xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

          PROMPT 0
          TIMEOUT 1

          tanks !!!

          1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott
            last edited by

            @zingaro,

            The menu options you’re attempting to create do not go in the default file.

            They go under the advanced options under the pxe settings under FOG Configuration->PXE Settings->Advanced Options from the fog GUI.

            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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

            182

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project