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

What files to Edit to change the new undionly.kpxe pxe boot menu in Fog 1.1.2

Scheduled Pinned Locked Moved
General
3
13
8.4k
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.
  • D
    drjam
    last edited by Jul 19, 2014, 8:23 AM

    If im reading:
    [url]http://fogproject.org/wiki/index.php/Include_SystemRescueCD[/url]
    correctly, i can sinply add code to the html part of my Fog webpage and it ignores the internal Menu, and makes a new one out of the code I add.

    i hope it ADDS to the fog menu already in there, otherwise i guess i need to locate the original Fog menu for 1.1.2 somewhere online and copy it, then add to it for my new iso i want to add (Bitdefender AV boot cd)
    Will let you all know.

    1 Reply Last reply Reply Quote 0
    • D
      drjam
      last edited by Jul 19, 2014, 8:48 AM

      update: so the fog advanced menu in the web browser is where you ADD code to get more menu options.
      VERY COOL devs…thank you.
      I added this:
      : passcrack
      initrd ${boot-url}/ISOS/passcrack.iso
      chain memdisk iso raw ||
      echo failed to boot
      prompt
      goto MENU

      PXY booting on the pc shows the Advanced Menu, but pressing it just cycles back to the main menu.
      Maybe the iso file has to go somewhere special???
      Ill add helpful posts as I discover this. Unless a dev saves me the work!!! GL to me!

      1 Reply Last reply Reply Quote 0
      • D
        drjam
        last edited by Jul 19, 2014, 8:59 AM

        ok, so the folder where my ISO is stored is:

        /tftpboot/ISOS/passcrack.iso

        so far, the boot options ive entered all result in the advanced boot menu cycling back to the main menu.
        looking more.

        1 Reply Last reply Reply Quote 0
        • D
          drjam
          last edited by Jul 19, 2014, 9:21 AM

          read a post saying where they put the ISO images:
          /var/www/fog/service/ipxe

          put passcrack.iso into a new dir in there…no go. same issue.

          1 Reply Last reply Reply Quote 0
          • D
            drjam
            last edited by Jul 19, 2014, 9:50 AM

            on the ubuntu server i ran the command: sudo service tftpd-hpa restart
            tested again on a pc, same recycle of boot menu.
            time to give up for now.

            1 Reply Last reply Reply Quote 0
            • X
              x23piracy
              last edited by Jul 19, 2014, 11:03 AM

              Hi,

              goto Webif > Fog Settings > PXE Boot Menu
              [IMG]http://i.imgur.com/yJz5w1t.png[/IMG]
              This is what i use:

              menu
              item --gap – ----------------- VS Boot Menu -----------------
              item --gap –
              item bootlocal Festplatte booten
              item image1 Image … installieren
              item Win7 Windows 7 Installation
              item shell iPXE Shell
              item hostinfo Computer-Informationen
              item --gap –
              item return <—
              choose --default Win7 --timeout 60000 target && goto ${target}

              :bootlocal
              sanboot --no-describe --drive 0x80 || goto MENU

              :Win7
              initrd http://${fog-ip}/ISO/Win7PE_x64.iso
              chain memdisk iso raw ||
              goto MENU

              :shell
              shell ||
              goto MENU

              :hostinfo
              echo ||
              echo ||
              echo This computer : ||
              echo MAC address…${net0/mac} ||
              echo IP address…${ip} ||
              echo Netmask…${netmask} ||
              echo Serial…${serial} ||
              echo Asset number…${asset} ||
              echo Manufacturer…${manufacturer} ||
              echo Product…${product} ||
              echo BIOS platform…${platform} ||
              echo ||
              echo Zurueck mit beliebiger Taste ||
              prompt
              goto MENU

              :image1
              kernel bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.178.54 web=${fog-ip}/fog/ consoleblank=0 loglevel=4 type=down img=test ftp=${fog-ip} imgType=n osid=7 storage=${fog-ip}:/images capone=1 imgFormat=2
              imgfetch init.xz
              boot || goto MENU

              :return
              chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
              prompt
              goto MENU

              autoboot[/CODE]

              ISO Images have to be placed somewhere in webroot ipxe doesn’t transfer them over tftp its done by http

              Regards X23

              ║▌║█║▌│║▌║▌█

              1 Reply Last reply Reply Quote 0
              • D
                drjam
                last edited by Jul 19, 2014, 11:42 PM

                [quote=“x23piracy, post: 33560, member: 3982”]Hi,

                goto Webif > Fog Settings > PXE Boot Menu
                This is what i use:

                Regards X23[/quote]

                Thank you for this! I will try it soon and let you all know.
                You might have saved me!

                1 Reply Last reply Reply Quote 0
                • D
                  drjam
                  last edited by Jul 20, 2014, 1:33 AM

                  update number 34:
                  I have found where i had to create a new ISOS directory
                  /var/www/fog/ISOS
                  i had to change the group membership and permissions. 777 for now while i test.
                  FAIL
                  Advanced menu keeps going back to Main menu when i select my passwordcrack.iso
                  I use this:

                  : passcrack
                  initrd [url]http://${fog-ip}/ISOS/passcrack.iso[/url]
                  chain memdisk iso raw ||
                  goto MENU

                  using my webbrowser i can get the Download of the iso, but i want to RUN the iso on the client pc.
                  [url]http://192.168.0.161/fog/ISOS/passcrack.iso[/url]

                  I have correct uppercase in the code.
                  This is what im using:

                  menu
                  item --gap – ----------------- VS Boot Menu -----------------
                  item --gap –
                  item passcrack Password Crack
                  item return <—
                  choose --default return --timeout 60000 target && goto ${target}

                  :passcrack
                  initrd http://${fog-ip}/ISOS/passcrack.iso
                  chain memdisk iso raw ||
                  goto MENU

                  :return
                  chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
                  prompt
                  goto MENU

                  autoboot[/CODE]

                  1 Reply Last reply Reply Quote 0
                  • D
                    drjam
                    last edited by Jul 20, 2014, 1:48 AM

                    YAY!
                    I have been searching these forums as I go and i found it!

                    [url]http://fogproject.org/forum/threads/fog-advance-menu-configuration-hiren-iso-not-starting.11146/#post-33143[/url]
                    same issue.
                    i changed my code to:
                    initrd [url]http://${fog-ip}/${fog-webroot}/ISOS/passcrack.iso[/url]

                    and now it works.
                    nice work [SIZE=12px]Junkhacker, and thanks for your help [/SIZE][SIZE=12px]x23piracy.[/SIZE]

                    [SIZE=12px]Next step will be playing with this amazing software. I hope my learning curve helps someone else too![/SIZE]
                    [SIZE=12px](Dont stop helping us pls, you regular forum types, your help and wisdom is what keeps me sane while learning the new fog!)[/SIZE]

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott
                      last edited by Jul 20, 2014, 1:55 AM

                      [quote=“drjam, post: 33575, member: 16842”]YAY!
                      I have been searching these forums as I go and i found it!

                      [url]http://fogproject.org/forum/threads/fog-advance-menu-configuration-hiren-iso-not-starting.11146/#post-33143[/url]
                      same issue.
                      i changed my code to:
                      initrd [url]http://${fog-ip}/${fog-webroot}/ISOS/passcrack.iso[/url]

                      and now it works.
                      nice work [SIZE=12px]Junkhacker, and thanks for your help [/SIZE][SIZE=12px]x23piracy.[/SIZE]

                      [SIZE=12px]Next step will be playing with this amazing software. I hope my learning curve helps someone else too![/SIZE]
                      [SIZE=12px](Dont stop helping us pls, you regular forum types, your help and wisdom is what keeps me sane while learning the new fog!)[/SIZE][/quote]

                      Dang, and I was just coming on to say you forgot the fog-webroot. Another trick you could perform would be to use the ${boot-url}/ISOS/passcrack.iso

                      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
                      • D
                        drjam
                        last edited by Jul 20, 2014, 2:02 AM

                        [quote=“Tom Elliott, post: 33578, member: 7271”]Another trick you could perform would be to use the ${boot-url}/ISOS/passcrack.iso[/quote]

                        Thanks guv! I just know there are heaps more steps I will need to climb to customize my Fog server in the coming weeks.
                        Hopefully I dont overstay my welcome with a million questions!

                        1 Reply Last reply Reply Quote 0
                        • X
                          x23piracy
                          last edited by Jul 20, 2014, 3:13 AM

                          Hi,

                          [quote=“drjam, post: 33581, member: 16842”]
                          Hopefully I dont overstay my welcome with a million questions![/quote]

                          never if you used the search before 😉

                          Regards X23

                          ║▌║█║▌│║▌║▌█

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

                          142

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project