Page 1 of 1

[Solved] How can I set kernel parameters against the "system-builder" iso?

Posted: 17 May 2018, 11:13
by casystems
Specifically, the kernel_parameters=reboot=efi,pci,force so (at the end of the install) it can reboot the device instead of black-screening?

How can I set kernel parameters against the "system-builder" iso?

Posted: 17 May 2018, 11:43
by fanthom
Please remaster installation ISO and edit append line in the /boot/isolinux/isolinux.cfg file so its as follows:

Code: Select all

append initrd=/boot/initrd.xz quiet first_run reboot=efi,pci,force
Thanks

[Solved] How can I set kernel parameters against the "system-builder" iso?

Posted: 18 May 2018, 12:41
by casystems
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

Code: Select all

cd /tmp
* most operations require super-user (if this doesn't work you will need to prefix (most) commands with "sudo " for them to work

Code: Select all

su
* copy ISO from vmware shared folder to working folder

Code: Select all

cp /mnt/hgfs/temp/*.iso source.iso
* mount needs a mount-point/dir before it will mount

Code: Select all

mkdir /mnt/kiosk
* mount image

Code: Select all

mount -o loop source.iso /mnt/kiosk
* create a work folder

Code: Select all

mkdir /tmp/kiosk_ISO
* copy files from mounted image to work folder

Code: Select all

cp -a /mnt/kiosk/* /tmp/kiosk_ISO
* unmount image

Code: Select all

umount /mnt/kiosk
* remove mount-point/dir

Code: Select all

rmdir /mnt/kiosk
* working in folder with files now

Code: Select all

cd kiosk_ISO
* edit

Code: Select all

nano boot/isolinux/isolinux.cfg
* add reboot stuff so the line looks like:

Code: Select all

append initrd=/boot/initrd.xz quiet first_run reboot=efi,pci,force
* edit

Code: Select all

nano boot/isolinux/grub.cfg
* add reboot stuff to the linux line so the line looks like:

Code: Select all

linux ... first_run reboot=efi,pci,force
* rebuild the iso

Code: Select all

bash make_iso.sh
<if this fails ; as it did on mine ; download the mkisofs, move it and set to allow execute>

Code: Select all

mv /home/{your-home-dir}/Downloads/mkisofs /usr/local/bin
chmod +x /usr/local/bin/mkisofs
* remaster ISO (with UEFI)

Code: Select all

isohybrid -u /tmp/Porteus-Kiosk.iso
* copy it back to vmware shared folder

Code: Select all

cp /tmp/Porteus-Kiosk.iso /mnt/hgfs/temp/
ps.

** if you need to burn it onto a pen-stick now ; list usb devices

Code: Select all

ls -l /dev/disk/by-id/usb*
* burn ISO to pen-stick (where the /dev/sdb is the device name given to your pen-stick as shown from above)

Code: Select all

sudo dd if=/tmp/Porteus-Kiosk.iso of=/dev/sdb
otherwise just use the Win32DiskImageWriter (https://sourceforge.net/projects/win32diskimager/)

How can I set kernel parameters against the "system-builder" iso?

Posted: 18 May 2018, 13:22
by casystems
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:

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

How can I set kernel parameters against the "system-builder" iso?

Posted: 18 May 2018, 14:09
by fanthom
Sorry - this is EFI system so you may do the same for /boot/isolinux/grub.cfg in the 'linux' line.

Code: Select all

linux	/boot/vmlinuz quiet first_run reboot=efi,pci,force
Thanks

[Solved] How can I set kernel parameters against the "system-builder" iso?

Posted: 24 May 2018, 07:11
by casystems
Cheers - I've updated my step-by-step instructions and added [Solved].