Dual boot issues with 2 drives configuration

Hello! I have a small issue when I boot into Manjaro. It’s not at all something that forbids me to boot, still it’s quite annoying. My computer is a Lenovo legion 5 laptop. Here the specs

Processor: AMD Ryzen 7 4800U
RAM: 16 GB
Graphic card: NVidia RTX 2060 6GB
Drives: 2 nvme SSDs

In the nvme0 I have windows 10, while in the nvme1 I have Manjaro. The two small issue that I experience are the following:

  1. The UEFI manager starts with Windows UEFI loader even if the GRUB has higher priority. This happens after I boot into Windows two consecutive times. To solve this I have to press F12 to have the UEFI boot menu and select Manjaro. When I do this, usually Windows does not appear in the options (I have no clue why but it’s not important to me). What I would like to have is the GRUB loader every time, since I would like to chose my OS every time

  2. After I boot to Manjaro (kernel 5.11) I have a black screen, as if something is blocking the correct loading. Then I press the power button and the computer shouts down instantly (so i guess that the key press reaches the kernel or whatever is loading). At the second boot it loads correctly. Given the issue 1) I am forced to press F12 each time to boot into Manjaro and it’s annoying, then I have this second problem, but I managed to do an experiment. As soon as GRUB loads the 1st time I went to the advanced option and added the nomodeset flag. This did not change the result.

If someone has suggestions I would be glad to try them out!

can you provide under USB iso manjaro

inxi -Fza
sudo parted -l 
sudo efibootmgr -v
1 Like

