• 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

      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

        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

          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
          • x23piracyX
            x23piracy
            last edited by

            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

              [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

                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

                  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
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    [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

                      [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
                      • x23piracyX
                        x23piracy
                        last edited by

                        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
                        • First post
                          Last post

                        267

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project