Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You need to

  • mount the windows EFI drive by the following command

    sudo mount /dev/sda2 /boot/efi
    
  • copy the windows efi folder to your desktop (not as root!)

    cp -r /boot/efi /home/'username'/Desktop
    

    (instead of 'username' type your username)

  • mount the fedora EFI drive again

    sudo mount /dev/sda5 /boot/efi
    
  • copy required files from Desktop/efi folder to /boot/efi/EFI. for example in my case I moved the windows /Desktop/efi/EFI/Boot/bootx64.efi to /boot/efi/EFI/BOOT

    sudo mv /home/'username'/Desktop/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/BOOT/
    

    you may need to change commands appropriately.

You need to

  • mount the windows EFI drive by the following command

    sudo mount /dev/sda2 /boot/efi
    
  • copy the windows efi folder to your desktop (not as root!)

    cp -r /boot/efi /home/'username'/Desktop
    

    (instead of 'username' type your username)

  • mount the fedora EFI drive again

    sudo mount /dev/sda5 /boot/efi
    
  • copy move required files from Desktop/efi folder to /boot/efi/EFI. for example in my case I moved the windows /Desktop/efi/EFI/Boot/bootx64.efi to /boot/efi/EFI/BOOT

    sudo mv /home/'username'/Desktop/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/BOOT/
    

    you may need to change commands appropriately.