Colif :
the bootrec/rebuild bcd command I gave you above were meant to fix your boot files, but it said it couldn't find an operating system, and then said E drive was windows.
did you try the other two commands under it?
All I been trying to do is figure out what your partitions look like on drive 0, try the list volume command and see if it shows a break down - I had thought you would need to swap to the hdd using CD X but perhaps not.
could the linux distro overwritten the EFI partition with its own files?
Hello again! I've followed all the steps as follows (essentially what you had me do):
diskpart
DISKPART> list disk
DISKPART> select disk 0
DISKPART> list volume
# find your system partition with fat32 file system. Here to assume it as volume 2.
DISKPART> select volume 2
# To assign drive letter.
# If you want to remove drive letter, use remove command.
DISKPART> assign letter=b:
# To terminate diskpart command.
DISKPART> exit
# Now, you sould move to b:\EFI\Microsoft\Boot\, as windows stores BCD in this folder.
cd /d b:\EFI\Microsoft\Boot\
# this is not necessary.
ren BCD BCD.bak
# To write a new bootsector on your system partition.
bootrec /fixboot
# If your windows running, you should do from here.
# To create BCD store. "/f ALL" is to update BIOS setting including UEFI firmware/NVRAM.
# Replace "ja-JP" with your language or remove "/l" option if you use English, of course.
# It might be sense only typing "bcdboot c:\Windows".
bcdboot c:\Windows /l ja-JP /s b: /f ALL
everything works good except on the last step I receive the error: "Failure when attempting to copy boot files."