Remastering PoliArch ISO-EN

Da PoliArch.

Introduction

Burn again the official PoliArch image it's almost never needed, but sometimes it could be useful, so following you can find the procedure to do it.

Preparation

For burning again the ISO you need the original file (downloadable from the section Downloads of this website).

ISO mounting

# mkdir /mnt/archiso
# mount -o loop /path/to/archISO /mnt/archiso

Copy

After the ISO mounting, we can copy the content into another directory:

# cp -a /mnt/archiso ~/customiso

Customization

a. Copy in a different directory

# cp root-image.sqfs ~

b. Extract the image from the SquashFS (it's needed the squashfs-tools)

# unsquashfs root-image.sqfs 

c. Now we can do chroot into the directory to modify/add/remove files and softwares.

# chroot squashfs-root

d. After the changes it's needed to regenerate the SquashFS

# mksquashfs squashfs-root root-image.sqfs

e. Now you have a new root-image.sqfs, that should be copied in place of the original, before the ISO regeneration

# cp root-image.sqfs newiso/root-image.sqfs

f. Finally you need to generate a new updated DB with the new sw (if it has been added).

  • Run gensync and create a new "current.db.tar.gz"

Create a new ISO

Now you need only to regenerate the .ISO file:

# genisoimage -l -r -J -V "POLIARCH" -b boot/isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -c boot/isolinux/boot.cat -o ~/poliarch-custom.iso newiso
Warning: The inserted LABEL must be the SAME of the starting iso one, otherwise your .ISO will not be bootable!


Altre Pagine: · Home Page · Documentazione · Downloads · Screenshots · Contatti