I have also tried this version :
xorriso \
-outdev debian-live-11.5.0-amd64-xfce.iso \
-volid d-live \
-padding 0 \
-map /home/ziomario/Scrivania/PassT-Cubic/ISO/iso_unpacked_and_modified
/ \
-chmod 0755 / -- \
-boot_image isolinux dir=/isolinux \
-boot_image isolinux
system_area=/home/ziomario/Scrivania/PassT-Cubic/ISO/isohdpfx.bin \
-boot_image any next \
-boot_image any efi_path=boot/grub/efi.img \
-boot_image isolinux partition_entry=gpt_basdat
this didn't even work :
root@Z390-AORUS-PRO-DEST:/home/ziomario/Scrivania/PassT-Cubic/ISO#
./script.sh
xorriso 1.5.4 : RockRidge filesystem manipulator, libburnia project.
Drive current: -outdev 'debian-live-11.5.0-amd64-xfce.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Media summary: 1 session, 1310720 data blocks, 2560m data, 44.0g free
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119
rules
Added to ISO image: directory
'/'='/home/ziomario/Scrivania/PassT-Cubic/ISO/iso_unpacked_and_modified'
xorriso : FAILURE : Cannot find in ISO image: -boot_image ...
bin_path='/isolinux/isolinux.bin'
xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'