I installed Ubuntu 17.04 on a 128gb USB drive. I followed an online tutorial to ensure that everything was installed on the USB drive and nothing on my laptop HDD. Well, somehow grub was installed onto my hard drive and overwrote the windows bootloader even though for the bootloader partition I choose to instal on the USB. Anyway, now at every boot I have to choose my os, not that that in itself is bad but ubuntu wont even boot and I want to get rid of it all completly. Can anyone help with removing grub and getting the windows bootloader back.

  • If UEFI, grub did not overwrite your Windows boot loader. It shares the ESP - efi system partition. And in UEFI you can change boot order. Or in Linux use efibootmgr to change boot order. But if a full install to an external drive, you have to partition in advance, only use the Something Else install option to use those partitions, copy /EFI/ubuntu twice to ESP on external drive and in /EFI/Boot rename shimx64.efi to bootx64.efi. UEFI with external drives is a bit more complex. – oldfred Nov 17 '17 at 4:01
  • @MichaelBay I tried to do what the thread you linked me to said and it didn't work. – Cameron Allen Nov 17 '17 at 4:20
  • @oldfred i have a decent understanding of what you are saying but can you dumb it down a bit ELI5 – Cameron Allen Nov 17 '17 at 4:21
  • 1
    Can you not press f12 or f10 (check your manual on correct key) to get into UEFI boot menu. That is separate from grub's boot menu. And you should in UEFI often f2 or del key change boot order to boot Windows first. You can still then choose Ubuntu from UEFI menu when you want it. But if you want external drive to boot on other computers you will need to copy ESP data from internal drive to an ESP on external drive. If you do not have an ESP (FAT32 with boot flag) on external you must create it.askubuntu.com/questions/906857/… – oldfred Nov 17 '17 at 14:52

Browse other questions tagged or ask your own question.