Page 1 of 1

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

Posted: 02 Dec 2015, 14:12
by lemon
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

Re: ISO made with make_iso.sh is not booting

Posted: 02 Dec 2015, 14:45
by fanthom
Hello lemon,

You never made the ISO hybrid. Please refer to kiosk documentation.

Re: ISO made with make_iso.sh is not booting

Posted: 02 Dec 2015, 16:02
by lemon
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