Score:0

How can I stop the grub command line appearing on startup after deleting Ubuntu and boot directly to Windows?

is flag

I recently have deleted Ubuntu now whenever I boot the grub line command appears, I was able to boot into windows using the following commands

insmod part_gpt
insmod chain
set root=(hd0,gpt1)
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
boot

The problem is I have to do this each time I boot

I tried messing with the diskpart tho wasn't able to fully manage and solve it due to my lack of knowledge of it

nobody avatar
gh flag
Does this answer your question? [Uninstall GRUB and use Windows bootloader](https://askubuntu.com/questions/429610/uninstall-grub-and-use-windows-bootloader)
NASSIM avatar
is flag
I dont seem to have the Ubuntu one avaible might be cause I deleted it from disk managent https://prnt.sc/j1jX9sx0tdVv
oldfred avatar
cn flag
The fallback boot entry or drive entry uses /EFI/Boot/bootx64.efi. That file can be either a copy of shimx64.efi or Windows efi boot file. You may need to copy Windows /efi/Microsoft/Boot/bootmgfw.efi to /EFI/Boot/bootx64.efi in the ESP - efi system partition.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.