Thanks Fabby,
Here’s the output of commands:
[manjaro@manjaro ~]$ inxi --admin --verbosity=7 --filter --no-host
System: Kernel: 5.6.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC driver=free
nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 misobasedir=manjaro misolabel=MANJARO_KDE_2003 quiet
systemd.show_status=1 apparmor=1 security=apparmor
Desktop: KDE Plasma 5.18.5 tk: Qt 5.14.2 wm: kwin_x11 dm: SDDM Distro: Manjaro Linux
Machine: Type: Desktop System: Gigabyte product: B450M DS3H v: N/A serial: <filter>
Mobo: Gigabyte model: B450M DS3H-CF v: x.x serial: <filter> UEFI: American Megatrends v: F50
date: 11/27/2019
Memory: RAM: total: 15.65 GiB used: 1.41 GiB (9.0%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU: Topology: 6-Core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen family: 17 (23)
model-id: 71 (113) stepping: N/A microcode: 8701013 L2 cache: 3072 KiB bogomips: 86271
Speed: 2196 MHz min/max: 2200/3600 MHz boost: enabled Core speeds (MHz): 1: 2196 2: 2196 3: 2190
4: 2190 5: 2193 6: 2195 7: 2196 8: 2196 9: 2197 10: 2196 11: 2196 12: 2188
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 cpuid cqm cqm_llc cqm_mbm_local
cqm_mbm_total cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid
fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs irperf lahf_lm lbrv lm mba 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
rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sev sha_ni skinit smap smca sme smep ssbd sse sse2
sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce topoext tsc tsc_scale umip
v_vmsave_vmload vgif vmcb_clean vme vmmcall 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: 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: conditional, RSB filling
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
vendor: XFX Pine driver: amdgpu v: kernel bus ID: 07:00.0 chip ID: 1002:67df
Display: x11 server: X.Org 1.20.8 driver: amdgpu FAILED: ati unloaded: modesetting
alternate: fbdev,vesa compositor: kwin_x11 resolution: 1920x1080~60Hz
OpenGL: renderer: Radeon RX 580 Series (POLARIS10 DRM 3.36.0 5.6.15-1-MANJARO LLVM 10.0.0)
v: 4.6 Mesa 20.0.7 direct render: Yes
Audio: Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: XFX Pine
driver: snd_hda_intel v: kernel bus ID: 07:00.1 chip ID: 1002:aaf0
Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel bus ID: 09:00.4 chip ID: 1022:1487
Sound Server: ALSA v: k5.6.15-1-MANJARO
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8169
v: kernel port: f000 bus ID: 05:00.0 chip ID: 10ec:8168
IF: enp5s0 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: 1.39 TiB used: 168.1 MiB (0.0%)
ID-1: /dev/nvme0n1 vendor: Kingston model: SA2000M8500G size: 465.76 GiB block size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: S5Z42105 scheme: GPT
ID-2: /dev/sda vendor: Western Digital model: WD1002FAEX-00Z3A0 size: 931.51 GiB block size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 1D05 scheme: GPT
ID-3: /dev/sdb type: USB vendor: Verbatim model: STORE N GO size: 29.39 GiB block size:
physical: 512 B logical: 512 B serial: <filter> rev: 1.00 scheme: MBR
Optical-1: /dev/sr0 vendor: ASUS model: DRW-24B5ST rev: 1.00 dev-links: cdrom
Features: speed: 48 multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
RAID: Message: No RAID data was found.
Partition: ID-1: / raw size: N/A size: 11.74 GiB used: 168.1 MiB (1.4%) fs: overlay source: ERR-102 label: N/A
uuid: N/A
ID-2: /run/miso/bootmnt raw size: 2.91 GiB size: <root required> used: <root required> fs: iso9660
dev: /dev/sdb1 label: MANJARO_KDE_2003 uuid: 2020-06-06-08-14-33-00
ID-3: /run/miso/sfs/desktopfs raw size: 1.69 GiB size: <root required> used: <root required>
fs: squashfs dev: /dev/loop2 label: N/A uuid: N/A
ID-4: /run/miso/sfs/livefs raw size: 20.8 MiB size: <root required> used: <root required> fs: squashfs
dev: /dev/loop0 label: N/A uuid: N/A
ID-5: /run/miso/sfs/mhwdfs raw size: 565.6 MiB size: <root required> used: <root required>
fs: squashfs dev: /dev/loop1 label: N/A uuid: N/A
ID-6: /run/miso/sfs/rootfs raw size: 596.1 MiB size: <root required> used: <root required>
fs: squashfs dev: /dev/loop3 label: N/A uuid: N/A
Unmounted: ID-1: /dev/nvme0n1p1 size: 100.0 MiB fs: vfat label: N/A uuid: 6458-726F
ID-2: /dev/nvme0n1p2 size: 16.0 MiB fs: <root required> label: N/A uuid: N/A
ID-3: /dev/nvme0n1p3 size: 390.01 GiB fs: ntfs label: N/A uuid: 5C5A64275A63FBE0
ID-4: /dev/nvme0n1p4 size: 515.0 MiB fs: ntfs label: N/A uuid: 7ED4BF58D4BF10FF
ID-5: /dev/nvme0n1p5 size: 75.13 GiB fs: ext4 label: Manjaro
uuid: 0859a9ac-15dc-45fb-bbe1-6d1e7ba09123
ID-6: /dev/sda1 size: 931.51 GiB fs: ntfs label: Dane uuid: 60C9461120DA5B93
ID-7: /dev/sdb2 size: 4.0 MiB fs: vfat label: MISO_EFI uuid: F327-8F27
USB: Hub: 1-0:1 info: Full speed (or root) Hub ports: 10 rev: 2.0 speed: 480 Mb/s chip ID: 1d6b:0002
Device-1: 1-7:2 info: A4Tech USB Device type: Keyboard,Mouse,HID driver: hid-generic,usbhid
interfaces: 3 rev: 1.1 speed: 12 Mb/s chip ID: 09da:107e
Device-2: 1-8:3 info: SiGma Micro Keyboard type: Keyboard,HID driver: hid-generic,usbhid interfaces: 2
rev: 1.1 speed: 1.5 Mb/s chip ID: 1c4f:0026
Hub: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s chip ID: 1d6b:0003
Device-3: 2-3:2 info: Verbatim Flash Drive (StorenGo) type: Mass Storage driver: usb-storage
interfaces: 1 rev: 3.0 speed: 5 Gb/s chip ID: 18a5:0243 serial: <filter>
Hub: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 speed: 480 Mb/s chip ID: 1d6b:0002
Hub: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s chip ID: 1d6b:0003
Sensors: System Temperatures: cpu: 39.8 C mobo: N/A gpu: amdgpu temp: 30 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 768
Info: Processes: 278 Uptime: 6m Init: systemd v: 245 Compilers: gcc: 10.1.0 Shell: bash v: 5.0.17
running in: konsole inxi: 3.0.37
[manjaro@manjaro ~]$ sudo parted --list
Model: ATA WDC WD1002FAEX-0 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 1000GB 1000GB ntfs msftdata
Model: Verbatim STORE N GO (scsi)
Disk /dev/sdb: 31.6GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
2 3120MB 3124MB 4194kB primary esp
Model: KINGSTON SA2000M8500G (nvme)
Disk /dev/nvme0n1: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 106MB 105MB fat32 EFI system partition boot, esp
2 106MB 123MB 16.8MB Microsoft reserved partition msftres
3 123MB 419GB 419GB ntfs Basic data partition msftdata
4 419GB 419GB 540MB ntfs hidden, diag
5 419GB 500GB 80.7GB ext4
[manjaro@manjaro ~]$ efibootmgr --verbose
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0001,0000,0002,0003
Boot0000* Windows Boot Manager HD(1,GPT,f871bca4-157d-4f01-8074-e40c5ffb2675,0x800,0x32000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
Boot0001* manjaro HD(1,GPT,f871bca4-157d-4f01-8074-e40c5ffb2675,0x800,0x32000)/File(\EFI\MANJARO\GRUBX64.EFI)
Boot0002* UEFI: VerbatimSTORE N GO 1.00 PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x0)/USB(2,0)/CDROM(1,0x5cf8f0,0x8000)..BO
Boot0003* UEFI: VerbatimSTORE N GO 1.00, Partition 2 PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x0)/USB(2,0)/HD(2,MBR,0x0,0x5cf8f0,0x2000)..BO
As for the GRUB restore attempt it went like this:
[manjaro@manjaro ~]$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0 squashfs 4.0 0 100% /run/miso/sfs/li
loop1 squashfs 4.0 0 100% /run/miso/sfs/mh
loop2 squashfs 4.0 0 100% /run/miso/sfs/de
loop3 squashfs 4.0 0 100% /run/miso/sfs/ro
sda
└─sda1 ntfs Dane 60C9461120DA5B93
sdb iso9660 Joliet Ext MANJARO_KDE_2003 2020-06-06-08-14-33-00
├─sdb1 iso9660 Joliet Ext MANJARO_KDE_2003 2020-06-06-08-14-33-00 0 100% /run/miso/bootmn
└─sdb2 vfat FAT12 MISO_EFI F327-8F27
sr0
nvme0n1
├─nvme0n1p1 vfat FAT32 6458-726F
├─nvme0n1p2
├─nvme0n1p3 ntfs 5C5A64275A63FBE0
├─nvme0n1p4 ntfs 7ED4BF58D4BF10FF
└─nvme0n1p5 ext4 1.0 Manjaro 0859a9ac-15dc-45fb-bbe1-6d1e7ba09123
[manjaro@manjaro ~]$ sudo manjaro-chroot -a
==> Detected systems:
--> 0) ManjaroLinux
==> Select system to mount [0-0] :
0
==> ERROR: You can't mount 0!
[manjaro@manjaro ~]$ sudo su
[manjaro manjaro]# mount /dev/nvme0n1p5 /mnt
[manjaro manjaro]# cd /mnt
[manjaro mnt]# mount -t proc proc /mnt/proc
[manjaro mnt]# mount -t sysfs sys /mnt/sys
[manjaro mnt]# mount -o bind /dev /mnt/dev
[manjaro mnt]# mount -t devpts pts /mnt/dev/pts/
[manjaro mnt]# chroot /mnt
[manjaro /]# sudo pacman -S mtools os-prober
warning: mtools-4.0.24-1 is up to date -- reinstalling
warning: os-prober-1.77-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (2) mtools-4.0.24-1 os-prober-1.77-1
Total Installed Size: 0.48 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(2/2) checking keys in keyring [#######################################] 100%
(2/2) checking package integrity [#######################################] 100%
(2/2) loading package files [#######################################] 100%
(2/2) checking for file conflicts [#######################################] 100%
(2/2) checking available disk space [#######################################] 100%
:: Processing package changes...
(1/2) reinstalling mtools [#######################################] 100%
(2/2) reinstalling os-prober [#######################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the info directory file...
[manjaro /]# mount /dev/nvme0n1p1 /boot/efi
[manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.
[manjaro /]# sudo pacman -S efibootmgr dosfstools grub
warning: efibootmgr-17-1 is up to date -- reinstalling
warning: dosfstools-4.1-3 is up to date -- reinstalling
warning: grub-2.04-11.1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (3) dosfstools-4.1-3 efibootmgr-17-1 grub-2.04-11.1
Total Installed Size: 49.12 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(3/3) checking keys in keyring [#######################################] 100%
(3/3) checking package integrity [#######################################] 100%
(3/3) loading package files [#######################################] 100%
(3/3) checking for file conflicts [#######################################] 100%
(3/3) checking available disk space [#######################################] 100%
:: Processing package changes...
(1/3) reinstalling efibootmgr [#######################################] 100%
(2/3) reinstalling dosfstools [#######################################] 100%
(3/3) reinstalling grub [#######################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the info directory file...
[manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.
[manjaro /]# exit
exit
[manjaro mnt]# sudo modprobe efivarfs
[manjaro mnt]# mount -t proc proc /mnt/proc
mount: /mnt/proc: proc already mounted on /proc.
[manjaro mnt]# mount -t sysfs sys /mnt/sys
mount: /mnt/sys: sys already mounted on /sys.
[manjaro mnt]# mount -o bind /dev /mnt/dev
[manjaro mnt]# mount -t devpts pts /mnt/dev/pts/
[manjaro mnt]# chroot /mnt
[manjaro /]# mount -t efivarfs efivarfs /sys/firmware/efi/efivars
[manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
Installation finished. No error reported.
[manjaro /]# sudo update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
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
[manjaro /]#
I don’t really know what could go wrong. At the end GRUB installed just fine, but still couldn’t find installed systems.