Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. sudo efibootmgr -c -L "Windows Boot Manager" -l "EFIubuntushimx64.efi"
  2.  
  3. #Mount efi partition. check which partition is FAT32 with boot flag. Often sda1 or sda2 but varies.
  4. mount /dev/sda1 /mnt
  5. #only if not already existing,
  6. mkdir /mnt/EFI/Boot
  7. cp /mnt/EFI/ubuntu/* /mnt/EFI/Boot
  8. # If new folder created, the bootx64.efi will not exist, skip this command
  9. mv /mnt/EFI/Boot/bootx64.efi /mnt/EFI/Boot/bootx64.efi.backup
  10. # make grub be hard drive boot entry in UEFI. If not existing, may have to update UEFI also with efibootmgr.
  11. mv /mnt/EFI/Boot/grubx64.efi /mnt/EFI/Boot/bootx64.efi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement