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

    Adding Hirens 15.2 boot cd to the boot menu

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    31
    17.5k
    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.
    • Wayne WorkmanW
      Wayne Workman @goempie
      last edited by Wayne Workman

      kernel http://${fog-ip}${path}/casper/vmlinuz.efi || read void <---- there is nog casper/vmlinuz.efi in the iso that i extracted?
      initrd http://${fog-ip}${path}/casper/initrd.lz || read void

      These two things are your kernel and your init.

      so fog-ip is auto-filled in with your FOG IP. The path is set in the boot entry, it’s this line:
      set path /fog/iso/15.04_64

      So your path would be /fog/iso/15.04_64

      Put that all together and you have a web URL:

      x.x.x.x/fog/iso/15.04_64/casper/vmlinuz.efi

      Where x.x.x.x is your fog server IP, of course.

      What the iPXE boot script is trying to do is load the kernel and init via HTTP, through a web request basically.

      So… it may be that the mounted directory cannot be read by Apache due to permissions or placement, or it could be that the files listed there just aren’t where they should be.

      Either way, you need to sort that out, or figure out how to do it via NFS fully. In the wiki link below, you’ll find an example in the “Parted Magic - Older” area. Not sure if a Linux kernel will work with Hirens though! Probably not!

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      G 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @goempie
        last edited by

        @goempie the “boot” folder in that picture you posted looks promising… look around in there… Maybe you’ll find the files you need to point to…

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        G 1 Reply Last reply Reply Quote 0
        • G
          goempie @Wayne Workman
          last edited by

          @Wayne-Workman

          The whole directory /casper/… just isn’t there, and its not explained in the wiki how they get there.
          It just say’s extract the hirens boot cd to the directory /fog/iso/15.04_64

          I’m not shure to wich file i should point in the hirens iso to make it boot.

          1 Reply Last reply Reply Quote 0
          • G
            goempie @Wayne Workman
            last edited by

            @Wayne-Workman 0_1462368089253_Screenshot_1.png
            There’s only one file in there

            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @goempie
              last edited by Wayne Workman

              @goempie I did a little looking, the below thread over at ipxe.org may be of interest to you:

              http://forum.ipxe.org/showthread.php?tid=7052

              There’s an example in there that someone claimed works. It might need adjusted though as those posts are from 2013.

              If you get it working, please do list your steps.

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              G 1 Reply Last reply Reply Quote 0
              • G
                goempie @Wayne Workman
                last edited by

                @Wayne-Workman
                :hbcd
                #open iso with iso editor and remove pmagic to make it ligther
                initrd ${boot-url}/images/hbcd152.iso
                kernel ${boot-url}/memdisk iso raw || goto failed
                boot || goto failed
                goto start

                In the above example they are pointing to the *.iso file itself.
                So this means that they don’t mount the iso on the fog server?

                Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @goempie
                  last edited by Wayne Workman

                  @goempie Looks that way, yes. And looks like they are using the standard Memdisk kernel too.

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @goempie
                    last edited by

                    @goempie But I don’t think that fog has a boot-url iPXE variable. You may need to piece that together with the fog-ip variable and set a path like in the other examples.

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      goempie @Wayne Workman
                      last edited by

                      @Wayne-Workman what is the path to the memdisk kernel?

                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @goempie
                        last edited by

                        @goempie said in Adding Hirens 15.2 boot cd to the boot menu:

                        at is the path to the memdisk kernel?

                        Look at the boot menu entry for memdisk… You should be able to see it through the web interface.

                        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!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          goempie @Wayne Workman
                          last edited by

                          @Wayne-Workman
                          0_1462370820282_Screenshot_2.png
                          nope nothing to see here

                          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman @goempie
                            last edited by

                            @goempie
                            I pulled this from the boot.php output when I gave it a registered MAC as a parameter.
                            http://x.x.x.x/fog/service/ipxe/boot.php?mac0=00:1e:37:54:9b:70

                            kernel memdisk iso raw
                            initrd memtest.bin
                            boot || goto MENU
                            

                            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!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            G 1 Reply Last reply Reply Quote 0
                            • G
                              goempie @Wayne Workman
                              last edited by

                              @Wayne-Workman
                              I moved the hbcd.iso to the directory /var/www/fog/iso/hbcd.iso
                              Then i changed the menu entry, but no party

                              :hbcd
                              #open iso with iso editor and remove pmagic to make it ligther
                              set path /fog/iso
                              set nfs_path /var/www/fog/iso/15.04_64
                              initrd ${fog-ip}${path}/fog/iso/hbcd.iso
                              kernel ${fog-ip}$ kernel memdisk iso raw || goto failed
                              boot || goto failed
                              goto start

                              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman @goempie
                                last edited by Wayne Workman

                                @goempie the pathing is wrong. you already have /fog/iso in your path variable, don’t need to do it again.

                                also I don’t think you have to specify an IP for the memdisk kernel.

                                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!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                G 1 Reply Last reply Reply Quote 0
                                • G
                                  goempie @Wayne Workman
                                  last edited by

                                  @Wayne-Workman

                                  Yes i saw it after i posted it.
                                  This is what i have now
                                  But still no champagne
                                  :hbcd
                                  #open iso with iso editor and remove pmagic to make it ligther
                                  initrd ${fog-ip}/fog/iso/hbcd.iso
                                  kernel memdisk iso raw || goto failed
                                  boot || goto failed
                                  goto start

                                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman @goempie
                                    last edited by

                                    @goempie

                                    try

                                    :hbcd
                                    #open iso with iso editor and remove pmagic to make it ligther
                                    initrd ${fog-ip}/fog/iso/hbcd.iso
                                    kernel memdisk iso raw
                                    boot || goto failed
                                    goto start
                                    

                                    also - make sure the permissions on the iso are good, can you see it in a web browser?

                                    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!
                                    Daily Clean Installation Results:
                                    https://fogtesting.fogproject.us/
                                    FOG Reporting:
                                    https://fog-external-reporting-results.fogproject.us/

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      goempie @Wayne Workman
                                      last edited by

                                      @Wayne-Workman said in Adding Hirens 15.2 boot cd to the boot menu:

                                      :hbcd
                                      #open iso with iso editor and remove pmagic to make it ligther
                                      initrd ${fog-ip}/fog/iso/hbcd.iso
                                      kernel memdisk iso raw
                                      boot || goto failed
                                      goto start

                                      Yep i can see the iso in the browser and can download it.

                                      0_1462373310234_Screenshot_4.png

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        goempie
                                        last edited by

                                        This is what i see when i go to /fog/service/ipxe/boot.php

                                        So i don’t think tha the :hbcd in the begining is necessary.
                                        But i deleted it and stil it doesn’t work.

                                        :hirensbcd
                                        :hbcd
                                        #open iso with iso editor and remove pmagic to make it ligther
                                        initrd ${fog-ip}/fog/iso/hbcd.iso
                                        kernel memdisk iso raw
                                        boot || goto failed
                                        goto start

                                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                        • Wayne WorkmanW
                                          Wayne Workman @goempie
                                          last edited by Wayne Workman

                                          @goempie
                                          I did a little digging - this thread looks very promising:

                                          https://forums.fogproject.org/topic/3229/ipxe-iso-boot-problems

                                          Specifically this post:

                                          @csurepair said in IPXE ISO boot problems:

                                          Wahoo!!

                                          Shes up and running! Thank you both for the feedback, you guys deserve a beer! If your ever in Fort Collins, Colorado PM me haha.

                                          So for everyone else my problem was totally due to syntax and directory location,

                                          By changing CODE initrd ${fog-ip}/fog/iso/Hirens152.iso[/CODE] to CODE initrd http://${fog-ip}/fog/service/ipxe/iso/Hirens152.iso[/CODE] iPXE was able to fully resolve the path. This was only accomplished by making iPXE produce some sort of feedback via the below code(most graciously posted by Junkhacker),

                                          menu
                                          item --gap – ---------------- iPXE boot menu ----------------
                                          item BOOTCD Hirens BOOTCD
                                          item shell ipxe shell
                                          choose target && goto ${target}

                                          :BOOTCD
                                          initrd 192.168.1.130/fog/iso/Hirens152.iso ||
                                          echo failed to load iso if it stops here
                                          prompt
                                          chain memdisk iso raw ||
                                          echo failed to chain memdisk if it stops here
                                          prompt
                                          boot ||
                                          echo failed to boot here if it stops here
                                          prompt
                                          goto MENU

                                          :shell
                                          shell ||
                                          goto MENU

                                          autoboot[/CODE]

                                          Thanks again guys!!

                                          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!
                                          Daily Clean Installation Results:
                                          https://fogtesting.fogproject.us/
                                          FOG Reporting:
                                          https://fog-external-reporting-results.fogproject.us/

                                          G 1 Reply Last reply Reply Quote 0
                                          • G
                                            goempie @Wayne Workman
                                            last edited by

                                            @Wayne-Workman

                                            Ok getting there.

                                            initrd http://${fog-ip}/fog/service/ipxe/iso/hbcd.iso ||
                                            echo failed to load iso if it stops here
                                            prompt
                                            chain memdisk iso raw ||
                                            echo failed to chain memdisk if it stops here
                                            prompt
                                            boot ||
                                            echo failed to boot here if it stops here
                                            prompt
                                            goto MENU

                                            When i boot i see that it downloads the iso then it comes to 100% and then i get the message

                                            failed to load iso if it stops here

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

                                            159

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project