I have the error "/usr/bin/grub-probe: warning: unknown device type nvme0n1" if i update

Hello,

If i update my system i have the error “/usr/bin/grub-probe: warning: unknown device type nvme0n1”, and 2 garuda entry are shown in the boot menu, i have only 1 SSD and no dual boot, only Garuda is installed and never had this problem before.

Is there a way to fix this? it’s annoying to see 2 boot option when i have only 1 installed so i rolled back to previous snapshot but i can’t update my system anymore if i don’t want this error.

garuda-inxi
System:
Kernel: 6.6.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=03cf0922-86bd-45b4-984f-4e0416a0ef5d rw rootflags=subvol=@
quiet loglevel=3 nvidia-drm.modeset=1 ibt=off
Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.11 wm: kwin_wayland vt: 1
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A15 FA507NV_FA507NV
v: 1.0 serial: <superuser required>
Mobo: ASUSTeK model: FA507NV v: 1.0 serial: <superuser required>
UEFI: American Megatrends LLC. v: FA507NV.312 date: 08/11/2023
Battery:
ID-1: BAT1 charge: 64.4 Wh (76.7%) condition: 84.0/90.2 Wh (93.1%)
volts: 15.8 min: 15.9 model: ASUS A32-K55 type: Li-ion serial: N/A
status: discharging
CPU:
Info: model: AMD Ryzen 7 7735HS with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3+ gen: 4 level: v3 note: check built: 2022 process: TSMC n6 (7nm)
family: 0x19 (25) model-id: 0x44 (68) stepping: 1 microcode: 0xA404102
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 636 high: 3192 min/max: 400/4829 scaling:
driver: amd-pstate-epp governor: powersave cores: 1: 400 2: 400 3: 400
4: 400 5: 400 6: 400 7: 400 8: 3192 9: 400 10: 400 11: 400 12: 400
13: 1397 14: 400 15: 400 16: 400 bogomips: 102200
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile] vendor: ASUSTeK
driver: nvidia v: 545.29.06 alternate: nouveau,nvidia_drm non-free: 545.xx+
status: current (as of 2023-10) arch: Lovelace code: AD1xx
process: TSMC n4 (5nm) built: 2022+ pcie: gen: 3 speed: 8 GT/s lanes: 8
link-max: gen: 4 speed: 16 GT/s ports: active: none
empty: DP-1,HDMI-A-1,eDP-1 bus-ID: 01:00.0 chip-ID: 10de:28e0
class-ID: 0300
Device-2: AMD Rembrandt [Radeon 680M] vendor: ASUSTeK driver: amdgpu
v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22
pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: eDP-2 empty: DP-2,
DP-3, DP-4, DP-5, DP-6, DP-7, DP-8, DP-9 bus-ID: 35:00.0
chip-ID: 1002:1681 class-ID: 0300 temp: 41.0 C
Device-3: Sonix USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-4:2 chip-ID: 2b7e:b685
class-ID: 0e02
Display: wayland server: X.org v: 1.21.1.9 with: Xwayland v: 23.2.2
compositor: kwin_wayland driver: X: loaded: amdgpu,nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa dri: radeonsi
gpu: nvidia,amdgpu display-ID: 0
Monitor-1: eDP-2 res: 1920x1080 size: N/A modes: N/A
API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
drv: nvidia device: 1 drv: radeonsi device: 3 drv: swrast gbm: drv: nvidia
surfaceless: drv: nvidia wayland: drv: radeonsi x11: drv: radeonsi
inactive: device-2
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 23.2.1-arch1.2
glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (rembrandt LLVM
16.0.6 DRM 3.54 6.6.4-zen1-1-zen) device-ID: 1002:1681 memory: 500 MiB
unified: no display-ID: :1.0
API: Vulkan v: 1.3.269 layers: 10 device: 0 type: integrated-gpu name: AMD
Radeon Graphics (RADV REMBRANDT) driver: mesa radv v: 23.2.1-arch1.2
device-ID: 1002:1681 surfaces: xcb,xlib,wayland device: 1
type: discrete-gpu name: NVIDIA GeForce RTX 4060 Laptop GPU driver: nvidia
v: 545.29.06 device-ID: 10de:28e0 surfaces: xcb,xlib,wayland device: 2
type: cpu name: llvmpipe (LLVM 16.0.6 256 bits) driver: mesa llvmpipe
v: 23.2.1-arch1.2 (LLVM 16.0.6) device-ID: 10005:0000
surfaces: xcb,xlib,wayland
Audio:
Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
gen: 3 speed: 8 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s
bus-ID: 01:00.1 chip-ID: 10de:22be class-ID: 0403
Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 35:00.1
chip-ID: 1002:1640 class-ID: 0403
Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK
driver: snd_pci_acp6x v: kernel alternate: snd_pci_acp3x, snd_rn_pci_acp3x,
snd_pci_acp5x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh pcie:
gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 35:00.5 chip-ID: 1022:15e2
class-ID: 0480
Device-4: AMD Family 17h/19h HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 35:00.6 chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.6.4-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eno1 state: down mac: <filter>
Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
vendor: AzureWave driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
lanes: 1 bus-ID: 03:00.0 chip-ID: 14c3:7961 class-ID: 0280
IF: wlp3s0 state: up mac: <filter>
Bluetooth:
Device-1: IMC Networks Wireless_Device driver: btusb v: 0.8 type: USB
rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-3:2 chip-ID: 13d3:3563
class-ID: e001 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11
status: discoverable: no pairing: no
Drives:
Local Storage: total: 476.94 GiB used: 20.09 GiB (4.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: 2400 MTFDKBA512QFM
size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: V3MA003 temp: 30.9 C
scheme: GPT
Partition:
ID-1: / raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 20.09 GiB (4.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 20.09 GiB (4.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 20.09 GiB (4.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 20.09 GiB (4.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 14.87 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 54.0 C mobo: 30.0 C gpu: amdgpu temp: 42.0 C
Fan Speeds (rpm): cpu: 0
Info:
Processes: 347 Uptime: 13m wakeups: 0 Memory: total: 16 GiB note: est.
available: 14.87 GiB used: 2.84 GiB (19.1%) Init: systemd v: 255
default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
pm: pacman pkgs: 1314 libs: 393 tools: octopi,paru Shell: fish v: 3.6.2
running-in: konsole inxi: 3.3.31
Garuda (2.6.19-2):
System install date:     2023-11-25
Last full system update: 2023-12-09
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       Probably (Run as root to verify)
Failed units:
1 Like

No dual boot? Just disable the prober and call it a day.
micro /etc/default/grub, see towards the end there is something about
GRUB_DISABLE_OS_PROBER.
Make sure it reads GRUB_DISABLE_OS_PROBER=true with no # before it, save, grubup (or maybe sudo grubup, I don’t remember).

2 Likes

It’s not the os prober that give this error but the memtest, it’s like it detect a second garuda install while i only have 1, is it possible that it’s because i have restore a snapshot and the system detect it as a second OS?

edit:

I solved the problem by moving /etc/grub.d/60_memtest86+ to another folder and it show no error when i update and only my Garuda install when i boot but i don’t knwo if it’s safe, i saw that the memtest86+ is for legacy bios and i have UEFI

3 Likes

Happy to hear you solved it.

I’m surprised, I had the same double Garuda entry in GRUB and it was the prober, so I though it had to be the same thing.

3 Likes

That’s right, memtest86+ produces this output. From what I remember, that’s just how it is; adding the resource to /etc/grub.d causes Grub to make that announcement every time the configuration file is regenerated.

It’s perfectly safe to have it or not have it. You don’t need it, but it doesn’t hurt anything to have it. Moving it or deleting it is fine if you don’t want it.

memtest86+ (with the +) supports UEFI: https://memtest.org/

6 Likes

Ok Thank you, if it’s safe to remove then i will let it out of grub.d

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