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

    Parted Magic not working in pxe boot

    Scheduled Pinned Locked Moved Solved
    General Problems
    4
    23
    6.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.
    • george1421G
      george1421 Moderator @Dino_Nerd
      last edited by

      @Dino_Nerd ok fixed no more redirect message…

      next??

      just a minute let me look at what a default one should be.

      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!

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @Dino_Nerd
        last edited by

        @Dino_Nerd Well the default was as you had it originally with the redirect in there.

        Is there any hidden .htaccess files in the root directory? hint: ls -la /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!

        george1421G Dino_NerdD 2 Replies Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @george1421
          last edited by george1421

          @george1421 looking at your configs I see a conflict.

          There is /var/www/html/fog and /var/www/fog I’m wondering if the right path for your partition magic files shouldn’t be /var/www/pmagic I’m pretty sure debian variants use /var/www as the document root where rhel based ones use /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!

          1 Reply Last reply Reply Quote 0
          • Dino_NerdD
            Dino_Nerd @george1421
            last edited by

            @george1421
            0_1497979084751_bandicam 2017-06-20 12-17-53-047.jpg

            not that I can see, I hope im in the right place here

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @Dino_Nerd
              last edited by george1421

              @Dino_Nerd key in the following command.

              cp /var/www/html/pmagic /var/www

              Then ls -la /var/www and ensure there is a pmagic directory there.

              Your document root for debian/ubuntu should be /var/www not /var/www/html (but I’m a rhel guy, so I’m not absolutely sure)

              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!

              Dino_NerdD Wayne WorkmanW 2 Replies Last reply Reply Quote 0
              • Dino_NerdD
                Dino_Nerd @george1421
                last edited by Dino_Nerd

                @george1421 said in Parted Magic not working in pxe boot:

                @Dino_Nerd key in the following command.

                cp /var/www/html/pmagic /var/www

                Then ls -la /var/www and ensure there is a pmagic directory there.

                Hey that works wonderfully! Thanks a bunch

                Your document root for debian/ubuntu should be /var/www not /var/www/html

                Maybe this should be updated in the wiki as an ubuntu method

                (but I’m a rhel guy, so I’m not absolutely sure)

                I’m a big fan of RHEL myself (also archlinux). maybe you can help me on a new topic trying to get CentOS to play ball with FOG? (I’ll create a new thread for this)

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @Dino_Nerd
                  last edited by

                  @Dino_Nerd Centos 7.x and 6.5+ work with FOG. That is what we run on our campus. This IS a current issue with centos 7 in that a defective rpcinfo rpm was released. I believe they just update that in the repo. But other than that, fog works perfectly on cento 7.

                  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!

                  Dino_NerdD 1 Reply Last reply Reply Quote 0
                  • Dino_NerdD
                    Dino_Nerd @george1421
                    last edited by Dino_Nerd

                    @george1421 said in Parted Magic not working in pxe boot:

                    @Dino_Nerd Centos 7.x and 6.5+ work with FOG. That is what we run on our campus. This IS a current issue with centos 7 in that a defective rpcinfo rpm was released. I believe they just update that in the repo. But other than that, fog works perfectly on cento 7.

                    Any idea if it works as a UEFI booted VMWare workstation Virtual machine?
                    Is there any advantage to using UEFI over BIOS for a FOG server?

                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @Dino_Nerd
                      last edited by george1421

                      @Dino_Nerd I can’t say for sure. By default when you create a vm its bios/legacy mode. I can’t see why it wouldn’t. EFI mode under virtual box is a bit wonky, but VMWare esxi or workstation should be OK. You’ll know right away if it will work or not because centos won’t boot if its wrong.

                      No advantage for efi. GPT yes if you need really big drives.

                      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!

                      Dino_NerdD 1 Reply Last reply Reply Quote 0
                      • Dino_NerdD
                        Dino_Nerd @george1421
                        last edited by

                        @george1421 said in Parted Magic not working in pxe boot:

                        @Dino_Nerd I can’t say for sure. By default when you create a vm its bios/legacy mode. I can’t see why it wouldn’t. EFI mode under virtual box is a bit wonky, but VMWare esxi or workstation should be OK. You’ll know right away if it will work or not because centos won’t boot if its wrong.

                        I’ll start a new thread when I hit the roadblock I was getting before, thanks so much for your help

                        1 Reply Last reply Reply Quote 1
                        • S
                          Sebastian Roth Moderator
                          last edited by

                          @Dino_Nerd @george1421 I am still wondering about this. Just found out that it is doing this (redirect loop) on a clean fresh install on debian too. Just didn’t see this on my home FOG server where I customize most configs.

                          Disabling the redirection rule is fine in this case but I ought to find a general solution for this. When looking at the HTTP traffic I see a HTTP 302 answer with a Location header but the value is empty! I am wondering if this is a ubuntu/debian specific thing or if we have this with RHEL/CentOS as well?

                          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

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

                            @Sebastian-Roth @george1421 @Dino_Nerd

                            I think this is the problem he’s having: https://forums.fogproject.org/topic/10121/directories-under-var-www-html-not-showing-after-upgrade-to-1-4/6

                            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 @george1421
                              last edited by

                              @george1421 said in Parted Magic not working in pxe boot:

                              Your document root for debian/ubuntu should be /var/www not /var/www/html (but I’m a rhel guy, so I’m not absolutely sure)

                              /var/www/html is valid for Debian 8.

                              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
                              • S
                                Sebastian Roth Moderator
                                last edited by

                                After some more debugging I found that the redirection loop is not caused by the apache rewrite rules but by /var/www/fog/api/index.php and those included by that PHP file. Maybe this is because we don’t supply correct parameters?! Would be nice if it wouldn’t redirect in an endless loop.

                                @Dino_Nerd I think you can re-add the RewriteRule ^/(.*)$ /fog/api/index.php [QSA,L] in your 001-fog.conf and still should be able to access and boot http://192.168.0.143/pmagic/bzImage64 if that folder is in /var/www!!

                                Note to myself: Accessing directories (like http://192.168.0.143/pmagic/) does not work albeit the second RewriteCond because DirectoryIndex setting makes it request index.html in that directory, which usually does not exist. Therefore again redirecting it to /fog/api/index.php

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

                                170

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.3k

                                Posts
                                Copyright © 2012-2024 FOG Project