Waarom APPIMAGE naar SQUASHFS converteren?
AppImage packs its whole AppDir as a compressed .squashfs image appended to a small launcher binary. Extracting that image lets you inspect, mount or repackage the app's files directly instead of running the sealed bundle.
Hoe APPIMAGE naar SQUASHFS te converteren
AppImage --appimage-extract
Run ./App.AppImage --appimage-extract to unpack the embedded SquashFS into a squashfs-root/ directory of plain files.
--appimage-offset + unsquashfs
Get the byte offset with ./App.AppImage --appimage-offset, then run unsquashfs -o <offset> App.AppImage to extract the raw SquashFS filesystem.
dd + unsquashfs (carve the image)
Use the offset with dd if=App.AppImage of=app.squashfs bs=1 skip=<offset> to save the standalone .squashfs file, then read it with unsquashfs.
Over deze formaten
Een .appimage-bestand is een zelfstandige Linux-applicatie: een enkel uitvoerbaar bestand dat een programma samen met zijn bibliotheken bundelt en zichzelf bij het opstarten koppelt, zodat…
Open .APPIMAGE details →Een .SQUASHFS-bestand is gekoppeld aan squashfs-tools disk image, een data-bestand.
Open .SQUASHFS details →Kwaliteit & waar op te letten
- Dit werkt op Type 2 AppImages (ELF + SquashFS); oudere Type 1 AppImages gebruiken een ISO 9660-image en hebben andere tools nodig.
--appimage-extractgeeft u de bestanden, niet een enkel.squashfs-bestand; gebruik de offset metdd/unsquashfs als u specifiek de ruwe image nodig hebt.- Extractie behoudt de exacte inhoud, dus er gaat geen kwaliteit verloren, maar de uitgepakte mappenstructuur is op zichzelf geen uitvoerbare AppImage meer.
Veelgestelde vragen
Heb ik root-rechten nodig om een AppImage uit te pakken?
--appimage-extract en unsquashfs werken als een normale gebruiker zonder FUSE of root.Hoe vind ik waar de SquashFS begint?
--appimage-offset, wat de byte-offset van het ingebedde bestandssysteem print.Kan ik de image mounten in plaats van uitpakken?
mount -o loop,offset=<offset> App.AppImage /mnt.Wat als unsquashfs een onbekend bestandssysteem meldt?
--appimage-extract of ISO-tools.