I have tried modifying and regenerating fstab but it dosen't work. Also grub can't be accessed when I'm booted, nor does grub theme. How to I fix this?
I solved it somewhat. There's only two entries in fstab now but for some reason the efi partition still gets automatically mounted and the grub theme dosen't work
Dosen't work. At first the partition was dirty no I managed to run chxdisk(or whatever its called) and can mount it without hassle but it still dosen't appear in boot menu. I think there's something wrong with grub.cfg since the theme is not displaying but I don't know how to solve it
The theme itself is defined in grub.cfg, but it may be the case that it is stored in your root partition not in efi, so during bootloading the drive can't be read from.
So if you manually change the location of the theme directory and copy it inside efi it may work, and change the position of in grub.cfg
I was looking through commands history and I noticed something. If I'm mounting efi in /efi but I save grub-mkconfig -o to /boot/grub/grub.cfg during boot grub won't even notice the config file since root is not mounted. Should I save changes to /efi/grub/grub.cfg instead? Or /boot/grub/grub.cfg is the place it should be?
root must always be mounted if you have a system, either by booting or chroot. If you mount just efi from another system .
On my setup /efi/EFI/grub only has the grub efi binary no config, /boot and therefore /boot/grub is on /root partition
Now if you have the entire /boot in the /efi partition then it would be /efi/boot/grub/grub.cfg?
If you have installed grub into that other efi then you may have the two, and you are customizing one and it boots another. You can use refind or hit F12 (or whatever it is in your mb) to select device and boot with other disk, see what it does. Usually linux os-prober is good at making an entry for windows booting too, but it would have been best to leave it alone.
Your windows system may be fine, it just needs the efi fixed or carried by grub.