Page 1 of 1

Porteus Kiosk grub4dos [Solved]

Posted: 29 Mar 2013, 18:05
by addryann
Hello everyone.

Anybody knows if I can add Porteus Kiosk to a usb disk using grub4dos?

I tried with this:

title Porteus 2.0 Kiosk\nBest distro ever. Period.
kernel /Porteus/Kiosk/boot/syslinux/vmlinuz from=/Porteus/Kiosk/PorteusKiosk.iso noauto
initrd /HBCD/Porteus/Kiosk/boot/syslinux/initrd.xz

Re: Porteus Kiosk grub4dos

Posted: 29 Mar 2013, 19:25
by Ed_P
Hi addryann,

This is what I use for the regular 2.0 ISO version with grub4DOS.

Code: Select all

title Porteus 2.0\n 233MB\n Porteus-v2.0-i486.iso
map --heads=0 --sectors-per-track=0 /ISOs/Porteus-v2.0-i486.iso (0xff) 
map --hook
root (0xff)
kernel /boot/syslinux/vmlinuz from=/ISOs/Porteus-v2.0-i486.iso autoexec=startx changes=porteussave.dat
initrd /boot/syslinux/initrd.xz
Where did you get your code from?

Re: Porteus Kiosk grub4dos

Posted: 29 Mar 2013, 21:53
by fanthom
@guys
Porteus Kiosk edition is different than standard ones, it has different features (security is most important), uses different cheatcodes (actually we are trying to avoid them for the sake of simplicity) has different installation method (simplicity again) and documentation.

that's why we have separated section of the forum for Kiosk related issues.
(going to move this thread to the right section.)

@addryann
Kiosk edition can mount only iso9660 filesystem (read only by design - the best for kiosk purpose) so you wont be able to boot from ISO image as it has to be placed on any other filesystem like fat, ntfs, ext*, etc.
isohybrid installation method with 'dd' utility is not perfect as it reserves whole device for just circa 50MB of data. this is not a problem for CD but could be for usb sticks and hard drives (one could call it a waste of space).
luckily there is workaround for this:
- create small 60MB partition on your stick/hd (could be the very last partition)
- use 'dd' to burn kiosk image to that partition (and not whole device as advised by kiosk documentation)
- extract vmlinuz and initrd.xz from kIosk ISO and place somewhere on your stick/hd
- use 3rd party bootloader (lilo, grub, syslinux, etc) and point it to extracted vmlinuz/initrd.xz

sample grub4dos menu should look like:

Code: Select all

title Porteus 2.0 Kiosk\nBest distro ever. Period.
kernel /Porteus/Kiosk/vmlinuz
initrd /Porteus/Kiosk/initrd.xz
no need for extra cheats like 'from=', etc...
if you decide to use that method then please let me know if it worked for you.

thanks

Re: Porteus Kiosk grub4dos

Posted: 30 Mar 2013, 06:31
by addryann
Thank you fanthom, your method works.