Dual boot installation failure - Python job failed “Windowsbootentry”

Edit: I tried installing with Grub bootloader instead of systemd boot. Successful install. Still curious as to why the error was thrown and how grub avoided the problem?

Hi, I hope everyone is doing well!

I am trying to dualboot EndeavourOS on a Lenovo Yoga 730 laptop that is already running windows 10.

  • I have disabled secureboot, changed the sata mode from RST to AHCI, shrunk the windows partition using disk management in Windows.
  • I flashed the ISO to a USB using Rufus after comparing the checksums to ensure the download is good.
  • I went through the install process as usual, selected “Replace partition” and chose the unallocated partition.

The installation proceeded normally but failed with the following error message:

2023-03-27 - 07:33:43 [1]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
    ERROR: Installation failed: "Boost.Python error in job \"windowsbootentry\"." 
2023-03-27 - 07:33:43 [6]:     .. - message: "Boost.Python error in job \"windowsbootentry\"." 
2023-03-27 - 07:33:43 [6]:     .. - details: <div><strong>&lt;class 'OSError'&gt;</strong></div><div>[Errno 30] Read-only file system: '/tmp/calamares-root-bch283zc/efi/EFI/Microsoft'</div><div><br/>Traceback:</div><div><pre>File &quot;/usr/lib/calamares/modules/windowsbootentry/main.py&quot;, line 197, in run

I think there is a file in windows I just need to change from ReadOnly but not sure what file or how to do it.

Bellow are some links that should be useful in further identifying the issue.

Installation failure log

Hardware information

Boot log

Thanks in advance for any help! If there is more information I can give, please don’t hesitate to let me know.