How to start windows 10 through grub command line

GRUB uses the contents of /boot/grub/ located on your Linux partition to boot your system normally. Because of this GRUB has very minimal functionality.

If you are on a Legacy BIOS system you're out of luck and you'll need to Windows disk for boot repair. (this is because GRUB can't load its NTFS driver because you deleted it).

If you have a UEFI system which is most likely then you can still load Windows pretty easily.

First type:

chainloader +1

If this says unknown command you're out of luck because GRUB didn't embed this command so you must have deleted it.

If it reboots back to grub prompt then you have a legacy BIOS and you're out of luck.

If it says invalid efi path then you should be able to proceed.

Type:

ls (hd0,gpt1)/

this should return "/efi" Now do:

chainloader (hd0,gpt1)/EFI/Microsoft/Boot/bootmgfw.efi
boot

I solved a similar problem on this way:

  1. windows10+Ubuntu16 dual-system;
  2. I used MbrFix64 to change the booting from existed Ubuntun to Win10 in Win10 environment;
  3. And then, I was stupid followed delete all non-volume disks... this directly caused into the next trouble;
  4. restart the laptop, and stuck into grub> mode;
  5. Due to the existed ubuntu system been deleted, there are multiple (hd0, gptx) when act grub>ls; I try every disc, therefore the valid command is: grub> chainloader (hd0,gpt2)/EFI/Mcrosoft/Boot/bootmgfw.efi grub>boot
  6. it returned to Windows10 now.:-)

Lessons:

  1. should backup the important files and always prepare bootable dis/usb iso image on the side;
  2. Operating Mbrfix64 step is correct, but I should forget that my ubuntu booting files are in windows disc mixed probably;