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

    Boot Porteus Kiosk iso from fog pxe menu

    Scheduled Pinned Locked Moved
    General
    4
    7
    1.7k
    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.
    • Greg PlamondonG
      Greg Plamondon Testers
      last edited by

      We use Porteus Kiosk for our open enrollment process. instead of inserting a USB stick and installing the kiosk, I would like to install it from PXE.
      If someone could help me with this it would be greatly appreciated.

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

        @Greg-Plamondon From what I read you can’t really install the kiosk client. Maybe I missed that part. But the FAQ states that you can customize the ISO file.

        For PXE booting, have you tried memdisk iso booting yet? Thou this is legacy BIOS mode only:

        initrd http://${fog-ip}/path/to/porteus.iso
        chain memdisk iso raw
        boot || goto MENU
        

        Edit: Quickly extracted the ISO and found this in boot/pxelinux.cfg/default:

        label pxe
        kernel vmlinuz
        append initrd=initrd.xz,pxelinux.cfg/initrdpxe.xz quiet http_server=
        

        So you might be able to boot the extracted ISO. But on the other hand we don’t know too much about the kernel parameters for network booting this beside the litte information on their website: https://porteus-kiosk.org/pxe-server.html

        Be aware that FOG is not using pxelinux anymore. We use iPXE now and while you can do many more things with iPXE it’s not always possible to translate things over from the old pxelinux.

        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

        Greg PlamondonG 1 Reply Last reply Reply Quote 0
        • Greg PlamondonG
          Greg Plamondon Testers @Sebastian Roth
          last edited by

          @sebastian-roth said in Boot Porteus Kiosk iso from fog pxe menu:

          @Greg-Plamondon From what I read you can’t really install the kiosk client. Maybe I missed that part. But the FAQ states that you can customize the ISO file.

          For PXE booting, have you tried memdisk iso booting yet? Thou this is legacy BIOS mode only:

          initrd http://${fog-ip}/path/to/porteus.iso
          chain memdisk iso raw
          boot || goto MENU
          

          Edit: Quickly extracted the ISO and found this in boot/pxelinux.cfg/default:

          label pxe
          kernel vmlinuz
          append initrd=initrd.xz,pxelinux.cfg/initrdpxe.xz quiet http_server=
          

          So you might be able to boot the extracted ISO. But on the other hand we don’t know too much about the kernel parameters for network booting this beside the litte information on their website: https://porteus-kiosk.org/pxe-server.html

          Be aware that FOG is not using pxelinux anymore. We use iPXE now and while you can do many more things with iPXE it’s not always possible to translate things over from the old pxelinux.

          Thanks @Sebastian-Roth for looking into this for me. I guess I will stick the the USB stick installs for now.

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

            @greg-plamondon I’m looking at the iso image and I think we should be able to pxe boot it.

            In the tftp root directory create a dir to hold your files.

            mkdir -p /tftpboot/os/port
            

            Copy from the iso image /boot/vmlinuz and /boot/initrd.xz to /tftpboot/os/port on the fog server.

            Then you will want to create a new FOG iPXE menu similar to this

            Menu Item: os.Porteus.Kiosk
            Description: Porteus Kiosk 5.2.0
            Parameters:
            kernel tftp://${fog-ip}/os/port/vmlinuz
            initrd tftp://${fog-ip}/os/port/initrd.xz
            imgargs vmlinuz initrd=initrd.xz quiet first_run
            boot || goto MENU
            Menu Show with: All Hosts

            Lets see what that does for you. We may have to tweak the image args because I see a parameter of http_server= in the syslinux config but its not in the grub config.

            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!

            G 1 Reply Last reply Reply Quote 0
            • G
              gandzioreek @george1421
              last edited by

              @george1421 I tried, didn’t worked 😕
              I’ve seen on porteus forum some kind related topic:
              https://forum.porteus.org/viewtopic.php?f=136&t=4076
              I’m not PXE pro - any idea what to try next to make it work on FOG?

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

                @gandzioreek said:

                I tried, didn’t worked

                Please give us some more details on what you’ve tried and what happend - screenshots, error messages, … Otherwise we won’t be able to help you.

                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
                • george1421G
                  george1421 Moderator @gandzioreek
                  last edited by

                  @gandzioreek said in Boot Porteus Kiosk iso from fog pxe menu:

                  I tried, didn’t worked

                  What didn’t work? What did you see?

                  While this thread is 2 years old, I just looked at the Porteus Kiosk iso image again, and it looks pretty much the same, so the menu settings I recommended previously should still work.

                  If it wasn’t for the details most things would work right out of the box.

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

                  163

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project