BIOS resetting options

Tophertk

Distinguished
Dec 14, 2013
37
1
18,545
PC Components:
i5 4670k
GTX 1060 6GB
Corsair RM750 Gold
Kingston HyperX Beast 8 GB
ASUS Z87-a


Ok, so I had a problem with my pc booting, shutting down after 2 seconds then booting again. Initially I thought it was a hardware issue causing it, but now I think I know whats causing it, but not how to fix it.

Here is my previous thread

I have Windows 7 on one HDD and Ubuntu 17.04 on a separate HDD, dual booted through GRUB. When I installed linux I had to disable the Fast Boot option and UEFI Boot option in the bios. When I do this, it works completely normally for a few shutdowns and boots.

Then the PC will do the issue described above and I will have to go back into the bios to change the options as it appears to reset itself. After I do that its fine for a while.

What could be causing this?