linux – I have a upgraded Toaster-Hp elitebook 2560p. I was trying to install Manjaro when a chaos happened

I installed .iso and Grub2Win. Chatgpt told me to run ‘bcdedit /set {current} path \boot\grub\grubx64.efi’, and I did so to make grub default loader. But unfortunately, it was wrong path and now I can’t boot into windows. It says os couldn’t be loaded because a required file is missing or corrupted.
File:grub2\grubx64.efi. that file actually doesn’t not exist. I don’t currently have any USB or another computer also to automatic repair.

And for manjaro, I added a new entry in grub2win when I was on windows. I choosen ISOBOOT and put following custom command:
“set iso_path=”/boot/manjaro.iso”

loopback loop (hd0,1)$iso_path
linux (loop)/boot/vmlinuz-x86_64 img_dev=/dev/sda1 img_loop=$iso_path driver=free
initrd (loop)/boot/initramfs-x86_64.img
boot
“

After restart when I ran clicked on Manjaro Live option, it thrown error:
“error: file not found, no server is specified, load kernal first”

Then, I asked chatgpt and it said me to run following in terminal:
set root=(hd0,msdos2)
loopback loop /boot/manjaro.iso
linux (loop)/boot/vmlinuz-x86_64 iso-scan/filename=/boot/manjaro.iso
initrd (loop)/boot/initramfs-x86_64.img
boot

After that, I got device error.

enter image description here

I am stuck outside can anyone help me to either fix windows or install Manjaro?

Read more here: Source link