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

    How to: Modify the PXE boot menu to allow the booting of .iso files

    Scheduled Pinned Locked Moved
    Tutorials
    24
    57
    170.1k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      That is it loading. It loads for a while.

      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
      • G
        Gilou
        last edited by

        The thing about booting an ISO, is that you have to transfer the size of the ISO over the wire using tftp… Which can take long. The usual approach to live booting on PXE is to send a smaller image, then have the root mounted off NFS, so that it doesn’t have to wait until everything is loaded to boot.

        1 Reply Last reply Reply Quote 0
        • H
          Haz
          last edited by

          Old thread I know but hoping someone can help me here.

          I have edited the PXE boot menu before a few times (all thanks to this guide - thanks a lot ssx ;)) and never had a problem, however on this latest fog server I have set up I cannot seem to get it to work. I can edit the default file fine to display the menu options and also dropped the ISO files into the correct directory, but when ever I select one of them from the menu it only gets so far and then just says “loading boot sector… booting…”. It would appear that fog has found the iso and started to load it, but a problem lies somewhere else maybe? I have tried a few different memdisk versions, and this still happens on various ISOs such as Ultimate boot CD, Dell Diags, WinPE tools etc…

          Any ideas on this would be greatly appreciated 🙂

          1 Reply Last reply Reply Quote 0
          • D
            digitalworkshed
            last edited by

            Great tutorial video! Really helped me out! Thanks a lot!

            [URL='http://www.digitalworkshed.com/']iPhone App Developer UK[/URL]

            1 Reply Last reply Reply Quote 0
            • Q
              qUoTuM
              last edited by

              Is there any way i can do this in FOG 1.0.0?
              I looked it up but its kind of different and i cant figure out how to do it.

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

                [quote=“qUoTuM, post: 26870, member: 24126”]Is there any way i can do this in FOG 1.0.0?
                I looked it up but its kind of different and i cant figure out how to do it.[/quote]

                I direct you to a couple of other posts wanting, basically, the same things:
                [url]http://fogproject.org/forum/threads/switching-to-gpxelinux.3995/[/url]
                [url]http://fogproject.org/forum/threads/fog-0-33b-edit-pxe-menu.10403/[/url]

                They both talk about how to add entries under the advanced menu system as many things are rather touchy with the BootMenu directly. That said, so long as there’s information contained in the Advanced menu, changes are likely things will work for your scenario.

                Thank you,

                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
                • Q
                  qUoTuM
                  last edited by

                  Thank you.
                  It works, but only if the ISO is in the “www/fog” directory.
                  If I create an own directory “www/ISO” and set chmod to 777 it does not work.

                  1 Reply Last reply Reply Quote 0
                  • JunkhackerJ
                    Junkhacker Developer
                    last edited by

                    i keep my ISO files in a separate folder from www/fog, and it works fine and my permissions are set to 644.
                    have you tried testing the location you put into the “advanced” menu in a browser? it should ask if you want to download the file.

                    signature:
                    Junkhacker
                    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                    1 Reply Last reply Reply Quote 1
                    • Q
                      qUoTuM
                      last edited by

                      Yes i tried testing the location in Chrome/Firefox/IE. I tried setting the permissions to 644 either.
                      I get the following error message: “[SIZE=4][FONT=Times New Roman][COLOR=#000000]The requested URL … was not found on this server.”
                      [/COLOR][/FONT][/SIZE]

                      1 Reply Last reply Reply Quote 0
                      • JunkhackerJ
                        Junkhacker Developer
                        last edited by

                        if the files are within your web root, and you can’t download them with a browser, then you almost certainly have the URL wrong. keep in mind that anything past the first / is case sensitive

                        signature:
                        Junkhacker
                        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                        1 Reply Last reply Reply Quote 0
                        • Q
                          qUoTuM
                          last edited by

                          Yes I know that. I checked it several times. The URL is not wrong.
                          I will do some more research tomorrow.

                          1 Reply Last reply Reply Quote 0
                          • JunkhackerJ
                            Junkhacker Developer
                            last edited by

                            if you provide a copy of what you put in your advanced boot options, i can help you troubleshoot it

                            signature:
                            Junkhacker
                            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                              What is the document root of the server? Is it /var/www or /var/www/html?

                              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
                              • Q
                                qUoTuM
                                last edited by

                                Yes, the DocumentRoot is /var/www/html.
                                If I try to post my advanced configuration options it’s marked as spam.

                                EDIT: I changed the DocumentRoot to /var/www and the chmod of my folder to 777. Now it’s working.

                                1 Reply Last reply Reply Quote 0
                                • Juan AntonioJ
                                  Juan Antonio
                                  last edited by

                                  [COLOR=#000080][B][SIZE=4]Sorry for [/SIZE][/B][/COLOR][COLOR=#000080][B][SIZE=4]my ignorance[/SIZE][/B].[/COLOR]o_O

                                  What is the file that I have to use.😕
                                  In syslinux-6.00.tar.bz2, into the directory memdisk there are many files called memdisk memdisk.:eek:

                                  1 Reply Last reply Reply Quote 0
                                  • JunkhackerJ
                                    Junkhacker Developer
                                    last edited by

                                    none of those if you’re using fog 1.0+
                                    [url]http://fogproject.org/forum/threads/fog-0-33b-edit-pxe-menu.10403/#post-26420[/url]
                                    there is a memdisk file located in <fog-web-root>/service/ipxe/memdisk

                                    signature:
                                    Junkhacker
                                    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                                    1 Reply Last reply Reply Quote 0
                                    • Juan AntonioJ
                                      Juan Antonio
                                      last edited by

                                      I´m using fog 0.32. There are memdisk in /tftpboot.
                                      Can I use that file?

                                      1 Reply Last reply Reply Quote 0
                                      • Juan AntonioJ
                                        Juan Antonio
                                        last edited by

                                        I´ve used memdisk from /tftpboot and it worked with fog 0.32:)

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

                                        240

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project