I am doing a personal respin of Mint LMDE but it does not give error when creating the ISO, it copies everything needed to the working directory, but it does not get to create the ISO.
As much as I look at the .log I do not see what I'm doing wrong Can you tell me what can be?
Thanks
Code: Select all
+ source /etc/refractasnapshot.conf
++ limit_cpu=no
++ limit=50
++ error_log=/var/log/refractasnapshot.log
++ snapshot_dir=/mnt/baul/snapshot
++ work_dir=/mnt/baul/work
++ efi_work=/mnt/baul/work/efi-files
++ make_efi=no
++ force_efi=no
++ save_work=no
++ rsync_option1=--delete-before
++ rsync_option2=' --delete-excluded'
++ rsync_option3=
++ snapshot_excludes=/usr/lib/refractasnapshot/snapshot_exclude.list
++ kernel_image=/boot/vmlinuz-6.1.0-12-amd64
++ initrd_image=/boot/initrd.img-6.1.0-12-amd64
++ stamp=datetime
++ snapshot_basename=snapshot
++ volid=liveiso
++ make_sha256sum=yes
++ make_isohybrid=yes
++ mksq_opt='-comp xz -Xbcj x86'
++ pmount_fixed=yes
++ update_mlocate=yes
++ clear_geany=yes
++ ssh_pass=yes
++ edit_boot_menu=no
+++ type -p nano
++ text_editor=/usr/bin/nano
++ other_editor=
++ other_editor_option=
++ iso_dir=/usr/lib/refractasnapshot/iso
++ boot_menu=live.cfg
++ grub_template=/usr/lib/refractasnapshot/grub.cfg.template
++ snapshot_help=/usr/share/doc/refractasnapshot-base/readme.refractasnapshot.txt.gz
+ choose_task
+ [[ no = \y\e\s ]]
+ uefi_message='uefi disabled'
++ yad '--title=Refracta Snapshot 10.2.12 (20210629)' --center --borders=10 --height 400 --width 426 '--text=This utility will create a bootable image that you can burn to CD or DVD or copy to USB with dd or cat. The image will be stored in /mnt/baul/snapshot.
Choose the first option to create a snapshot.
This is free software that comes with no warranty or guarantee of any type, including but not limited to express, implied, merchantability or fitness of purpose.
' --button=OK:0 --button=Help:1 --list --column Num --column 'Choose a task' 01 'Create a snapshot (uefi disabled)' 02 'Re-squash and make iso (no-copy)' 03 'Re-make efi files and iso. (no-copy) (uefi disabled)' 04 'Re-run xorriso only. (make iso, no-copy, no-squash)' 05 'Setup snapshot (edit config file or excludes file)' 06 Exit
+ task='01|Create a snapshot (uefi disabled)|'
+ exit_code=0
+ '[' 0 -ne 0 ']'
+ [[ 01|Create a snapshot (uefi disabled)| =~ 01 ]]
+ please_wait
+ yad --image=gtk-dialog-info '--title=Refracta Snapshot' --center '--text=This may take a moment while the program checks for free space. ' --no-buttons
++ pgrep yad
+ wait_pid=7961
+ check_copies
+ [[ -d /mnt/baul/snapshot ]]
+ snapshot_count=0
+ snapshot_size='0 bytes'
+ [[ -d /mnt/baul/work/myfs ]]
+ [[ no = \y\e\s ]]
+ save_message='* The temporary copy of the filesystem will be created
at /mnt/baul/work/myfs and removed when this program finishes.'
+ check_directories
++ echo /mnt/baul/snapshot
++ awk -F / '{ print "/" $2 "/" $3 }'
++ grep /media/
+ snapdir_is_remote=
++ echo /mnt/baul/work
++ awk -F / '{ print "/" $2 "/" $3 }'
++ grep /media/
+ workdir_is_remote=
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ [[ -d /mnt/baul/snapshot ]]
+ mkdir -p /mnt/baul/snapshot
+ chmod 777 /mnt/baul/snapshot
+ [[ no = \n\o ]]
+ [[ -d /mnt/baul/work ]]
+ mkdir -p /mnt/baul/work/iso
+ mkdir -p /mnt/baul/work/myfs
+ check_space
++ sed 's/Mounted on/Mountpoint/'
++ df -h -x tmpfs -x devtmpfs -x iso9660 -x udf -x aufs -x squashfs
++ awk '{ print $2 " \t" $3 " \t" $4 " \t" $5 " \t" $6 " \t\t\t" $1 }'
+ disk_space='Tamaño Usados Disp Uso% Montado S.ficheros
16G 8,1G 6,9G 55% / /dev/vda2
5,5T 482G 4,7T 10% /mnt/baul compartir'
+ check_initrd
+ echo 'Checking initrd.'
+ grep -q conf.d/cryptroot
+ lsinitramfs /boot/initrd.img-6.1.0-12-amd64
+ grep -q cryptroot/crypttab
+ lsinitramfs /boot/initrd.img-6.1.0-12-amd64
+ remove_cryptroot=yes
+ cryptroot_message='The snapshot initrd will be modified to allow booting the unencrypted snapshot.'
+ lsinitramfs /boot/initrd.img-6.1.0-12-amd64
+ egrep -q 'conf.d/resume|conf.d/zz-resume-auto'
+ remove_resume=yes
+ swap_message='The snapshot initrd will be modified to allow booting without the host'\''s swap partition.'
+ '[' '' = yes ']'
+ kill 7961
+ report_space
++ mktemp /tmp/snapshot-report.XXXX
+ tempfile=/tmp/snapshot-report.SB9S
+ echo '
You will need plenty of free space. It is recommended that free space (Avail) in the partition that
holds the work directory (probably "/") should be two times the total installed system size (Used).
(Note: You can deduct the space taken up by previous snapshots and any saved copies of the system from the Used amount.)
Please CLOSE any running applications NOW.
Turn off NUM LOCK for some laptops.
* You have 0 snapshots taking up 0 bytes of disk space.
* The temporary copy of the filesystem will be created
at /mnt/baul/work/myfs and removed when this program finishes.
* The snapshot directory is currently set to /mnt/baul/snapshot
You can change these and other settings by editing
/etc/refractasnapshot.conf.
The snapshot initrd will be modified to allow booting the unencrypted snapshot.
The snapshot initrd will be modified to allow booting without the host'\''s swap partition.
Current disk usage:
(For complete listing, exit and run '\''df -h'\'')
Tamaño Usados Disp Uso% Montado S.ficheros
16G 8,1G 6,9G 55% / /dev/vda2
5,5T 482G 4,7T 10% /mnt/baul compartir'
+ yad --text-info '--title=Status Report' --center --height 400 --width 700 --button=OK:0 --button=Exit:1
+ exit_code=0
+ '[' 0 -ne 0 ']'
+ rm -f /tmp/snapshot-report.SB9S
+ set_distro_name
+ [[ /usr/lib/refractasnapshot/iso = \/\u\s\r\/\l\i\b\/\r\e\f\r\a\c\t\a\s\n\a\p\s\h\o\t\/\i\s\o ]]
+ [[ live.cfg = \l\i\v\e\.\c\f\g ]]
++ lsb_release -i -s
+ DISTRO=Linuxmint
++ grep -q Refracta /etc/issue
++ yad --entry '--title=Linux Distribution' --center '--text=This is the distribution name that will appear in the boot menu
for the live image. If it'\''s blank, the menu entries will just say
"GNU/Linux (kernel-version)" ' --entry-text=Linuxmint --width=500 --button=OK:0
+ DISTRO=Linuxmint
+ [[ -z Linuxmint ]]
+ housekeeping
+ [[ '' = \y\e\s ]]
+ [[ -n '' ]]
++ awk -F: '/1000:1000/ { print $1 }' /etc/passwd
+ username=lmde
+ [[ lmde != user ]]
+ username_opt=username=lmde
+ [[ no = \y\e\s ]]
+ [[ -e /boot/vmlinuz-6.1.0-12-amd64 ]]
+ [[ -e /boot/initrd.img-6.1.0-12-amd64 ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ yes = \y\e\s ]]
+ updatedb
+ tee /dev/fd/63
++ yad '--title=Running updatedb...' --center --progress --pulsate --auto-close --width 300
+ [[ '' = \y\e\s ]]
+ cd /mnt/baul/work
(yad:9146): GLib-CRITICAL **: 12:05:36.507: g_source_remove: assertion 'tag > 0' failed
+ copy_isolinux
+ [[ -f /usr/lib/ISOLINUX/isolinux.bin ]]
+ isolinuxbin=/usr/lib/ISOLINUX/isolinux.bin
+ [[ -f /usr/lib/syslinux/modules/bios/vesamenu.c32 ]]
+ vesamenu=/usr/lib/syslinux/modules/bios/vesamenu.c32
+ rsync -a /usr/lib/syslinux/modules/bios/chain.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/syslinux/modules/bios/ldlinux.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/syslinux/modules/bios/libcom32.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/syslinux/modules/bios/libutil.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/ISOLINUX/isolinux.bin /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/syslinux/modules/bios/vesamenu.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ [[ '' = \y\e\s ]]
+ copy_kernel
+ rsync -a /usr/lib/refractasnapshot/iso/ /mnt/baul/work/iso/
+ cp /boot/vmlinuz-6.1.0-12-amd64 /mnt/baul/work/iso/live/
+ cp /boot/initrd.img-6.1.0-12-amd64 /mnt/baul/work/iso/live/
+ copy_filesystem
+ [[ no = \y\e\s ]]
+ rsync -av / myfs/ --delete-before --delete-excluded --exclude=/mnt/baul/work --exclude=/mnt/baul/snapshot --exclude=/mnt/baul/work/efi-files --exclude-from=/usr/lib/refractasnapshot/snapshot_exclude.list
+ tee /dev/fd/63
++ yad '--title=Copying filesystem...' --center --progress --pulsate --auto-close --width 300
+ [[ -n '' ]]
+ '[' yes = yes ']'
+ clean_initrd
+ extract_initrd
+ mkdir /tmp/extracted
+ pushd /tmp/extracted
++ egrep -o 'gzip compressed|XZ compressed|cpio archive'
++ file -L /boot/initrd.img-6.1.0-12-amd64
+ COMPRESSION='cpio archive'
+ '[' 'cpio archive' = 'gzip compressed' ']'
+ '[' 'cpio archive' = 'XZ compressed' ']'
+ '[' 'cpio archive' = 'cpio archive' ']'
+ echo 'Archive is cpio archive...'
+ cpio -i
107 bloques
+ zcat
+ cpio -i
gzip: stdin: not in gzip format
cpio: fin prematuro del archivo
+ exit_code=2
+ '[' 2 -ne 0 ']'
+ cpio -i
cpio: kernel/x86/microcode/AuthenticAMD.bin no se ha creado: existe una versión con fecha igual o posterior
107 bloques
+ xzcat
+ cpio -i
xzcat: (stdin): No se reconoce el formato del fichero
cpio: fin prematuro del archivo
+ exit_code=2
+ '[' 2 -ne 0 ']'
+ echo 'Decompression error'
+ exit 1