Duplicate Grub Entries

inxi

╰─λ garuda-inxi
System:
Kernel: 5.16.5-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=ba2fb729-b4b9-49f0-8223-47f0378d19c9 rw rootflags=subvol=@
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.23.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: ASUSTeK product: ROG Strix G513QM_G513QM v: 1.0
serial: <superuser required>
Mobo: ASUSTeK model: G513QM v: 1.0 serial: <superuser required>
UEFI: American Megatrends LLC. v: G513QM.314 date: 09/03/2021
Battery:
ID-1: BAT0 charge: 69.5 Wh (91.9%) condition: 75.6/90.0 Wh (84.0%)
volts: 16.0 min: 15.9 model: AS3GWAF3KC GA50358 type: Li-ion
serial: <filter> status: Discharging
CPU:
Info: model: AMD Ryzen 9 5900HX with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3 family: 0x19 (25) model-id: 0x50 (80) stepping: 0
microcode: 0xA50000B
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: 1640 high: 3646 min/max: 1200/4889 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 1546 2: 1561
3: 1844 4: 1397 5: 1395 6: 2151 7: 1428 8: 1396 9: 1456 10: 3646 11: 1395
12: 1458 13: 1396 14: 1396 15: 1395 16: 1395 bogomips: 105400
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional,
IBRS_FW, STIBP: always-on, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: ASUSTeK
driver: nvidia v: 510.47.03 alternate: nouveau,nvidia_drm bus-ID: 01:00.0
chip-ID: 10de:2520 class-ID: 0300
Device-2: AMD Cezanne vendor: ASUSTeK driver: amdgpu v: kernel
bus-ID: 06:00.0 chip-ID: 1002:1638 class-ID: 0300
Display: x11 server: X.Org 1.21.1.3 compositor: kwin_x11 driver:
loaded: modesetting,nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
s-diag: 582mm (22.9")
Monitor-1: eDP-1 res: 1920x1080 hz: 144 dpi: 142
size: 344x193mm (13.5x7.6") diag: 394mm (15.5")
OpenGL: renderer: AMD RENOIR (DRM 3.44.0 5.16.5-zen1-1-zen LLVM 13.0.0)
v: 4.6 Mesa 21.3.5 direct render: Yes
Audio:
Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel
bus-ID: 01:00.1 chip-ID: 10de:228e class-ID: 0403
Device-2: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus-ID: 06:00.1 chip-ID: 1002:1637
class-ID: 0403
Device-3: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
vendor: ASUSTeK driver: N/A
alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x
bus-ID: 06:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-4: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
Sound Server-1: ALSA v: k5.16.5-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.45 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK driver: r8169 v: kernel port: e000 bus-ID: 02:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: down mac: <filter>
Device-2: MEDIATEK vendor: AzureWave driver: mt7921e v: kernel port: N/A
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 type: USB driver: btusb v: 0.8
bus-ID: 3-4:3 chip-ID: 13d3:3563 class-ID: e001 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 1.4 TiB used: 343.02 GiB (24.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:2 vendor: SK Hynix model: HFM001TD3JX013N
size: 953.87 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 41000C20
temp: 39.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Intel model: SSDPEKKW512G8
size: 476.94 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 004C
temp: 41.9 C scheme: GPT
Partition:
ID-1: / raw-size: 476.94 GiB size: 476.94 GiB (100.00%)
used: 343 GiB (71.9%) fs: btrfs dev: /dev/nvme1n1p1 maj-min: 259:1
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
used: 25.5 MiB (26.6%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:3
ID-3: /home raw-size: 476.94 GiB size: 476.94 GiB (100.00%)
used: 343 GiB (71.9%) fs: btrfs dev: /dev/nvme1n1p1 maj-min: 259:1
ID-4: /var/log raw-size: 476.94 GiB size: 476.94 GiB (100.00%)
used: 343 GiB (71.9%) fs: btrfs dev: /dev/nvme1n1p1 maj-min: 259:1
ID-5: /var/tmp raw-size: 476.94 GiB size: 476.94 GiB (100.00%)
used: 343 GiB (71.9%) fs: btrfs dev: /dev/nvme1n1p1 maj-min: 259:1
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.12 GiB used: 2.2 MiB (0.0%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 56.0 C mobo: N/A gpu: amdgpu temp: 47.0 C
Fan Speeds (RPM): cpu: 0
Info:
Processes: 419 Uptime: 8m wakeups: 4 Memory: 15.12 GiB
used: 4.35 GiB (28.8%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1873 lib: 552 Shell: fish
v: 3.3.1 running-in: konsole inxi: 3.3.12
Garuda (2.5.4-2):
System install date:     2022-01-27
Last full system update: 2022-02-03
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:

Output from update-grub

╰─λ sudo update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda-dr460nized/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  amd-ucode.img initramfs-linux-zen-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.
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Found Garuda Linux on /dev/nvme1n1p1
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2022-02-09 16:03:00 | @/.snapshots/748/snapshot  | post   | linux-xanmod-rog                  |
Found snapshot: 2022-02-09 16:02:53 | @/.snapshots/747/snapshot  | pre    | pacman -Rsu linux-xanmod-rog      |
Found snapshot: 2022-02-09 16:00:01 | @/.snapshots/746/snapshot  | single | timeline                          |
Found snapshot: 2022-02-09 15:00:02 | @/.snapshots/745/snapshot  | single | timeline                          |
Found snapshot: 2022-02-09 06:00:03 | @/.snapshots/744/snapshot  | single | timeline                          |
Found snapshot: 2022-02-09 05:56:13 | @/.snapshots/743/snapshot  | single | timeline                          |
Found snapshot: 2022-02-09 02:00:12 | @/.snapshots/742/snapshot  | single | timeline                          |
Found snapshot: 2022-02-09 01:00:12 | @/.snapshots/741/snapshot  | single | timeline                          |
Found snapshot: 2022-02-09 00:00:05 | @/.snapshots/740/snapshot  | single | timeline                          |
Found snapshot: 2022-02-08 23:00:12 | @/.snapshots/739/snapshot  | single | timeline                          |
Found snapshot: 2022-02-08 22:00:12 | @/.snapshots/738/snapshot  | single | timeline                          |
Found snapshot: 2022-02-08 21:00:12 | @/.snapshots/737/snapshot  | single | timeline                          |
Found snapshot: 2022-02-08 20:00:04 | @/.snapshots/736/snapshot  | single | timeline                          |
Found snapshot: 2022-02-08 00:00:18 | @/.snapshots/719/snapshot  | single | timeline                          |
Found snapshot: 2022-02-07 09:00:03 | @/.snapshots/706/snapshot  | single | timeline                          |
Found snapshot: 2022-02-06 19:04:16 | @/.snapshots/705/snapshot  | post   | balena-etcher                     |
Found snapshot: 2022-02-06 19:04:14 | @/.snapshots/704/snapshot  | pre    | pacman --sync -- balena-etcher    |
Found snapshot: 2022-02-06 10:37:47 | @/.snapshots/694/snapshot  | single | timeline                          |
Found snapshot: 2022-02-05 14:00:15 | @/.snapshots/684/snapshot  | single | timeline                          |
Found snapshot: 2022-02-04 09:00:02 | @/.snapshots/672/snapshot  | single | timeline                          |
Found snapshot: 2022-02-03 14:25:19 | @/.snapshots/665/snapshot  | post   | acl alsa-card-profiles ark attr audit baloo-widgets bbswitch-dkms dolphi |
Found snapshot: 2022-02-03 14:23:13 | @/.snapshots/664/snapshot  | pre    | pacman -Su                        |
Found snapshot: 2022-02-03 14:12:50 | @/.snapshots/663/snapshot  | single | Manual Snapshot                   |
Found snapshot: 2022-02-03 00:00:06 | @/.snapshots/648/snapshot  | single | timeline                          |
Found snapshot: 2022-02-02 10:11:09 | @/.snapshots/634/snapshot  | post   | mullvad-vpn                       |
Found snapshot: 2022-02-02 10:11:07 | @/.snapshots/633/snapshot  | pre    | pacman --sync -- mullvad-vpn      |
Found snapshot: 2022-02-02 00:00:14 | @/.snapshots/622/snapshot  | single | timeline                          |
Found snapshot: 2022-02-01 16:10:52 | @/.snapshots/614/snapshot  | post   | bbswitch-dkms curl dxvk-mingw-git elfutils expat garuda-common-settings  |
Found snapshot: 2022-02-01 16:09:46 | @/.snapshots/613/snapshot  | pre    | pacman -Su                        |
Found snapshot: 2022-02-01 09:00:00 | @/.snapshots/610/snapshot  | single | timeline                          |
Found snapshot: 2022-01-31 11:20:35 | @/.snapshots/602/snapshot  | post   | garuda-hotfixes                   |
Found snapshot: 2022-01-31 11:20:34 | @/.snapshots/601/snapshot  | pre    | pacman -Udd --noconfirm --needed archlinux-keyring-20220125-1-any.pkg.ta |
Found snapshot: 2022-01-31 11:00:58 | @/.snapshots/600/snapshot  | single | timeline                          |
Found snapshot: 2022-01-29 00:06:57 | restore_backup_@_131746595 | N/A    | N/A                               |
Found snapshot: 2022-01-28 23:33:07 | @/.snapshots/568/snapshot  | single | Manual Snapshot                   |
Found snapshot: 2022-01-28 23:29:44 | restore_backup_@_000657046 | N/A    | N/A                               |
Found snapshot: 2022-01-28 23:21:22 | restore_backup_@_232938162 | N/A    | N/A                               |
Found snapshot: 2022-01-15 19:44:28 | restore_backup_@_232122884 | N/A    | N/A                               |
Found snapshot: 2022-01-10 10:00:19 | @/.snapshots/255/snapshot  | single | timeline                          |
Found snapshot: 2022-01-10 09:53:25 | @/.snapshots/254/snapshot  | single | Manual Snapshot                   |
Found snapshot: 2021-11-28 17:01:03 | @/.snapshots/143/snapshot  | single | Manual Snapshot                   |
Found 41 snapshot(s)
Unmount /tmp/grub-btrfs.FlCwjgyavi .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme1n1.
done

I had a second kernel installed a while back, but that was weeks before this started happening; but I removed it to eliminate that option. I don't have any grub-customizer installed looking at previous threads I also checked for files not owned by proper daemons/users

╰─λ bash -c 'pacman -Qo /etc/grub.d/*'
/etc/grub.d/00_header is owned by grub 2:2.06-4
/etc/grub.d/10_linux is owned by grub 2:2.06-4
/etc/grub.d/20_linux_xen is owned by grub 2:2.06-4
/etc/grub.d/30_os-prober is owned by grub 2:2.06-4
/etc/grub.d/30_uefi-firmware is owned by grub 2:2.06-4
/etc/grub.d/35_fwupd is owned by fwupd 1.7.4-1
/etc/grub.d/40_custom is owned by grub 2:2.06-4
/etc/grub.d/41_custom is owned by grub 2:2.06-4
/etc/grub.d/41_snapshots-btrfs is owned by grub-btrfs 4.11-1
/etc/grub.d/60_memtest86+ is owned by memtest86+ 5.31b-1
/etc/grub.d/61_custom_leave_options is owned by garuda-common-settings 2.5.4-2
/etc/grub.d/README is owned by grub 2:2.06-4

But this all looks correct to me. Would appreciate any input on how to get the duplicate entries removed.

See if this is helpful:

Disregard my comments there except perhaps the last one – I’m so vintage.

1 Like

You mean the one about blacklisting it to OSProbe? Just to confirm,

Yes, you can blacklist the partition from os-prober, or if you don't need to dual-boot disable os-prober altogether.

1 Like

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