[SOLVED] ISO made with make_iso.sh is not booting
Posted: 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:
Thank you very much!
lemon
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
b) extract the xzm file I'm interested in
Code: Select all
mkdir /home/guest/kiosk-ISO mount Porteus.iso /mnt/cdrom cp -a /mnt/cdrom /home/guest/kiosk-ISO
c) edit the files to change (in my case just the prefs.js of firefox)Code: Select all
unsquashfs 003-settings.xzm
d) Delete previous 003settings.xzm filee) Create new squashed 003settings.xzm file:Code: Select all
sudo rm -r 003settings.xzm
f) Remove squashfsroot directoryCode: Select all
mksquashfs squashfsroot 003-settings.xzm -b 256K -noappend
g) make ISO:Code: Select all
rm -r squashfsroot
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.
Thank you very much!
lemon