Muilti boot

Here you can post about the issues related to modifications performed manually (not through the kiosk wizard). Example: swapped kernel, added 3rd party modules or files.
Please describe in detail what has been changed and hopefully other kiosk user will be able to help.
Porteus team wont resolve bugs posted in this category as we support only modifications made by the kiosk wizard.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
bonzo
White ninja
White ninja
Posts: 5
Joined: 22 Aug 2019, 07:18
Distribution: 4.8

Muilti boot

Post#1 by bonzo » 22 Aug 2019, 07:45

Hi.
I have installed Porteus-Kiosk and love it! I am using a central porteus.cfg file which is hosted on a webserver to manage several kiosks remotely. This file includes all the porteus settings including the homepage.
What I would like to do is to present a menu on boot up that allows the user to lock the kiosk into either one homepage or a second different homepage.

I thought this could be achieved by using syslinux bootloader with an overlay .dat file.

isolinux.cfg

Code: Select all

DEFAULT site1
timeout 5

label site1
        menu label Driver Knowledge Test System
        kernel /boot/vmlinuz
        append initrd=/boot/initrd.xz changes=/porteus/site1.dat changes-ro

label site2
        menu label Public Access Internet Kiosk
        kernel /boot/vmlinuz
        append initrd=/boot/initrd.xz changes=/porteus/site2.dat changes-ro

I'm not sure which file I'd need to change within the dat file, and what I'd need to put in there.
Presumably just a single line that contains the kiosk_config setting for each homepage.
eg.

Code: Select all

site1.dat
kiosk_config=https://www.example.com/porteus1.cfg  

site2.dat
kiosk_config=https://www.example.com/porteus2.cfg

Would this work? Or is there a better solution?

thanks in advance.

hypomania
Samurai
Samurai
Posts: 130
Joined: 10 Mar 2011, 10:50
Distribution: Windows phone
Location: Saudi Arabia

Muilti boot

Post#2 by hypomania » 21 Feb 2020, 20:12

Check that, please https://tinyurl.com/y5abz7x6

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Muilti boot

Post#3 by Ed_P » 21 Feb 2020, 22:12

I don't know hypomania with all these tinyurl links and replying to a 6 month old posting about configuring Porteus Kiosk with a link to multiboot a USB drive. :hmmm:
Ed

Locked