For some reason, squashfs hangs. Stops at the key-users file. I enter

mksquashfs / fs.squash 

What am I doing wrong? I need to build a distribution based on an archa in order to propagate to more than 20 PCs.

    2 answers 2

    you need to boot from another system ({live | rescue} - {cd | dvd | usb}, which has the mksquashfs program), mount the partition whose image you want to do, for example, in /mnt , and then execute:

     $ sudo mksquashfs /mnt путь.к.файлу.куда.будет.записан.образ 

      The easiest option is to build your Arch image based on Archiso using Arch as the x86_64 platform.