Boot Porteus Kiosk iso from fog pxe menu

  • Testers

    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.

  • Moderator

    @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.

  • Testers

    @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.

  • Senior Developer

    @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.

242
Online

8.4k
Users

15.2k
Topics

142.6k
Posts