Grub bootloader missing on nvme drive

Hello i have two different drives, one for manjaro and the other for windows.

i just reinstalled manjaro on my nvme drive( grub was on this drive before ) ,

when i start up the computer, the grub boot loader is missing and it just boot straight to manjaro linux,

how do i get it to show grub and my windows installation.

i ran sudo update-grub this is the result

➜ ~ sudo update-grub
[sudo] password for da-viper:
Generating grub configuration file …
Found theme: /usr/share/grub/themes/breeze/theme.txt
Found linux image: /boot/vmlinuz-5.8-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.8-x86_64.img
Found initrd fallback image: /boot/initramfs-5.8-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.4-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.4-x86_64.img
Found initrd fallback image: /boot/initramfs-5.4-x86_64-fallback.img
Adding boot menu entry for UEFI Firmware Settings …
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done

Make sure that the GRUB menu is visible, and that it leaves you with enough time to make an alternate selection. Look at your /etc/default/grub file. The first couple of lines should read as follows… :arrow_down:

GRUB_DEFAULT=saved
GRUB_TIMEOUT=10
GRUB_TIMEOUT_STYLE=menu

After editing and saving the file, run… :arrow_down:

sudo update-grub

hello this works but the windows installation does not show

Try this… :arrow_down:

sudo grub-install --recheck --no-rs-codes --modules="part_gpt part_msdos" --efi-directory="/boot/efi" --target="x86_64-efi"
sudo update-grub

i think the windows efi has been deleted after installing manjaro again because i checked the folder /boot/efi/EFI as root and there was no microsoft folder

but i have a backup i made before reinstalling manjaro and in the folder /boot/efi/EFI there is a folder called microsoft there…

here is both folder layouts

folder on my computer

boot 
----efi
 --------EFI
 -----------Boot
------------Manjaro 

folder on my backup drive

boot
----efi
--------EFI
------------Boot
------------Microsoft
------------Manjaro
--------System Volume Information 

should i copy the microsoft folder and system volume Information and update grub ?

Yes, that’s worth a try. :wink:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.