Installing Ubuntu 21.04 Crashes while copying file to hard disk. The output message
The installer encountered an error copying files to the hard disk:
[Errno 5] Input/output error
This is often due to a faulty CD/DVD disk or drive, or a faulty hard disk. It may help to clean the CD/DVD, to burn the CD/DVD at a lower speed, to clean the CD/DVD drive lens (cleaning kits are often available from electronics suppliers), to check whether the hard disk is old and in need of replacement, or to move the system to a cooler environment.
I tried installing in two laptops one with 512 GB SSD and other is 1 TB. Both are same ASUS Vivobook 15. Installation occurs smoothly if installed in VMware. Tried two methods of partioning along with windows and also other with root partition around a 100 GB and bootloader in EFI system partition of Windows boot manager. Burned the iso image with balena and tried 2 usb sticks. I have the log files. Is there a workaround available or should I file a bug?
Edit-01:
I did verify the downloaded iso https://ubuntu.com/tutorials/how-to-verify-ubuntu#1-overview by this tutorial provided by @guiverc but in step 5 when I run
gpg --keyid-format long --verify SHA256SUMS.gpg SHA256SUMS
the output is
gpg: Signature made Fri 23 Apr 2021 01:04:38 AM IST
gpg: using RSA key 843938DF228D22F7B3742BC0D94AA3F0EFE21092
gpg: BAD signature from "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>" [unknown]
but in last step when I run
sha256sum -c SHA256SUMS 2>&1 | grep OK
the output is
ubuntu-21.04-desktop-amd64.iso: OK
I am new to this crypto verify thing! Is my iso corrupted?