-
Notifications
You must be signed in to change notification settings - Fork 660
Description
Hello,
I'm trying to boot NVMe drive hooked on a card to PCIe-2.0 slot on a legacy Windows 11 PC with BIOS Gigabyte Mobo using Clover. I tried several Clover releases, and found that r5070 boots OK from ISO via boot7 renamed as boot file, and recognises my NVMe every time. But after preparing a USB thumb with BDU tool using same r5070.iso, the thumb boots to Clover but doesn't see my NVMe drive.
I tried using the following commands in shell, and the loaded at Clover startup NVMe driver finally connects to the NVMe, maps it and boots OK :
reconnect -r
map -r
fs0:\efi\boot\bootx64.efi
Now I want to execute the script automatically upon the thumb boot. I tried to modify Clover config.plist, but googled that map -r command can't be used in it. I then created startup.nsh file with the above commands and saved it in EFI\Boot or _EFI_ folder, but Clover ignores it at startup, and stops when trying to run the file in shell from Clover UI.
How I can modify the startup.nsh so Clover can autorun it successfully upon boot? Changing letters to Capital in path doesn't help. Should I load shell with it first? Is there any guide or discussion about that file content and usage? Why nothing mentioned about that file in Clover Manual?
startup.nsh
reconnect -r
map -r
fs0:\efi\boot\bootx64.efi