I had dual booted my laptop with the windows 11 and Ubuntu. I ran the “sudo rm -rf /*” command accidentally and after that my laptop is not listing any boot device and showing as please reinstall the OS. But when I tried to install the Ubuntu I am getting the following error.
“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.”
Can anyone please help me to resolve this?