This patch enables AHCI and NVMe support for Grub4DOS 0.4.5c and can speed up transfer rates if an image file is mapped to RAM and may be loaded from an SSD or NVMe M2 SSD.
https://sourceforge.net/projects/grub...
I added --heads=0 --sectors-per-track=0 with which I was able to boot from GPT images also.
I booted from USB and I removed it when in grub4dos.
entering find in the command prompt only gave me (0,0) so where is the drive.
it can still find the VHD image but from where.
title Win10 - RAMDISK NVMe
nvme --set-drive=0x80 --set-controller=0 --showselected
find --set-root --ignore-floppies /test2.vhd
map --mem --heads=0 --sectors-per-track=0 /test2.vhd (hd0)
map --hook
nvme --uninit
root (hd0,0)
chainloader /bootmgr