Hello!
It seems like you have encountered some issues with dual-booting Windows 11 and Fedora on your Dell laptop. Let's go through the possible solutions to get your system working as expected.
1. Delete EFI partition on HDD: If you no longer need the EFI partition on your HDD (which was previously used for Windows boot manager), you can safely delete it. However, before doing so, make sure you have a backup of any important files on the HDD, as deleting the partition will remove all data. To delete the partition, you can use a disk management tool like Disk Management in Windows or GParted in Linux.
2. Change bootloader code on the Windows boot manager option in GRUB: If you want to modify the bootloader code in GRUB to ensure that Windows boots from the NVMe SSD, you can make changes in the GRUB configuration file. The configuration file is typically located at /boot/grub/grub.cfg in Linux. Look for the Windows boot manager entry and modify the code accordingly. You may want to change the device name to point to the NVMe SSD rather than the HDD.
3. Delete Fedora and restore Windows boot manager: If you no longer need Fedora and want to restore the Windows boot manager as the default option, you can delete the Fedora partitions and then repair the boot loader using a Windows recovery or installation media. This will recreate the Windows boot manager entry in the EFI partition on the NVMe SSD.
4. Tinker with the EFI partition on the SSD: If you suspect there might be an issue with the EFI partition on the SSD, you can try modifying it. However, this could potentially cause more problems if not done correctly. It is generally recommended to avoid tinkering with EFI partitions unless you have good knowledge of the process and have a backup of your important data.
Before proceeding with any of the above options, it's essential to back up your important data and ensure you have a recovery or installation media for both Windows and Fedora. This will help you recover in case anything goes wrong during the process.
It's also worth mentioning that using third-party partitioning tools, such as AOMEI Disk Partitioner, can sometimes cause unexpected issues. It's always recommended to use built-in partitioning tools or trusted third-party software.
I hope this information helps you resolve the issue and get your dual-boot setup working smoothly. Good luck!