insmod part_gpt
insmod chain
set root='(hd0,gpt5)'
chainloader /Recovery/WindowsRE/boot.sdi
where gpt5 is because the partion is sda5 and hd0 because my Asus has just one hard disk. Doing this I get an undefined error: it just says that boot.sdi cannot be loaded.When you have upgraded from Windows 8 to Windows 10 or Windows 8.1 to Windows 10My computer came with Windows 10 pre-installed and there is no Windows.old folder that could suggest that the OS has been upgraded...
bcdedit /enum all
then I get this output (I just show what I think is relevant but if you want to see more let me know):Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume1
path \EFI\MICROSOFT\BOOT\BOOTMGFW.EFI
description Windows Boot Manager
locale en-us
inherit {globalsettings}
default {current}
resumeobject {077c0916-c4a7-11e7-ad6d-94e9791af70f}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 10
Firmware Application (101fffff)
-------------------------------
identifier {077c0918-c4a7-11e7-ad6d-94e9791af70f}
device partition=E:
description UEFI: USB DISK 2.0 PMAP, Partition 1
Firmware Application (101fffff)
-------------------------------
identifier {dc6dc869-fb90-11e6-9a3c-838a38c04a42}
description CD/DVD Drive
Firmware Application (101fffff)
-------------------------------
identifier {dc6dc86a-fb90-11e6-9a3c-838a38c04a42}
description Hard Drive
Firmware Application (101fffff)
-------------------------------
identifier {dc6dc86d-fb90-11e6-9a3c-838a38c04a42}
device partition=\Device\HarddiskVolume1
path \EFI\UBUNTU\SHIMX64.EFI
description ubuntu
Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \windows\system32\winload.efi
description Windows 10
locale en-us
inherit {bootloadersettings}
isolatedcontext Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \windows
resumeobject {077c0916-c4a7-11e7-ad6d-94e9791af70f}
nx OptIn
bootmenupolicy Standard
Windows Boot Loader
-------------------
identifier {dc6dc85d-fb90-11e6-9a3c-838a38c04a42}
device ramdisk=[\Device\HarddiskVolume4]\Recovery\WindowsRE\Winre.wim,{dc6dc85e-fb90-11e6-9a3c-838a38c04a42}
path \windows\system32\winload.efi
description Windows Recovery Environment
locale es-ES
inherit {bootloadersettings}
displaymessage Recovery
osdevice ramdisk=[\Device\HarddiskVolume4]\Recovery\WindowsRE\Winre.wim,{dc6dc85e-fb90-11e6-9a3c-838a38c04a42}
systemroot \windows
nx OptIn
bootmenupolicy Standard
winpe
As you can see the reference to the recovery partition is there...
C:\Users\marqu\Desktop>diskpart
Microsoft DiskPart version 10.0.15063.0
Copyright (C) Microsoft Corporation.
On computer: DESKTOP-KO6UAVN
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 931 GB 1024 KB *
Disk 1 Online 28 GB 0 B
DISKPART> select disk 0
Disk 0 is now the selected disk.
DISKPART> list volume
DISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 D DVD-ROM 0 B No Media
Volume 1 C OS NTFS Partition 930 GB Healthy Boot
Volume 2 SYSTEM FAT32 Partition 260 MB Healthy System
Volume 3 RAW Partition 499 MB Healthy Hidden
DISKPART> exit
Leaving DiskPart...
So the filesystem of the recovery partition is RAW: is this normal? Or should it be NTFS? In this second case I should use a tool like https://www.easeus.com/resource/raw-file-system-to-ntfs.htm to save files from the partition, format it and then pase saved files into it.bcdesdit {default} {dc6dc85e-fb90-11e6-9a3c-838a38c04a42}
as described in https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcd-system-store-settings-for-uefi
I thought something like that, but I don't have idea about how to restore Windows bootloader.. I'll inverstigate on this and I'll let you know.