I was loading it through a bootable usb. My laptop doesn't have any os installed and basically all partitions were formatted before installing it but still I got an error which said that installation failed.
p grub-efi-amd64-signed(1.67+1.65+2.02~beta2)... Processing triggers for man-db(126.96.36.199-2) .. Running in chroot, ignoring request. Installing for x86_64-efi platform. grub-install.real: error: cannot open `/boot/efi/EFI/deepin/shimx64.efi':input/output error.
!! Error: grub-install failed with efi deepin
Hook failed: "02_setup_bootloader_x86.job"
What should I do now and what could be the possible cause for this?