I hope this is the right place to ask this, this is my first post to the forum. I believe the root of the problem is that my grub and/or rEFInd are not updating their boot entries properly.
Problem: pamac
and pacman
both install kernel 5.13, but after reboot the system loads kernel 5.10 and does not show 5.13 as a choice.
Hereās the steps that lead to this problem:
- Started with Windows 10 on a 1 TB nvme0 drive.
- Installed Manjaro on 400 GB ext4 partition on that nvme0.
- Installed rEFInd to manage dual boot.
- Added second 1 TB nvme1 as btrfs, Manjaro added /boot/efi to nvme1.
The system boots to any of the 3 OSās. On startup, rEFInd comes up with 4 entries, Win10, EFI\Manjaro\grubx64.efi, Boot fallback loader from EFI and Manjaro from ext4 volume. Option 1 loads Windows, Option 4 loads my old Manjaro install and option 3 loads a Grub Rescue prompt, but option 2 loads a Grub menu with 5 more options:
- Manjaro Linux
- Advanced options for Manjaro Linux
- Windows Boot Manager
- Manjaro Linux on nvme1
- Advanced options for Manjaro on nvme1
Option 1 and 2 boot my old install with kernel 5.11
Option 4 and 5 boot the new install with kernel 5.10
/boot from nvme1 shows kernel 5.10 and 5.13
/boot from nvme0 shows kernel 5.11
Iāve been using the second rEFInd entry and 4th grub entry and everything runs fine, but Iāve been getting notices to update my kernel.
So the question is, how do I get my new Manjaro to boot with 5.13 and untangle rEFInd and grub? I donāt need to keep the old Manjaro install, but I would like to keep Windows around just in case. I like how rEFInd recovers after Windows removes dual boot, so I would like to keep rEFInd around.
The output to inxi --admin --verbosity=7 --filter --no-host --width
is:
System:
Kernel: 5.3.18-59.19-default x86_64 bits: 64 compiler: gcc v: 7.5.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.3.18-59.19-default
root=UUID=8bef70f0-1ae6-4423-9936-4d9ce8bd75f4 splash=silent
resume=/dev/disk/by-uuid/a343a3de-0210-4fae-9e8e-68f35e824558
mitigations=auto quiet
Console: tty 1 dm: SDDM Distro: openSUSE Leap 15.3
Machine:
Type: Desktop Mobo: ASUSTeK model: ROG STRIX X470-F GAMING v: Rev X.0x
serial: <filter> UEFI: American Megatrends v: 5861 date: 08/10/2021
Memory:
RAM: total: 31.26 GiB used: 1.99 GiB (6.4%)
Array-1: capacity: 128 GiB slots: 4 EC: None max module size: 32 GiB
note: est.
Device-1: DIMM_A1 size: 8 GiB speed: 3000 MT/s type: DDR4
detail: synchronous unbuffered (unregistered) bus width: 64 bits
total: 64 bits manufacturer: Corsair part-no: CMK16GX4M2B3000C15 serial: N/A
Device-2: DIMM_A2 size: 8 GiB speed: 3000 MT/s type: DDR4
detail: synchronous unbuffered (unregistered) bus width: 64 bits
total: 64 bits manufacturer: Corsair part-no: CMK16GX4M2B3000C15 serial: N/A
Device-3: DIMM_B1 size: 8 GiB speed: 3000 MT/s type: DDR4
detail: synchronous unbuffered (unregistered) bus width: 64 bits
total: 64 bits manufacturer: Corsair part-no: CMK16GX4M2B3000C15 serial: N/A
Device-4: DIMM_B2 size: 8 GiB speed: 3000 MT/s type: DDR4
detail: synchronous unbuffered (unregistered) bus width: 64 bits
total: 64 bits manufacturer: Corsair part-no: CMK16GX4M2B3000C15 serial: N/A
CPU:
Topology: 8-Core model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+
family: 17 (23) model-id: 8 stepping: 2 microcode: 800820D L1 cache: 768 KiB
L2 cache: 4096 KiB L3 cache: 16.0 MiB bogomips: 118403
Speed: 2120 MHz min/max: 2200/3700 MHz boost: enabled Core speeds (MHz):
1: 2196 2: 2219 3: 2196 4: 2199 5: 2111 6: 2108 7: 4136 8: 2109 9: 2200
10: 2198 11: 2101 12: 2108 13: 4199 14: 2109 15: 2197 16: 2258
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid
cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid
fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf lahf_lm lbrv lm mca
mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl
npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq pdpe1gb
perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36
rdrand rdseed rdtscp rep_good sep sev sev_es sha_ni skinit smap smca sme
smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock syscall tce
topoext tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme vmmcall wdt
xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
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 and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP:
disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP104 [GeForce GTX 1080] vendor: ASUSTeK driver: nouveau
v: kernel bus ID: 09:00.0 chip ID: 10de:1b80
Display: server: X.org 1.20.3 compositor: kwin_x11 driver: nouveau
unloaded: fbdev,modesetting,vesa alternate: nv,nvidia tty: 88x29
Message: Advanced graphics data unavailable in console for root.
Audio:
Device-1: NVIDIA GP104 High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus ID: 09:00.1 chip ID: 10de:10f0
Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel bus ID: 0b:00.3 chip ID: 1022:1457
Device-3: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
bus ID: 5-1:2 chip ID: 046d:0825 serial: <filter>
Device-4: Creative Sound BlasterX G6 type: USB
driver: hid-generic,snd-usb-audio,usbhid bus ID: 5-2:6 chip ID: 041e:3256
serial: <filter>
Device-5: Kingston HyperX QuadCast type: USB
driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-3:2 chip ID: 0951:16df
serial: <filter>
Sound Server: ALSA v: k5.3.18-59.19-default
Network:
Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: 5.6.0-k
port: e000 bus ID: 07:00.0 chip ID: 8086:1539
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Drives:
Local Storage: total: 3.01 TiB used: 827.07 GiB (26.9%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 1TB size: 931.51 GiB
block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4
serial: <filter> rev: 2B2QEXE7 temp: 35 C scheme: GPT
SMART: yes health: PASSED on: 107d 8h cycles: 214
read-units: 18,159,700 [9.29 TB] written-units: 22,010,771 [11.2 TB]
ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 970 EVO 1TB size: 931.51 GiB
block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4
serial: <filter> rev: 2B2QEXE7 temp: 32 C scheme: GPT
SMART: yes health: PASSED on: 30d 20h cycles: 214
read-units: 19,380,318 [9.92 TB] written-units: 28,220,289 [14.4 TB]
ID-3: /dev/sda vendor: Western Digital model: WD20PURZ-85GU6Y0
size: 1.82 TiB block size: physical: 4096 B logical: 512 B sata: 3.0
speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: 0A80 temp: 26 C
scheme: MBR
SMART: yes state: enabled health: PASSED on: 1y 54d 6h cycles: 762
ID-4: /dev/sdb type: USB vendor: Samsung model: Flash Drive FIT
size: 59.75 GiB block size: physical: 512 B logical: 512 B serial: <filter>
rev: 1100 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
ID-5: /dev/sdc vendor: Kingston model: SV300S37A240G family: Driven SSDs
size: 223.57 GiB block size: physical: 512 B logical: 512 B sata: 3.0
speed: 6.0 Gb/s serial: <filter> rev: BBF0 temp: 26 C scheme: MBR
SMART: yes state: enabled health: PASSED on: 5y 333d 7h cycles: 624
read: 12916 GiB written: 13116 GiB
Message: No Optical or Floppy data was found.
RAID:
Message: No RAID data was found.
Partition:
ID-1: / raw size: 419.04 GiB size: 419.04 GiB (100.00%)
used: 5.53 GiB (1.3%) fs: btrfs block size: 4096 B dev: /dev/nvme0n1p6
label: N/A uuid: 8bef70f0-1ae6-4423-9936-4d9ce8bd75f4
ID-2: /.snapshots raw size: 419.04 GiB size: 419.04 GiB (100.00%)
used: 5.53 GiB (1.3%) fs: btrfs block size: 4096 B dev: /dev/nvme0n1p6
label: N/A uuid: 8bef70f0-1ae6-4423-9936-4d9ce8bd75f4
ID-3: /boot/efi raw size: 100.0 MiB size: 96.0 MiB (96.00%)
used: 41.6 MiB (43.3%) fs: vfat block size: 512 B dev: /dev/nvme0n1p2
label: N/A uuid: BAA4-DBF7
ID-4: /boot/grub2/i386-pc raw size: 419.04 GiB size: 419.04 GiB (100.00%)
used: 5.53 GiB (1.3%) fs: btrfs block size: 4096 B dev: /dev/nvme0n1p6
label: N/A uuid: 8bef70f0-1ae6-4423-9936-4d9ce8bd75f4
ID-5: /boot/grub2/x86_64-efi raw size: 419.04 GiB size: 419.04 GiB (100.00%)
used: 5.53 GiB (1.3%) fs: btrfs block size: 4096 B dev: /dev/nvme0n1p6
label: N/A uuid: 8bef70f0-1ae6-4423-9936-4d9ce8bd75f4
ID-6: /home raw size: 419.04 GiB size: 419.04 GiB (100.00%)
used: 5.53 GiB (1.3%) fs: btrfs block size: 4096 B dev: /dev/nvme0n1p6
label: N/A uuid: 8bef70f0-1ae6-4423-9936-4d9ce8bd75f4
ID-7: /opt raw size: 419.04 GiB size: 419.04 GiB (100.00%)
used: 5.53 GiB (1.3%) fs: btrfs block size: 4096 B dev: /dev/nvme0n1p6
label: N/A uuid: 8bef70f0-1ae6-4423-9936-4d9ce8bd75f4
ID-8: /root raw size: 419.04 GiB size: 419.04 GiB (100.00%)
used: 5.53 GiB (1.3%) fs: btrfs block size: 4096 B dev: /dev/nvme0n1p6
label: N/A uuid: 8bef70f0-1ae6-4423-9936-4d9ce8bd75f4
ID-9: /run/media/rtr/0a3ac3d6-bfa8-42c5-ae7e-205a1a8c1849
raw size: 891.96 GiB size: 891.96 GiB (100.00%) used: 325.36 GiB (36.5%)
fs: btrfs block size: 4096 B dev: /dev/nvme1n1p3 label: N/A
uuid: 0a3ac3d6-bfa8-42c5-ae7e-205a1a8c1849
ID-10: /run/media/rtr/C_Win raw size: 511.45 GiB size: 511.45 GiB (100.00%)
used: 268.60 GiB (52.5%) fs: ntfs block size: 4096 B dev: /dev/nvme0n1p4
label: C_Win uuid: 2CA4A7DDA4A7A7B2
ID-11: /run/media/rtr/NO_LABEL raw size: 400.0 MiB size: 399.2 MiB (99.80%)
used: 568 KiB (0.1%) fs: vfat block size: 512 B dev: /dev/nvme0n1p5
label: NO_LABEL uuid: 0D89-C112
ID-12: /run/media/rtr/b57cfbd6-8385-480f-9800-c164cac69c9b
raw size: 781.25 GiB size: 767.92 GiB (98.29%) used: 127.93 GiB (16.7%)
fs: ext4 block size: 4096 B dev: /dev/sda2 label: N/A
uuid: b57cfbd6-8385-480f-9800-c164cac69c9b
ID-13: /run/media/rtr/ea787231-6c71-48b2-a0c5-0106614a479c
raw size: 223.57 GiB size: 223.57 GiB (100.00%) used: 99.61 GiB (44.6%)
fs: btrfs block size: 4096 B dev: /dev/sdc1 label: N/A
uuid: ea787231-6c71-48b2-a0c5-0106614a479c
ID-14: /srv raw size: 419.04 GiB size: 419.04 GiB (100.00%)
used: 5.53 GiB (1.3%) fs: btrfs block size: 4096 B dev: /dev/nvme0n1p6
label: N/A uuid: 8bef70f0-1ae6-4423-9936-4d9ce8bd75f4
ID-15: /tmp raw size: 419.04 GiB size: 419.04 GiB (100.00%)
used: 5.53 GiB (1.3%) fs: btrfs block size: 4096 B dev: /dev/nvme0n1p6
label: N/A uuid: 8bef70f0-1ae6-4423-9936-4d9ce8bd75f4
ID-16: /usr/local raw size: 419.04 GiB size: 419.04 GiB (100.00%)
used: 5.53 GiB (1.3%) fs: btrfs block size: 4096 B dev: /dev/nvme0n1p6
label: N/A uuid: 8bef70f0-1ae6-4423-9936-4d9ce8bd75f4
ID-17: /var raw size: 419.04 GiB size: 419.04 GiB (100.00%)
used: 5.53 GiB (1.3%) fs: btrfs block size: 4096 B dev: /dev/nvme0n1p6
label: N/A uuid: 8bef70f0-1ae6-4423-9936-4d9ce8bd75f4
Swap:
Kernel: swappiness: 60 (default) cache pressure: 100 (default)
ID-1: swap-1 type: partition size: 39.06 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme1n1p1 label: N/A uuid: a343a3de-0210-4fae-9e8e-68f35e824558
Unmounted:
ID-1: /dev/nvme0n1p1 size: 529.0 MiB fs: ntfs label: Recovery
uuid: 0CD2A280D2A26DA0
ID-2: /dev/nvme0n1p3 size: 16.0 MiB fs: N/A label: N/A uuid: N/A
ID-3: /dev/nvme1n1p2 size: 500.0 MiB fs: vfat label: M2_2 uuid: 42F8-D26E
ID-4: /dev/sda1 size: 1.06 TiB fs: exfat label: N/A uuid: 9973-5D63
ID-5: /dev/sdb1 size: 59.72 GiB fs: exfat label: Ventoy uuid: FDA7-58AA
ID-6: /dev/sdb2 size: 32.0 MiB fs: vfat label: VTOYEFI uuid: 89CA-465B
USB:
Hub: 1-0:1 info: Full speed (or root) Hub ports: 14 rev: 2.0 speed: 480 Mb/s
chip ID: 1d6b:0002
Device-1: 1-3:2 info: Kingston HyperX QuadCast type: Audio,HID
driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 1.1
speed: 12 Mb/s chip ID: 0951:16df serial: <filter>
Device-2: 1-5:3 info: Corsair CORSAIR SCIMITAR RGB ELITE Gaming Mouse
type: Mouse,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0
speed: 12 Mb/s chip ID: 1b1c:1b8b serial: <filter>
Device-3: 1-9:4 info: ASUSTek AURA LED Controller type: HID
driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s
chip ID: 0b05:1872 serial: <filter>
Hub: 2-0:1 info: Full speed (or root) Hub ports: 8 rev: 3.1 speed: 10 Gb/s
chip ID: 1d6b:0003
Device-4: 2-4:2 info: Silicon Motion - Taiwan (formerly Feiya ) Flash Drive
type: Mass Storage driver: usb-storage interfaces: 1 rev: 3.1 speed: 5 Gb/s
chip ID: 090c:1000 serial: <filter>
Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 speed: 480 Mb/s
chip ID: 1d6b:0002
Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip ID: 1d6b:0003
Hub: 5-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 speed: 480 Mb/s
chip ID: 1d6b:0002
Device-5: 5-1:2 info: Logitech Webcam C270 type: Video,Audio
driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s
chip ID: 046d:0825 serial: <filter>
Device-6: 5-2:6 info: Creative Sound BlasterX G6 type: Audio,HID
driver: hid-generic,snd-usb-audio,usbhid interfaces: 5 rev: 1.1
speed: 12 Mb/s chip ID: 041e:3256 serial: <filter>
Device-7: 5-3:4
info: Corsair CORSAIR K95 RGB PLATINUM XT Mechanical Gaming Keyboard
type: Keyboard,HID,Mouse driver: hid-generic,usbhid interfaces: 4 rev: 2.0
speed: 12 Mb/s chip ID: 1b1c:1b89 serial: <filter>
Device-8: 5-4:5 info: Broadcom BCM20702A0 Bluetooth 4.0
type: <vendor specific> driver: btusb interfaces: 4 rev: 2.0 speed: 12 Mb/s
chip ID: 0a5c:21e8 serial: <filter>
Hub: 6-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 speed: 5 Gb/s
chip ID: 1d6b:0003
Sensors:
System Temperatures: cpu: 48.2 C mobo: N/A gpu: nouveau temp: 40 C
Fan Speeds (RPM): cpu: 0 gpu: nouveau fan: 904
Info:
Processes: 367 Uptime: N/A Init: systemd v: 246 runlevel: 5
target: graphical.target Compilers: gcc: N/A Shell: bash (sudo) v: 4.4.23
running in: tty 1 inxi: 3.1.00
the output to parted --list
is:
Model: ATA WDC WD20PURZ-85G (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 1162GB 1162GB primary type=07
2 1162GB 2000GB 839GB primary ext4 type=83
Model: Samsung Flash Drive FIT (scsi)
Disk /dev/sdb: 64.2GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 64.1GB 64.1GB primary boot, type=07
2 64.1GB 64.2GB 33.6MB primary fat16 esp, type=ef
Model: ATA KINGSTON SV300S3 (scsi)
Disk /dev/sdc: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 240GB 240GB primary btrfs type=83
Model: NVMe Device (nvme)
Disk /dev/nvme0n1: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 556MB 555MB ntfs Basic data partition hidden, diag
2 556MB 661MB 105MB fat32 EFI system partition boot, esp
3 661MB 677MB 16.8MB Microsoft reserved partition msftres
4 677MB 550GB 549GB ntfs Basic data partition msftdata
5 550GB 550GB 419MB fat32 legacy_boot, msftdata
6 550GB 1000GB 450GB btrfs
Model: NVMe Device (nvme)
Disk /dev/nvme1n1: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 17.4kB 41.9GB 41.9GB linux-swap(v1) swap
2 41.9GB 42.5GB 524MB fat32 boot, legacy_boot, esp
3 42.5GB 1000GB 958GB btrfs
The output to lsblk
is:
AME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.8T 0 disk
āāsda1 8:1 0 1.1T 0 part
āāsda2 8:2 0 781.3G 0 part /run/media/rtr/b57cfbd6-8385-480f-9800-c164cac69c9
sdb 8:16 1 59.8G 0 disk
āāsdb1 8:17 1 59.7G 0 part
āāsdb2 8:18 1 32M 0 part
sdc 8:32 0 223.6G 0 disk
āāsdc1 8:33 0 223.6G 0 part /run/media/rtr/ea787231-6c71-48b2-a0c5-0106614a479
nvme0n1 259:0 0 931.5G 0 disk
āānvme0n1p1 259:2 0 529M 0 part
āānvme0n1p2 259:3 0 100M 0 part /boot/efi
āānvme0n1p3 259:4 0 16M 0 part
āānvme0n1p4 259:5 0 511.5G 0 part /run/media/rtr/C_Win
āānvme0n1p5 259:6 0 400M 0 part /run/media/rtr/NO_LABEL
āānvme0n1p6 259:7 0 419G 0 part /
nvme1n1 259:1 0 931.5G 0 disk
āānvme1n1p1 259:8 0 39.1G 0 part [SWAP]
āānvme1n1p2 259:9 0 500M 0 part
āānvme1n1p3 259:10 0 892G 0 part /run/media/rtr/0a3ac3d6-bfa8-42c5-ae7e-205a1a8c184