Hi, here are the outputs

    inxi -Fza
    System:    Kernel: 5.10.23-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
               parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=it tz=UTC misobasedir=manjaro 
               misolabel=MANJARO_KDE_210 quiet systemd.show_status=1 apparmor=1 security=apparmor driver=nonfree 
               nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 
               Desktop: KDE Plasma 5.21.3 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux 
               base: Arch Linux 
    Machine:   Type: Laptop System: LENOVO product: 82B1 v: Lenovo Legion 5 15ARH05H serial: <filter> Chassis: 
               type: 10 v: Lenovo Legion 5 15ARH05H serial: <filter> 
               Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <filter> UEFI: LENOVO v: FSCN14WW 
               date: 08/26/2020 
    Battery:   ID-1: BAT0 charge: 47.9 Wh (59.0%) condition: 81.2/80.0 Wh (101.5%) volts: 15.8 min: 15.4 
               model: SMP L19M4PC1 type: Li-poly serial: <filter> status: Unknown cycles: 10 
    CPU:       Info: 8-Core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP arch: Zen 2 
               family: 17 (23) model-id: 60 (96) stepping: 1 microcode: 8600104 cache: L2: 4 MiB 
               flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 92659 
               Speed: 1717 MHz min/max: 1400/2900 MHz boost: enabled Core speeds (MHz): 1: 1717 2: 1705 3: 1397 
               4: 1397 5: 1398 6: 1396 7: 1397 8: 1397 9: 1641 10: 1763 11: 1672 12: 1664 13: 2175 14: 2578 
               15: 1397 16: 1396 
               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, IBRS_FW, STIBP: conditional, RSB filling 
               Type: srbds status: Not affected 
               Type: tsx_async_abort status: Not affected 
    Graphics:  Device-1: NVIDIA TU106M [GeForce RTX 2060 Mobile] vendor: Lenovo driver: nvidia v: 460.56 
               alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:1f15 class-ID: 0300 
               Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo bus-ID: 3-3:3 
               chip-ID: 13d3:56ff class-ID: 0e02 
               Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: nvidia display-ID: :0 
               screens: 1 
               Screen-1: 0 s-res: 1920x1080 s-dpi: 143 s-size: 341x191mm (13.4x7.5") s-diag: 391mm (15.4") 
               Monitor-1: DP-2 res: 1920x1080 hz: 120 dpi: 142 size: 344x193mm (13.5x7.6") diag: 394mm (15.5") 
               OpenGL: renderer: GeForce RTX 2060/PCIe/SSE2 v: 4.6.0 NVIDIA 460.56 direct render: Yes 
    Audio:     Device-1: NVIDIA TU106 High Definition Audio driver: snd_hda_intel v: kernel bus-ID: 01:00.1 
               chip-ID: 10de:10f9 class-ID: 0403 
               Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor 
               vendor: Lenovo driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus-ID: 06:00.5 
               chip-ID: 1022:15e2 class-ID: 0480 
               Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel 
               v: kernel bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403 
               Sound Server-1: ALSA v: k5.10.23-1-MANJARO running: yes 
               Sound Server-2: JACK v: 0.125.0 running: no 
               Sound Server-3: PulseAudio v: 14.2 running: yes 
               Sound Server-4: PipeWire v: 0.3.23 running: no 
    Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 
               v: kernel port: 1000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200 
               IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
               Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: 1000 bus-ID: 04:00.0 
               chip-ID: 8086:2723 class-ID: 0280 
               IF: wlp4s0 state: down mac: <filter> 
    Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 5-3:5 chip-ID: 8087:0029 
               class-ID: e001 
               Report: This feature requires one of these tools: hciconfig/bt-adapter 
    Drives:    Local Storage: total: 1.38 TiB used: 116.12 GiB (8.2%) 
               SMART Message: Unable to run smartctl. Root privileges required. 
               ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: PNY model: CS3030 1TB SSD size: 931.51 GiB block-size: 
               physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD serial: <filter> 
               rev: CS303320 temp: 24.9 C scheme: GPT 
               ID-2: /dev/nvme1n1 maj-min: 259:6 vendor: SK Hynix model: HFS512GD9TNI-L2A0B size: 476.94 GiB 
               block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD 
               serial: <filter> rev: 11010C10 temp: 26.9 C scheme: GPT 
               ID-3: /dev/sda maj-min: 8:0 type: USB vendor: Generic model: Flash Disk size: 7.5 GiB block-size: 
               physical: 512 B logical: 512 B rotation: SSD serial: <filter> rev: 8.07 scheme: MBR 
               SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
    Swap:      Alert: No Swap data was found. 
    Sensors:   System Temperatures: cpu: 43.9 C mobo: N/A gpu: nvidia temp: 39 C 
               Fan Speeds (RPM): N/A 
    Info:      Processes: 354 Uptime: 3m wakeups: 1 Memory: 15.57 GiB used: 2.55 GiB (16.3%) Init: systemd v: 247 
               tool: systemctl Compilers: gcc: N/A Packages: pacman: 1209 lib: 322 flatpak: 0 Shell: Bash 
               v: 5.1.0 running-in: konsole inxi: 3.3.03 
    sudo parted -l
    Model: Generic Flash Disk (scsi)
    Disk /dev/sda: 8053MB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Disk Flags: 

    Number  Start   End     Size    Type     File system  Flags
     2      2826MB  2831MB  4194kB  primary               esp

    Model: PNY CS3030 1TB SSD (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  106MB   105MB   fat32        EFI system partition          boot, esp
     2      106MB   123MB   16.8MB               Microsoft reserved partition  msftres
     3      123MB   790GB   790GB   ntfs         Basic data partition          msftdata
     4      790GB   1000GB  210GB   ntfs         Basic data partition          msftdata
     5      1000GB  1000GB  532MB   ntfs                                       hidden, diag

    Model: SKHynix_HFS512GD9TNI-L2A0B (nvme)
    Disk /dev/nvme1n1: 512GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Disk Flags: 

    Number  Start   End    Size    File system     Name  Flags
     1      2097kB  317MB  315MB   fat32                 boot, esp
     2      317MB   494GB  493GB   ext4
     3      494GB   512GB  18.4GB  linux-swap(v1)        swap

    sudo efibootmgr -v
    BootCurrent: 0002
    Timeout: 0 seconds
    BootOrder: 0004,2002,2003,0000,0001,2001
    Boot0000* EFI Hard Drive (SKHynix_HFS512GD9TNI-L2A0B)	PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-00-00-00)/HD(1,GPT,dcee2b14-25e0-ad4a-9352-e1cf90f626e0,0x1000,0x96000)RC
    Boot0001* Windows Boot Manager	HD(1,GPT,06da2771-bc3f-4833-b573-43d08955a97f,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)RC
    Boot0002* EFI USB Device (Generic Flash Disk)	UsbWwid(58f,6387,0,21173A2)/HD(2,MBR,0x0,0x543c28,0x2000)RC
    Boot0003* EFI USB Device 1 (Generic Flash Disk)	UsbWwid(58f,6387,0,21173A2)/CDROM(1,0x543c28,0x8000)RC
    Boot0004* Manjaro	HD(1,GPT,dcee2b14-25e0-ad4a-9352-e1cf90f626e0,0x1000,0x96000)/File(\EFI\Manjaro\grubx64.efi)
    Boot2001* EFI USB Device	RC
    Boot2002* EFI DVD/CDROM	RC
    Boot2003* EFI Network	RC

check option UEFi when :

  • booting on windows
  • recheck options UEFI
  • then reboot in manjaro

if you can under manjaro , open a TTy ( CTRL+ALT+F2 to F7)
and returns

sudo mhwd -li

if not possible , boot on USB iso manjaro
open a terminal and a browser on this topic

sudo manjaro-chroot -a
mhwd -li
journalctl -b -1 -p4

Hi, thanks! I was on windows, then I booted and at the 1st reboot, these were the boot options

I opened a TTy as root and this is the command and the output

mhwd -li
Installed PCI configs:
                  NAME               VERSION          FREEDRIVER           TYPE
          video-nvidia            2020.11.30               false            PCI

Warning: No installed USB configs!

EDIT: Of course, Manjaro booted correctly at the second trial as I explained before