I had two OSs as a dual boot on my laptop i.e. Ubuntu 22.04 and Windows 10. My laptop is Acer Spin3. I wanted to reset factory in Windows 10 and delete all data on all drives. So initially, in Windows, I formatted the drive on which Ubuntu was installed. Then when I started the reset factory in Windows, the device restarted as a part of the reset process. But it rebooted in the grub environment with the following message:
Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completion. Anywhere else TAB lists possible device or file completions.
I followed this answer. The only place I could find some things related to grub was in ls (hd0,1)/efi/ubuntu/
and the command displayed grubx64.efi shimx64.efi mmx64.efi bootx64.csv grub.cfg
. Then I followed the answer, but nothing happened. The answer says the system reboots but my system didn't.
How should I fix the issue?