Booting 2 different versions off USB with grub4dos

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
jk9
White ninja
White ninja
Posts: 29
Joined: 01 May 2016, 12:19
Distribution: Porteus_Kiosk
Location: Germany

Booting 2 different versions off USB with grub4dos

Post#1 by jk9 » 03 Apr 2020, 11:31

USB Stick with 3 partitions:

.../sda1
.../sda2
.../sda3

Bootable sda1 with grub4dos bootloader.
dd if=/Kiosk1/Kiosk1.iso of=/dev/sda2
dd if=/Kiosk2/Kiosk2.iso of=/dev/sda3

grub4dos bootloader's menu:

Code: Select all

timeout 30
title Porteus Kiosk 1
root (hd0,1)
kernel /boot/vmlinuz
initrd /boot/initrd.xz

timeout 30
title Porteus Kiosk 2
root (hd0,2)
kernel /boot/vmlinuz
initrd /boot/initrd.xz  
Now, Porteus Kiosk 1 boots and runs flawlessly.

However, Porteus Kiosk 2 boots then stops with the message below:

Image

Any help would be highly appreciated.

Locked