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

Issues with Gparted PXE Booting

Scheduled Pinned Locked Moved
General Problems
4
33
9.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.
  • G
    george1421 Moderator @george1421
    last edited by May 22, 2019, 8:45 PM

    Looking at the sysconfig file inside the current gparted zip file this is the syslinux kernel boot parameters.

      kernel /live/vmlinuz
      append initrd=/live/initrd.img boot=live union=overlay username=user config components quiet noswap  toram=filesystem.squashfs ip= net.ifnames=0  nosplash 
    

    Note there is no fetch command.

    That would be translated into this (guess)

    kernel tftp://${fog-ip}/gparted/vmlinuz
    initrd tftp://${fog-ip}/gparted/initrd.img
    initrd tftp://${fog-ip}/gparted/filesystem.squashfs
    
    imgargs  initrd=initrd.img boot=live union=overlay username=user config components quiet noswap  toram=filesystem.squashfs ip= net.ifnames=0  nosplash 
    

    Will it work, <??>.

    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
    • Q
      quinniedid
      last edited by quinniedid May 22, 2019, 3:01 PM May 22, 2019, 8:56 PM

      @george1421 This is what I am getting now:
      e875f811-e6cc-4488-b42d-f12afb0a2cf4-image.png

      G 1 Reply Last reply May 22, 2019, 9:08 PM Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by May 22, 2019, 9:03 PM

        @quinniedid said in Issues with Gparted PXE Booting:

        It has not been resolved.

        Sorry, I got that completely wrong. Shouldn’t try to answer in a rush.

        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
          george1421 Moderator @quinniedid
          last edited by george1421 May 22, 2019, 3:08 PM May 22, 2019, 9:08 PM

          @quinniedid Strange, the files appear to download but then ipxe blew up on the imgargs command and then didn’t try to boot. Are you sure the ipxe menu doesn’t have any extra stuff in it? or like you missed the imgargs command?

          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
          • Q
            quinniedid
            last edited by May 22, 2019, 9:09 PM

            @george1421 This is what I have configured:

            kernel tftp://${fog-ip}/gparted/vmlinuz
            initrd tftp://${fog-ip}/gparted/initrd.img
            initrd tftp://${fog-ip}/gparted/filesystem.squashfs
            imgargs initrd=initrd.img boot=live union=overlay username=user config components quiet noswap toram=filesystem.squashfs ip= net.ifnames=0 nosplash
            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Tom Elliott May 22, 2019, 4:15 PM May 22, 2019, 10:14 PM

              Move the components of imgargs to the kernel line after vmlinuz

              Remove imgargs line

              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
                george1421 Moderator
                last edited by george1421 May 23, 2019, 7:57 AM May 23, 2019, 1:46 PM

                Ok I have a working solution here

                Using gparted-live-0.33.0-2-i686.zip as the base file being used

                This is the parameters settings:

                kernel tftp://${fog-ip}/gparted/vmlinuz
                initrd tftp://${fog-ip}/gparted/initrd.img
                imgargs vmlinuz initrd=initrd.img boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=tftp://${fog-ip}/gparted/filesystem.squashfs
                boot || goto MENU
                

                gparted1.png

                ref: https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images/18

                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
                • Q
                  quinniedid
                  last edited by quinniedid May 23, 2019, 9:48 AM May 23, 2019, 3:09 PM

                  @george1421 I got a lot closer! But I am now getting a failed to boot…
                  3c5d103e-b2b8-4ac0-98de-f2991a8c6d59-image.png

                  @Tom-Elliott Also tried these:

                  kernel tftp://${fog-ip}/gparted/vmlinuz vmlinuz initrd=initrd.img boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=tftp://${fog-ip}/gparted/filesystem.squashfs
                  initrd tftp://${fog-ip}/gparted/initrd.img
                  boot
                  

                  This seemed to get further

                  kernel tftp://${fog-ip}/gparted/vmlinuz initrd=initrd.img boot=live union=overlay username=user config components quiet noswap toram=filesystem.squashfs ip= net.ifnames=0 nosplash
                  initrd tftp://${fog-ip}/gparted/initrd.img
                  initrd tftp://${fog-ip}/gparted/filesystem.squashfs
                  boot
                  

                  030e95ae-d795-4b3a-b8e9-66289b58bbe2-image.png

                  G 1 Reply Last reply May 23, 2019, 7:12 PM Reply Quote 0
                  • G
                    george1421 Moderator @quinniedid
                    last edited by May 23, 2019, 7:12 PM

                    @quinniedid My instructions worked on my system using the i686 gparted kernel. I didn’t try the amd64 kernel.

                    In both of the pictures I was there during testing. The VM I used for testing was a bios based system. I did not try with a uefi based VM.

                    In your second picture I also go that during testing when I moved the kernel arguments to the kernel line in the iPXE code. When I put them back is when it started working once I stopped copying the squashfs via initrd and used the fetch kernel parameter.

                    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
                    • Q
                      quinniedid
                      last edited by quinniedid May 23, 2019, 3:27 PM May 23, 2019, 9:26 PM

                      @george1421 What I find interesting is that I can now get Clonezilla to work on the UEFI VM but NOT on a physical box…
                      You would think that Gparted an Clonezilla would be somewhat the same.

                      kernel tftp://${fog-ip}/clonezilla/vmlinuz
                      initrd tftp://${fog-ip}/clonezilla/initrd.img
                      imgargs vmlinuz initrd=initrd.img boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=tftp://${fog-ip}/clonezilla/filesystem.squashfs
                      boot
                      G 1 Reply Last reply May 23, 2019, 10:55 PM Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by May 23, 2019, 9:28 PM

                        @quinniedid Did you ever get to check what’s in /boot.log as suggested in the pictures?

                        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 23, 2019, 10:55 PM Reply Quote 0
                        • Q
                          quinniedid
                          last edited by May 23, 2019, 9:43 PM

                          @Sebastian-Roth The boot log is reporting a bad address to the FQDN of our server. Which is strange as within the same command-line I can nslookup the FQDN and get back the associated IP. I can ping the IP address but I cannot ping with the FQDN. Giving me the same error as bad address.

                          G 1 Reply Last reply May 23, 2019, 10:58 PM Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by May 23, 2019, 9:46 PM

                            @quinniedid That definitely is strange. Can you check /etc/nsswitch.conf when you get to the shell? Please post its contents here.

                            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
                              quinniedid
                              last edited by quinniedid May 23, 2019, 3:56 PM May 23, 2019, 9:54 PM

                              @Sebastian-Roth I did find that it works with an IP address in the fetch portion of the commands.

                              hosts: files dns
                              1 Reply Last reply Reply Quote 0
                              • G
                                george1421 Moderator @quinniedid
                                last edited by May 23, 2019, 10:55 PM

                                @quinniedid I guess what version of gparted are you using. Are you using the same one I did? Did you try it in a bios based VM. There as to be something different between your setup and mine. If you look at your clonezilla setup, that mirrors pretty much the gparted setup. So one might think your gparted files are not right if all things are equal.

                                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
                                • G
                                  george1421 Moderator @Sebastian Roth
                                  last edited by May 23, 2019, 10:55 PM

                                  @Sebastian-Roth said in Issues with Gparted PXE Booting:

                                  Did you ever get to check what’s in /boot.log

                                  while I was testing I go similar messages, the boot.log in my case was empty (0 bytes).

                                  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
                                  • G
                                    george1421 Moderator @quinniedid
                                    last edited by May 23, 2019, 10:58 PM

                                    @quinniedid said in Issues with Gparted PXE Booting:

                                    The boot log is reporting a bad address to the FQDN of our server

                                    Why would that be? In the ipxe menu the reference is ${fog-ip} which should be the IP address of your fog server. Where is it getting the fqdn name from?

                                    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
                                    • Q
                                      quinniedid
                                      last edited by May 23, 2019, 10:58 PM

                                      @george1421 I am using the 0.33.0 AMD64. I think I am going to download the previous version and test. I wonder if PXE booting is an issue in this version.

                                      G 1 Reply Last reply May 23, 2019, 10:59 PM Reply Quote 0
                                      • G
                                        george1421 Moderator @quinniedid
                                        last edited by george1421 May 23, 2019, 5:03 PM May 23, 2019, 10:59 PM

                                        @quinniedid said in Issues with Gparted PXE Booting:

                                        I am using the 0.33.0 AMD64

                                        My tests were with i686 version. Lets start eliminating the differences, can you try the i686 files? Those will work on both x86 and x64 systems.

                                        also in your browser key in http://<fog_server_ip>/fog/service/ipxe/boot.php?mac=00:00:00:00:00:00

                                        Make sure at the top of that its setting ${fog-ip} correctly

                                        For example when I run that on my home fog server I get this. So you see the variable fog-ip is being set to an IP address here.

                                        #!ipxe
                                        set fog-ip 192.168.112.24
                                        set fog-webroot fog
                                        set boot-url http://${fog-ip}/${fog-webroot}
                                        cpuid --ext 29 && set arch x86_64 || set arch i386
                                        goto get_console
                                        :console_set
                                        colour --rgb 0x00567a 1 ||
                                        colour --rgb 0x00567a 2 ||
                                        colour --rgb 0x00567a 4 ||
                                        ...
                                        

                                        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
                                        • Q
                                          quinniedid
                                          last edited by quinniedid May 24, 2019, 9:58 AM May 24, 2019, 3:52 PM

                                          @george1421 I have my fog server configured with an FQDN instead of IP addresses as we have had to change our IP a few times. So ${fog-ip} is not an actual IP. Also, all computers/VM’s in our network our UEFI configured. I just find it interesting that Clonezilla will work but not this particular version of Gparted.

                                          I changed the files to the following versions and the associated results:

                                          0.33.0-2-i686 - Won't even boot
                                          0.33.0-2-AMD64 - Will boot but crashes later due to the FQDN not resolving for some reason, if IP specified on fetch booted no problem
                                          0.33.0-1-AMD64 - Will boot but crashes later due to the FQDN not resolving for some reason
                                          0.32.0-1-AMD64 - Will boot and works with the FQDN no problem!!! :)

                                          This is the iPXE parameters I am using:

                                          kernel tftp://${fog-ip}/gparted/vmlinuz
                                          initrd tftp://${fog-ip}/gparted/initrd.img
                                          imgargs vmlinuz initrd=initrd.img boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch=tftp://${fog-ip}/gparted/filesystem.squashfs
                                          boot || goto MENU
                                          G 1 Reply Last reply May 24, 2019, 3:56 PM Reply Quote 1
                                          • 1
                                          • 2
                                          • 2 / 2
                                          2 / 2
                                          • First post
                                            21/33
                                            Last post

                                          190

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project