So I just built a new PC and I’m trying to set up a dual boot system like I’ve been doing for years. However, this is my first time using NVME drives. I got Windows installed on one and Linux on the other, but the issue I’m having is when I try to update GRUB, it can’t find Windows on the other drive. It just says “/usr/bin/grub-probe: warning: unknown device type nvme01.” This isn’t my first rodeo with Linux, been using it for a couple years now, but I’ve never ran into this problem. What does it mean and how do I get GRUB to recognize both drives?
What is the output of sudo update-grub
?
NVME drives don’t change anything.
PS: wrong title also
PS2: reply quickly if you want it fixed/figured now I’m closing forum in not long.
PS3: OK too late:
Make sure os-prober is enabled in your GRUB config file /etc/default/grub
# Uncomment this option to enable os-prober execution in the grub-mkconfig command
GRUB_DISABLE_OS_PROBER=false
Make sure both Windows and Manjaro are installed in UEFI mode (no mix with EFI and MBR both systems MUST be installed same way)
Have fun.
Sorry, fell asleep last night. Both OS’s are install in EFI I’m pretty sure. I know Manjaro is and I’m assuming Windows is as well, there was no option in the install to switch anyway. I’ll write back later with the “update-grub” output. Going to work now…
This is just a warning you can ignore. If you boot in UEFI mode and want to get rid of it remove or remame /etc/grub.d/60_memtest86+
If Windoze is not found by os-prober you need to change /etc/default/grub
as described by @omano and then run
sudo update-grub
afterwards and finally reboot.
Os-prober is active, at least it appears to be. Like I said, I will post the entire update-grub output later today when I get home from work. In the meantime, thank you for your help, I really do appreciate it.
Also, please check if Fastboot is disabled on Windoze.
Ok, here’s the output for “update-grub”
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.12-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.12-x86_64.img
Found initrd fallback image: /boot/initramfs-5.12-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/amd-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.
Its output will be used to detect bootable binaries on them and create new boot entries.
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
OK so Manjaro can’t detect your Windows (but OS Prober is properly enabled so in theory if everything is OK it should), because there is a mismatch EFI/MBR or because of something else, like maybe the fastboot setting in Windows, or some other oddity.
//EDIT: output of sudo fdisk -l
?
Also check if you properly disabled fastboot in Windows. Check this thread for reference [root tip] Dual boot Manjaro and Windows
Ok, disabled fast boot in Windows, still getting the same grub update. Here’s the output for fdisk -l. Windows is on WDS100T3X0C-00SJG0…
sudo fdisk -l
Disk /dev/nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk model: Sabrent
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: E5697533-9E26-A947-93DD-9B79A34D73C1
Device Start End Sectors Size Type
/dev/nvme0n1p1 4096 618495 614400 300M EFI System
/dev/nvme0n1p2 618496 1981942795 1981324300 944.8G Linux filesystem
/dev/nvme0n1p3 1981942796 2000397734 18454939 8.8G Linux swap
Disk /dev/nvme1n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDS100T3X0C-00SJG0
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: dos
Disk identifier: 0x04e46b8c
Device Boot Start End Sectors Size Id Type
/dev/nvme1n1p1 * 2048 104447 102400 50M 7 HPFS/NTFS/exFAT
/dev/nvme1n1p2 104448 1952496343 1952391896 931G 7 HPFS/NTFS/exFAT
/dev/nvme1n1p3 1952497664 1953519615 1021952 499M 27 Hidden NTFS WinRE
So clearly it’s detecting the drive, but what does “Hidden NTFS WinRE” mean?
mixed type with UEFI/MBR as expected. You’re good for a reinstall of one of them if you want to have boot menu for both.
Ok… Again, never ran into that before… So, if I was to reinstall Manjaro, how would I get it to match the Windows drive? I’m asking that because it’ll be a whole lot easier to reinstall Manjaro than Windows…
Make sure to NOT boot your Live USB in UEFI, open your boot menu from BIOS or a specific key shown in first seconds of boot) and boot from your non UEFI Live USB.
Ok, thanks! I’ll try that and report back later
I did what you suggested and… here’s the update-grub output…
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/amd-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.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sdd1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdd1. Check your device.map.
Found Windows 10 on /dev/nvme1n1p1
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
IT WORKED!! Thank you so very much @omano, you’re a life saver!
Next time, better don’t post unverified assumptions, it’s not difficult to find out how it was installed but this statement leads us up the garden path…,