Advertisement
Guest User

Untitled

a guest
Jun 13th, 2016
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.35 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. # as in https://blogs.msdn.microsoft.com/virtual_pc_guy/2015/02/11/copying-the-vhd-of-a-generation-2-linux-vmand-not-booting-afterwards/
  4. grub-install –target=x86_64-efi –efi-directory=/boot/efi –no-nvram –removable
  5.  
  6. #cp –r /boot/efi/EFI/ubuntu/ /boot/efi/EFI/boot
  7. #mv /boot/efi/EFI/boot/shimx64.efi /boot/efi/EFI/boot/bootx64.efi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement