![]() $ mksquashfs /tmp/iso/squashfs-root /tmp/iso/rescue/LiveOS/squashfs.img -noappend -comp xz -b 1048576 -all-rootĬreating 4.0 filesystem on rescue/LiveOS/squashfs.img, block size 1048576. Mksquashfs /tmp/iso/squashfs-root /tmp/iso/rescue/LiveOS/squashfs.img -noappend -comp xz -b 1048576 -all-root (Be mounted with root ownership of the enclosed files, hence need sudo) Mount -n -t $fstype -o $ $livedev /run/initramfs/liveĭie "Failed to mount block device of live image" losetup $_loop $_img _fs=$(det_fs $_loop) losetup -d $_loopįor arg in $CMDLINE do case $arg in ro|rw) liverw=$arg esac -62,7 +60,6 die "cannot mount live image (unknown filesystem type)" ![]() $ patch -p0 -directory="/tmp/iso/new" < /tmp/iso/kaspersky.patch Patch -p0 -directory = "/tmp/iso/new" < /tmp/iso/kaspersky.patch This file is updated daily with latest AV defs Init: rescue.igz > image.squashfs > (rescue/bases & LiveOS/squasfs.img > ext3.img ) ![]() ext3.img real main filesystem (fixed) packed inside squashfs.img (recreated) & bases inside image.squashfs (created) inside rescue.igz (recreated) Repacking gives even more onion layers, the bit to get your head round. Real system: rescue/LiveOS/squasfs.img > ext3.img These are the patch files if you are rebuilding it yourself These are the pre-built patched PXE bootable Kaspersky 10 files ready to go! 13 Copy kernel to same place as initramdisk.8 Patch the init, sbin/dmsquash-live-root and.7 Mount the ext3 filesystem from extract squashfs.img.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |