• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.3k
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.
  • G
    goempie
    last edited by goempie May 3, 2016, 9:05 AM May 3, 2016, 3:04 PM

    In the wiki there is a guide to add hirens boot cd to the boot menu.
    link text
    I have followed the wiki but the wiki is a bit old and it’s a little different with the new fog.

    When I add the following in the parameters then fog stops working.

    :MENU
    menu
    item --gap – ---------------- iPXE boot menu ----------------
    item ubuntu15.04_64 Boot Ubuntu 15.04
    item return return to previous menu
    :ubuntu15.04_64
    set path /fog/iso/15.04_64
    set nfs_path /var/www/fog/ISO/15.04_64
    kernel http://${fog-ip}${path}/casper/vmlinuz.efi || read void
    initrd http://${fog-ip}${path}/casper/initrd.lz || read void
    imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
    boot || read void
    goto start

    I have tried leaving some parts out like this:

    :ubuntu15.04_64
    set path /fog/iso/15.04_64
    set nfs_path /var/www/fog/ISO/15.04_64
    kernel http://${fog-ip}${path}/casper/vmlinuz.efi || read void
    initrd http://${fog-ip}${path}/casper/initrd.lz || read void
    imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
    boot

    Then fog keeps working but the hirens won’t boot.

    Also the wiki say’s hirens 15.04 but the newest versions of hirens i can find is 15.2.
    Anyone have an idea how we can do it in the new fog?

    Thanks

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Tom Elliott May 3, 2016, 9:23 AM May 3, 2016, 3:22 PM

      I dont’ know what you’re doing.

      From what I can tell, there is no function called “start”.

      There’s no function called “return”

      My guess, you need:

      :MENU
      menu
      item --gap – ---------------- iPXE boot menu ----------------
      item ubuntu15.04_64 Boot Ubuntu 15.04
      item return return to previous menu
      :ubuntu15.04_64
      set path /fog/iso/15.04_64
      set nfs_path /var/www/fog/iso/15.04_64
      kernel http://${fog-ip}${path}/casper/vmlinuz.efi || read void
      initrd http://${fog-ip}${path}/casper/initrd.lz || read void
      imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
      boot || goto MENU
      :return
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      

      Of course we would need to see exactly what your system is showing via the 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! 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

      G 1 Reply Last reply May 4, 2016, 7:32 AM Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by May 3, 2016, 4:30 PM

        Ok, I guess we better test and then update the wiki on this stuff: https://wiki.fogproject.org/wiki/index.php/Include_any_ISO_in_the_FOG_Bootmenu#Hirens_15.04

        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 1
        • G
          goempie
          last edited by May 4, 2016, 6:04 AM

          When I add the above in my menu then i get this

          0_1462341953821_foghirens.png

          W 1 Reply Last reply May 4, 2016, 12:46 PM Reply Quote 0
          • G
            goempie @Tom Elliott
            last edited by May 4, 2016, 7:32 AM

            @Tom-Elliott
            I’m following the wiki, otherwise I have no idea what i’m doing 🙂

            1 Reply Last reply Reply Quote 0
            • W
              Wayne Workman @goempie
              last edited by Wayne Workman May 4, 2016, 6:49 AM May 4, 2016, 12:46 PM

              @goempie So, let’s look at where you are?

              You got to the boot menu, and the FOG background image is displayed. So at this point, you’ve successfully gotten a boot ROM via TFTP, it loaded correctly, and now that ROM is following specific instructions for the Hirens boot entry.

              “File not found” seems pretty obvious, right? Some way or another the files the boot menu item is requesting are simply not available. This could be that… permissions are not set right, or the files simply are not there (in the wrong directory or typo in path or filenames. Linux is CASE SENSITIVE).

              Look over your boot menu entry again, and look over where your files are on the fog server again. Make sure everything is jiving. Check permissions on those files as well.

              Are you using NFS mounting at all for this? Yes you are, I just looked at what Tom posted. Did you export the /var/www/fog/iso/15.04_64 directory via NFS? If not, it wouldn’t exist I guess!

              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 2 Replies Last reply May 4, 2016, 12:59 PM Reply Quote 0
              • G
                goempie @Wayne Workman
                last edited by May 4, 2016, 12:59 PM

                @Wayne-Workman
                yes i’m using nfs mounting, i extracted the iso to the directory as it say’s in the wiki.

                I just don’t get where this is pointing to:

                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

                W 1 Reply Last reply May 4, 2016, 1:10 PM Reply Quote 0
                • G
                  goempie @Wayne Workman
                  last edited by May 4, 2016, 1:01 PM

                  @Wayne-Workman 0_1462366953485_Screenshot_3.png
                  This is the file structure of the hirens boot cd.
                  And I can reach it through a browser.

                  W 1 Reply Last reply May 4, 2016, 1:17 PM Reply Quote 0
                  • W
                    Wayne Workman @goempie
                    last edited by Wayne Workman May 4, 2016, 7:10 AM May 4, 2016, 1:10 PM

                    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 May 4, 2016, 1:18 PM Reply Quote 0
                    • W
                      Wayne Workman @goempie
                      last edited by May 4, 2016, 1:17 PM

                      @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 May 4, 2016, 1:20 PM Reply Quote 0
                      • G
                        goempie @Wayne Workman
                        last edited by May 4, 2016, 1:18 PM

                        @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 May 4, 2016, 1:20 PM

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

                          W 1 Reply Last reply May 4, 2016, 1:24 PM Reply Quote 0
                          • W
                            Wayne Workman @goempie
                            last edited by Wayne Workman May 4, 2016, 7:24 AM May 4, 2016, 1:24 PM

                            @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 May 4, 2016, 1:34 PM Reply Quote 0
                            • G
                              goempie @Wayne Workman
                              last edited by May 4, 2016, 1:34 PM

                              @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?

                              W 2 Replies Last reply May 4, 2016, 1:35 PM Reply Quote 0
                              • W
                                Wayne Workman @goempie
                                last edited by Wayne Workman May 4, 2016, 7:35 AM May 4, 2016, 1:35 PM

                                @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
                                • W
                                  Wayne Workman @goempie
                                  last edited by May 4, 2016, 1:41 PM

                                  @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 May 4, 2016, 1:58 PM Reply Quote 0
                                  • G
                                    goempie @Wayne Workman
                                    last edited by May 4, 2016, 1:58 PM

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

                                    W 1 Reply Last reply May 4, 2016, 2:01 PM Reply Quote 0
                                    • W
                                      Wayne Workman @goempie
                                      last edited by May 4, 2016, 2:01 PM

                                      @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 May 4, 2016, 2:06 PM Reply Quote 0
                                      • G
                                        goempie @Wayne Workman
                                        last edited by May 4, 2016, 2:06 PM

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

                                        W 1 Reply Last reply May 4, 2016, 2:13 PM Reply Quote 0
                                        • W
                                          Wayne Workman @goempie
                                          last edited by May 4, 2016, 2:13 PM

                                          @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 May 4, 2016, 2:23 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            18/31
                                            Last post

                                          149

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project