Qubes R4.1 no proper boot device

oh my bad, so sorry it should be -d /dev/sdX -p 1, in your case here’s the code :

efibootmgr -v -c -u -L QubesOS -l /EFI/qubes/grubx64.efi -d /dev/sda -p 1

try again.