Two days or so ago, grub started finding the non-existent partitions, where is none. Grub commands are also takes A LOT of time to complete (3+ mins or so). Today I couldn’t boot into my system at all, and had to go through the grub restore guide. Here’s output of grub-mkconfig -o /boot/grub/grub.cfg
from there:
[manjaro /]# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-linux-xanmod-linux-bin-x64v3
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-xanmod-linux-bin-x64v3.img
Found initrd fallback image: /boot/initramfs-linux-xanmod-linux-bin-x64v3-fallback.img
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.1-x86_64.img
Found initrd fallback image: /boot/initramfs-6.1-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-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/sda1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
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/sda1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
No snapshots found.
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Unmount /tmp/grub-btrfs.o5znpQkCze .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme1n1.
done
I’m not yet sure if I’ll be able to boot into my system this time, but I guess it’s related.
Nope, it doesn’t boots. It hangs up on a motherboard creator logo before the grub. I have no idea how to restore on this point, seems like timeshift also is not an option. Output from timeshift --restore:
[manjaro /]# timeshift --restore
Select backup device:
Num Device Size Type Label
------------------------------------------------------------------------------
Enter device name or number (a=Abort): a
Aborted.
I also must note, that I made a manual chroot, since manjaro-chroot -a
throw an error ==> ERROR: No Linux partitions detected!
Here’s an output from inxi
:
[manjaro manjaro]# inxi --admin --verbosity=7 --filter --no-host --width
System:
Kernel: 6.1.1-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
misobasedir=manjaro misolabel=MANJARO_KDE_220 quiet systemd.show_status=1
splash driver=free nouveau.modeset=1 i915.modeset=1 radeon.modeset=1
Desktop: KDE Plasma v: 5.26.4 tk: Qt v: 5.15.7 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: Acer product: Nitro AN515-45 v: V1.08 serial: <filter>
Mobo: CZ model: Scala_CAS v: V1.08 serial: <filter> UEFI: Insyde v: 1.08
date: 07/21/2021
Battery:
ID-1: BAT1 charge: 51.4 Wh (100.0%) condition: 51.4/57.5 Wh (89.4%)
volts: 16.8 min: 15.4 model: LGC AP18E8M type: Li-ion serial: <filter>
status: full
Memory:
RAM: total: 14.99 GiB used: 3.47 GiB (23.1%)
Array-1: capacity: 64 GiB slots: 2 EC: None max-module-size: 32 GiB
note: est.
Device-1: DIMM 0 type: DDR4 detail: synchronous unbuffered (unregistered)
size: 8 GiB speed: 3200 MT/s volts: curr: 1.2 min: 1.2 max: 1.2 width (bits):
data: 64 total: 64 manufacturer: Micron Technology
part-no: 4ATF1G64HZ-3G2B2 serial: <filter>
Device-2: DIMM 0 type: DDR4 detail: synchronous unbuffered (unregistered)
size: 8 GiB speed: 3200 MT/s volts: curr: 1.2 min: 1.2 max: 1.2 width (bits):
data: 64 total: 64 manufacturer: Micron Technology
part-no: 4ATF1G64HZ-3G2B2 serial: <filter>
CPU:
Info: model: AMD Ryzen 5 5600H with Radeon Graphics socket: FP6 bits: 64
type: MT MCP arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
microcode: 0xA50000C
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 16 MiB
desc: 1x16 MiB
Speed (MHz): avg: 1375 high: 3300 min/max: 1200/4280 boost: enabled
base/boost: 3300/4250 scaling: driver: acpi-cpufreq governor: schedutil
volts: 1.2 V ext-clock: 100 MHz cores: 1: 1200 2: 1200 3: 1200 4: 1200
5: 1200 6: 1200 7: 1200 8: 1200 9: 1200 10: 1200 11: 1200 12: 3300
bogomips: 79080
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists erms extapic
extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt
pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor
svm svm_lock syscall tce topoext tsc tsc_scale umip v_spec_ctrl
v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd 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: mmio_stale_data status: Not affected
Type: retbleed 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: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q]
vendor: Acer Incorporated ALI driver: nouveau v: kernel non-free: 525.xx+
status: current (as of 2022-12) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-22 pcie: speed: Unknown lanes: 63
link-max: gen: 6 speed: 64 GT/s ports: active: none empty: HDMI-A-1
bus-ID: 01:00.0 chip-ID: 10de:2520 class-ID: 0300
Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
vendor: Acer Incorporated ALI driver: amdgpu v: kernel arch: GCN-5.1
code: Vega-2 process: TSMC n7 (7nm) built: 2018-21 pcie: gen: 3
speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
active: eDP-1 empty: none bus-ID: 06:00.0 chip-ID: 1002:1638 class-ID: 0300
temp: 31.0 C
Device-3: Quanta HD User Facing type: USB driver: uvcvideo bus-ID: 3-3:3
chip-ID: 0408:a061 class-ID: 0e02
Display: x11 server: X.Org v: 21.1.6 compositor: kwin_x11 driver: X:
loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa dri: radeonsi
gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 mapped: eDP model: ChiMei InnoLux 0x1521 built: 2020
res: 1920x1080 hz: 144 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6")
diag: 394mm (15.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
API: OpenGL v: 4.6 Mesa 22.3.1 renderer: AMD Radeon Graphics (renoir LLVM
14.0.6 DRM 3.49 6.1.1-1-MANJARO) direct render: Yes
Audio:
Device-1: NVIDIA GA106 High Definition Audio vendor: Acer Incorporated ALI
driver: snd_hda_intel v: kernel pcie: speed: Unknown lanes: 63 link-max:
gen: 6 speed: 64 GT/s bus-ID: 01:00.1 chip-ID: 10de:228e class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor
vendor: Acer Incorporated ALI driver: N/A alternate: snd_pci_acp3x,
snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci,
snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt
pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
bus-ID: 06:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Acer Incorporated ALI
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 06:00.6 chip-ID: 1022:15e3
class-ID: 0403
Sound API: ALSA v: k6.1.1-1-MANJARO running: yes
Sound Server-1: JACK v: 1.9.21 running: no
Sound Server-2: PulseAudio v: 16.1 running: yes
Sound Server-3: PipeWire v: 0.3.63 running: yes
Network:
Device-1: Realtek vendor: Acer Incorporated ALI driver: r8169 v: kernel pcie:
gen: 1 speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 04:00.0 chip-ID: 10ec:2600
class-ID: 0200
IF: enp4s0 state: down mac: <filter>
Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
vendor: Lite-On driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
bus-ID: 05:00.0 chip-ID: 14c3:7961 class-ID: 0280
IF: wlp5s0 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Device-1: Lite-On Wireless_Device type: USB driver: btusb v: 0.8
bus-ID: 1-4:3 chip-ID: 04ca:3802 class-ID: e001 serial: <filter>
Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 1.38 TiB used: 445.07 GiB (31.4%)
ID-1: /dev/nvme0n1 maj-min: 259:4 vendor: Kingston model: OM8PDP3512B-AA1
size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: EDFK0S03 temp: 33.9 C scheme: GPT
SMART: yes health: PASSED on: 142d 5h cycles: 1,428
read-units: 23,299,311 [11.9 TB] written-units: 8,497,299 [4.35 TB]
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Western Digital
model: WDS100T1X0E-00AFY0 size: 931.51 GiB block-size: physical: 512 B
logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 614600WD temp: 27.9 C scheme: GPT
SMART: yes health: PASSED on: 83d 7h cycles: 1,396
read-units: 6,233,859,587 [3.19 PB] written-units: 251,610,369 [128 TB]
ID-3: /dev/sda maj-min: 8:0 type: USB vendor: Verbatim model: STORE N GO
size: 7.22 GiB block-size: physical: 512 B logical: 512 B type: N/A
serial: <filter> rev: PMAP scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Message: No optical or floppy data found.
Partition:
ID-1: /mnt raw-size: 922.42 GiB size: 922.42 GiB (100.00%)
used: 445.07 GiB (48.3%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p2
maj-min: 259:2 label: N/A uuid: 9561de22-96e5-46aa-9810-bb027c4815e9
Swap:
Alert: No swap data was found.
Unmounted:
ID-1: /dev/nvme0n1p1 maj-min: 259:5 size: 1024 MiB fs: vfat label: UEFISHELL
uuid: C8B0-ECD1
ID-2: /dev/nvme0n1p2 maj-min: 259:6 size: 16 MiB fs: N/A label: N/A
uuid: N/A
ID-3: /dev/nvme0n1p3 maj-min: 259:7 size: 468.02 GiB fs: ntfs label: N/A
uuid: BA464D86464D43FB
ID-4: /dev/nvme0n1p4 maj-min: 259:8 size: 641 MiB fs: ntfs label: N/A
uuid: 6C94DF4194DF0C88
ID-5: /dev/nvme0n1p5 maj-min: 259:9 size: 7.27 GiB fs: ntfs
label: WINDRIVER uuid: 6880B95880B92E06
ID-6: /dev/nvme1n1p1 maj-min: 259:1 size: 300 MiB fs: vfat label: NO_LABEL
uuid: F6A7-CC4B
ID-7: /dev/nvme1n1p3 maj-min: 259:3 size: 8.8 GiB fs: swap label: N/A
uuid: 095652b9-970d-4821-b278-407d8bcae184
ID-8: /dev/sda1 maj-min: 8:1 size: 3.57 GiB fs: iso9660
ID-9: /dev/sda2 maj-min: 8:2 size: 4 MiB fs: vfat label: MISO_EFI
uuid: 5C67-4BF8
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-2:2 info: Razer USA Naga Trinity type: Mouse,Keyboard
driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s power: 500mA
chip-ID: 1532:0067 class-ID: 0300 serial: <filter>
Device-2: 1-4:3 info: Lite-On Wireless_Device type: Bluetooth driver: btusb
interfaces: 3 rev: 2.1 speed: 480 Mb/s power: 100mA chip-ID: 04ca:3802
class-ID: e001 serial: <filter>
Hub-2: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-2:2 info: Verbatim Flash Drive type: Mass Storage
driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 200mA
chip-ID: 18a5:0302 class-ID: 0806 serial: <filter>
Device-2: 3-3:3 info: Quanta HD User Facing type: Video driver: uvcvideo
interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0408:a061
class-ID: 0e02
Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 39.8 C mobo: N/A gpu: amdgpu temp: 32.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 316 Uptime: 21m wakeups: 1 Init: systemd v: 252 default: graphical
tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman
pkgs: 1175 libs: 321 tools: pamac pm: flatpak pkgs: 0 Shell: Bash (su)
v: 5.1.16 running-in: konsole inxi: 3.3.24
No, I don’t think it’s a hardware problem, since I can mount my partition from a live-CD
My grub.cfg
weights more than 10MiB, is it normal? I mean, it has TONS of recurring non-existent partitions
I started having a similar problem regards multiple entries for Manjaro. As far as I can figure out these are timeshift snapshots being seen as multiple OS’s.
1 Like
I’ve managed to boot into my system. I’ve made so by removing os-prober
in grub settings (setting the GRUB_DISABLE_OS_PROBER
in /etc/default/grub
to true
) and running update-grub
in a chroot from live-cd. But that actually doesn’t seem like the right solution.
In my case my system boots just fine. It just irritates me that the grub is screwed up.
I hope anyone finds out what to do with that bug, or at least will tell me, to which repo it’s better to be reported. i don’t feel “safe” without permission to my timeshifts from grub, but afaik there’s no other way to boot the system at current state of grub’s config