Porteus Kiosk grub4dos [Solved]

New features which should be implemented in Porteus Kiosk Edition and the kiosk wizard.
Post Reply
addryann
Ronin
Ronin
Posts: 2
Joined: 29 Mar 2013, 18:02
Distribution: Porteus 2.o
Location: England

Porteus Kiosk grub4dos [Solved]

Post#1 by addryann » 29 Mar 2013, 18:05

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
Last edited by addryann on 30 Mar 2013, 06:32, edited 1 time in total.

User avatar
Ed_P
Contributor
Contributor
Posts: 3322
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Porteus Kiosk grub4dos

Post#2 by Ed_P » 29 Mar 2013, 19:25

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?
Ed

User avatar
fanthom
Site Admin
Site Admin
Posts: 4618
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Porteus Kiosk grub4dos

Post#3 by fanthom » 29 Mar 2013, 21:53

@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
Please add [Solved] to your thread title if the solution was found.

addryann
Ronin
Ronin
Posts: 2
Joined: 29 Mar 2013, 18:02
Distribution: Porteus 2.o
Location: England

Re: Porteus Kiosk grub4dos

Post#4 by addryann » 30 Mar 2013, 06:31

Thank you fanthom, your method works.

Post Reply