Failed to flash from a virtual box Ubuntu 24

The flashing works fine in Ubuntu 20 installation, but I am having the issue flash my jetson Tx2 device from Virtualbox running Ubuntu 24. It stucks on running mksparse program for more than an hour with 100% CPU usage. Here is the last bit of log I can share:


+ /sbin/cryptsetup luksOpen /dev/loop17 l4t_enc_disk
+ chkerr 'Unlock system_uda_encrypted.img_ext failed.'
+ '[' 0 -ne 0 ']'
+ '[' 'Unlock system_uda_encrypted.img_ext failed.' = '' ']'
+ mkfs -t ext4 /dev/mapper/l4t_enc_disk
+ chkerr 'formating ext4 filesystem on system_uda_encrypted.img_ext failed.'
+ '[' 0 -ne 0 ']'
+ '[' 'formating ext4 filesystem on system_uda_encrypted.img_ext failed.' = '' ']'
+ mkdir -p mnt
+ chkerr 'make system_uda_encrypted.img_ext mount point failed.'
+ '[' 0 -ne 0 ']'
+ '[' 'make system_uda_encrypted.img_ext mount point failed.' = '' ']'
+ mount /dev/mapper/l4t_enc_disk mnt
+ chkerr 'mount system_uda_encrypted.img_ext failed.'
+ '[' 0 -ne 0 ']'
+ '[' 'mount system_uda_encrypted.img_ext failed.' = '' ']'
+ date
+ chmod 777 -R mnt/build.date mnt/lost+found
+ '[' '' '!=' '' ']'
+ echo -e -n '\tSync'\''ing system_uda_encrypted.img_ext ... '
+ sync
        Sync'ing system_uda_encrypted.img_ext ... + sync
+ sleep 5
done.
+ echo done.
+ umount mnt
+ /sbin/cryptsetup luksClose l4t_enc_disk
+ losetup -d /dev/loop17
+ rmdir mnt
        Converting RAW image to Sparse image... + convert_to_sparse_image 0 system_uda_encrypted.img_ext
+ local __pattern=0
+ local __imgfile=system_uda_encrypted.img_ext
+ '[' 0 '!=' '' ']'
+ '[' -x mksparse ']'
+ echo -e -n '\tConverting RAW image to Sparse image... '
+ mv -f system_uda_encrypted.img_ext system_uda_encrypted.img_ext.raw
+ '[' '' '!=' '' ']'
+ ./mksparse --fillpattern=0 system_uda_encrypted.img_ext.raw system_uda_encrypted.img_ext

This is not supported, please have a native Ubuntu host PC.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.