[SOLVED] ISO made with make_iso.sh is not booting

Post bug reports related to either the kiosk ISO or the kiosk wizard here.
Post Reply
lemon
White ninja
White ninja
Posts: 9
Joined: 02 Dec 2015, 13:46
Distribution: Slackware
Location: ITALY

[SOLVED] ISO made with make_iso.sh is not booting

Post#1 by lemon » 02 Dec 2015, 14:12

Hi everybody,

discovered Porteus only yesterday and spent a few hours with finding out how it works (I need the kiosk version).
I've found out how to extract the ISO and make changes to che .xzm files. But when I execute make_iso.sh (I do this on a Porteus Desktop machine I installed only for that) I get an ISO that is about 1M smaller than the original one, and I cannot boot from it (tried with various USB sticks).
Here's what I do:
  • a) copy the ISO to Porteus Desktop and extract it

    Code: Select all

    mkdir /home/guest/kiosk-ISO
    mount Porteus.iso /mnt/cdrom
    cp -a /mnt/cdrom /home/guest/kiosk-ISO
    b) extract the xzm file I'm interested in

    Code: Select all

    unsquashfs 003-settings.xzm
    c) edit the files to change (in my case just the prefs.js of firefox)

    d) Delete previous 003­settings.xzm file

    Code: Select all

    sudo rm -­r 003­settings.xzm
    e) Create new squashed 003­settings.xzm file:

    Code: Select all

    mksquashfs squashfs­root 003­-settings.xzm -­b 256K -­noappend
    f) Remove squashfs­root directory

    Code: Select all

    rm -r squashfs­root
    g) make ISO:

    Code: Select all

    ./make_iso.sh
    This script will create Porteus Kiosk ISO from files in current directory.
    Press enter to proceed.
    
    Saved as /home/guest/Porteus-Kiosk.iso.
    
What is wrong here? Any idea?

Thank you very much!

lemon
Last edited by lemon on 03 Dec 2015, 08:46, edited 3 times in total.

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

Re: ISO made with make_iso.sh is not booting

Post#2 by fanthom » 02 Dec 2015, 14:45

Hello lemon,

You never made the ISO hybrid. Please refer to kiosk documentation.
Please add [Solved] to your thread title if the solution was found.

lemon
White ninja
White ninja
Posts: 9
Joined: 02 Dec 2015, 13:46
Distribution: Slackware
Location: ITALY

Re: ISO made with make_iso.sh is not booting

Post#3 by lemon » 02 Dec 2015, 16:02

You're right. I read the docu but as there was written "How to burn the ISO on non-optical storage media" and I also have tried burning the ISO to a CD before, I didn't consider this.
Anyway, just to be complete, if anyone else has the same problem, here are the missing steps:

h) install syslinux on Proteus Desktop to get "isohybrid" command

Code: Select all

usm -g syslinux
i) correct the ISO file:

Code: Select all

isohybrid /home/guest/Porteus-Kiosk.iso

Post Reply