Can't access grub menu only the grub CLI

i’m installing manjaro over windows 10 but i can’t access the grub menu i only get a CLI of grub
i managed to get it work and start my manjaro with this command

grub> configfile(hdx,y)/boot/grub/grub.cfg

while “x” represents (2) and “y” represents (gpt6) in my case

i get this error thou but it boots up “Error: grub/grubenv not found”

after i boot i run the update-grub command

but when i restart i get the thing i cant find the GUI grub again and i have to do the configfile command again

[gray@grayPc ~]$ sudo fdisk -l
[sudo] password for gray:
Disk /dev/nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: KBG40ZNS256G NVMe KIOXIA 256GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: ACF42D46-2F57-409E-9B22-AA7856AD65BD

Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 266691103 266689056 127.2G Microsoft basic data
/dev/nvme0n1p2 266692608 268148735 1456128 711M Windows recovery environment
/dev/nvme0n1p3 268148736 268353535 204800 100M EFI System
/dev/nvme0n1p4 268353536 467591167 199237632 95G Linux filesystem
/dev/nvme0n1p5 467591168 468615167 1024000 500M Microsoft basic data
/dev/nvme0n1p6 468615168 500118158 31502991 15G Linux swap

Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10SPZX-75Z
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xcd615b1c

Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 1953523711 1953521664 931.5G 7 HPFS/NTFS/exFAT
[gray@grayPc ~]$ sudo update-grub
Generating grub configuration file …
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
It’s output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p3@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings …
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.

GRUB doesn’t have a GUI. Do you mean the menu?

When pasting terminal output, highlight it and use the Preformatted text </> button, not the Quote " button.

Alternatively, add three backticks ` above and below the text:


Please edit your post accordingly.