Whenever I run boot-repair, I can boot once into Win 10. After I boot to Linux again, I get the above message whenever I try to boot again into Win 10.
The exact message is:
error: can't find command 'parttool'
error: can't find command 'drivemap'
error: invalid EFI file path
Tried a few things but can't seem to make it work.
This is the boot-repair log: https://paste.ubuntu.com/p/9rDss5tfHP/
- SDA is the Win10 LTSC Disc
- SDC is Linux
Some further commands:
[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
EFI boot on HDD
Windows 10
label: dos
label-id: 0x4b16c6ab
device: /dev/sda
unit: sectors
/dev/sda1 : start= 2048, size= 1024000, type=7, bootable
/dev/sda2 : start= 1026048, size= 232342258, type=7
/dev/sda3 : start= 233369600, size= 1067008, type=27
// Edit:
I've also tried adding a custom boot entry for Win 10, it's working but after restart, I have to boot-repair again from live-usb to get to choose which OS.
menuentry "Windows 10" --class windows --class os {
insmod ntfs
search --no-floppy --set=root --fs-uuid 1D584C40586B2873
ntldr /bootmgr
}
Boot-repair sometimes shows a Windows 'legacy' error and I have to reboot in another way to get it running again. I guess the legacy thing is the real problem?
It's also weird that I can boot twice back and forth and only then again the same problem.