[Solved] How can I set kernel parameters against the "system-builder" iso?
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
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
-
- White ninja
- Posts: 19
- Joined: 08 May 2018, 13:35
- Distribution: Porteus Kiosk version 20180422
[Solved] How can I set kernel parameters against the "system-builder" iso?
Specifically, the kernel_parameters=reboot=efi,pci,force so (at the end of the install) it can reboot the device instead of black-screening?
Last edited by casystems on 24 May 2018, 07:10, edited 3 times in total.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
How can I set kernel parameters against the "system-builder" iso?
Please remaster installation ISO and edit append line in the /boot/isolinux/isolinux.cfg file so its as follows:
Thanks
Code: Select all
append initrd=/boot/initrd.xz quiet first_run reboot=efi,pci,force
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 19
- Joined: 08 May 2018, 13:35
- Distribution: Porteus Kiosk version 20180422
[Solved] How can I set kernel parameters against the "system-builder" iso?
Here are some instructions if anyone else needs to do this who is predominantly Windows based but has a bit of command line knowledge:
I used vmware player and Linux Mint with shared folders - from within the Linux session:
* start in a tmp folder
* most operations require super-user (if this doesn't work you will need to prefix (most) commands with "sudo " for them to work
* copy ISO from vmware shared folder to working folder
* mount needs a mount-point/dir before it will mount
* mount image
* create a work folder
* copy files from mounted image to work folder
* unmount image
* remove mount-point/dir
* working in folder with files now
* edit
* add reboot stuff so the line looks like:
* edit
* add reboot stuff to the linux line so the line looks like:
* rebuild the iso
<if this fails ; as it did on mine ; download the mkisofs, move it and set to allow execute>
* remaster ISO (with UEFI)
* copy it back to vmware shared folder
ps.
** if you need to burn it onto a pen-stick now ; list usb devices
* burn ISO to pen-stick (where the /dev/sdb is the device name given to your pen-stick as shown from above)
otherwise just use the Win32DiskImageWriter (https://sourceforge.net/projects/win32diskimager/)
I used vmware player and Linux Mint with shared folders - from within the Linux session:
* start in a tmp folder
Code: Select all
cd /tmp
Code: Select all
su
Code: Select all
cp /mnt/hgfs/temp/*.iso source.iso
Code: Select all
mkdir /mnt/kiosk
Code: Select all
mount -o loop source.iso /mnt/kiosk
Code: Select all
mkdir /tmp/kiosk_ISO
Code: Select all
cp -a /mnt/kiosk/* /tmp/kiosk_ISO
Code: Select all
umount /mnt/kiosk
Code: Select all
rmdir /mnt/kiosk
Code: Select all
cd kiosk_ISO
Code: Select all
nano boot/isolinux/isolinux.cfg
Code: Select all
append initrd=/boot/initrd.xz quiet first_run reboot=efi,pci,force
Code: Select all
nano boot/isolinux/grub.cfg
Code: Select all
linux ... first_run reboot=efi,pci,force
Code: Select all
bash make_iso.sh
Code: Select all
mv /home/{your-home-dir}/Downloads/mkisofs /usr/local/bin
chmod +x /usr/local/bin/mkisofs
Code: Select all
isohybrid -u /tmp/Porteus-Kiosk.iso
Code: Select all
cp /tmp/Porteus-Kiosk.iso /mnt/hgfs/temp/
** if you need to burn it onto a pen-stick now ; list usb devices
Code: Select all
ls -l /dev/disk/by-id/usb*
Code: Select all
sudo dd if=/tmp/Porteus-Kiosk.iso of=/dev/sdb
Last edited by casystems on 24 May 2018, 07:10, edited 3 times in total.
-
- White ninja
- Posts: 19
- Joined: 08 May 2018, 13:35
- Distribution: Porteus Kiosk version 20180422
How can I set kernel parameters against the "system-builder" iso?
I've done all these steps but the device still locks up with a black screen and doesn't reboot...
I've used the GUI to mount the .iso I made, nemo to browse to the folder and Text Editor to open the file and can confirm:
I've used the GUI to mount the .iso I made, nemo to browse to the folder and Text Editor to open the file and can confirm:
Code: Select all
timeout 0
prompt 0
default kiosk
label kiosk
kernel /boot/vmlinuz
append initrd=/boot/initrd.xz quiet first_run reboot=efi,pci,force
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
How can I set kernel parameters against the "system-builder" iso?
Sorry - this is EFI system so you may do the same for /boot/isolinux/grub.cfg in the 'linux' line.
Thanks
Code: Select all
linux /boot/vmlinuz quiet first_run reboot=efi,pci,force
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 19
- Joined: 08 May 2018, 13:35
- Distribution: Porteus Kiosk version 20180422
[Solved] How can I set kernel parameters against the "system-builder" iso?
Cheers - I've updated my step-by-step instructions and added [Solved].