How to Boot Repair my Lenovo IdeaPad L340-15IRH Gaming?

Issue started with playing around video settings with envycontrol -S hybrid
See Android tablet or phone display on Linux Manjaro Laptop with SCRCPY

See also my Manjaro Cinnamon boots into black screen.
Then I changed my laptop with envycontrol -S nvidia, and it worked fine. Thanks to the forum hero’s.

Now I experienced with the “envycontrol -S nvidia” setting, the laptop refuses to operate my wished scrcpy. I do want to show Android apps by use of my laptop on a big screen for an audience

Switching from “envycontrol -S nvidia”, to another setting I first did try envycontrol -s integrated

On the Lenovo laptop I did # envycontrol -s integrated. Result : Black screen. With CTRL ALT F3, login in as hans, and startx, Manjaro showed up !

So I was able to change the setting once more : Same trick but now with “envycontrol -S hybrid”. Result : Manjaro booting goes bad. I managed to come into grub>, played a bit around. Commands to investigate ,found on online manuals, do work.
Managed to mount an external harddisk to backup.

I did a grub recovery a long time before on Linux Mint, with /dev/sdxn devices
Now I have a GPT system with (see below) with /dev/nvme0n1pn devices

The proposed manual

feels to difficult. It keeps too many questions open for me.

Please help me out.

These topics showed up while saving this post thef first time. They dont help :innocent: :

Thanks in advance.

Hans

Using fdisk -l and grub> ls (hd0,7) :
theharddisk = /dev/nvme0n1 
the harddisk partition x = /dev/nvme0n1p1
the harddisk partition x = /dev/nvme0n1p2
the harddisk partition x = /dev/nvme0n1p3
the harddisk partition x = /dev/nvme0n1p4
the harddisk partition x = /dev/nvme0n1p5
the harddisk partition x = /dev/nvme0n1p6 = datalinux
the harddisk partition x = /dev/nvme0n1p7 = manjaroroot
the harddisk partition x = /dev/nvme0n1p8
inxi -zv8
System:
  Kernel: 6.18.4-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.18-x86_64
    root=UUID=112cd725-a20f-43d0-b548-13024d82080a rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Console: pty pts/0 DM: LightDM v: 1.32.0 Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 81LK v: IdeaPad L340-15IRH Gaming
    serial: <superuser required> Chassis: type: 10 v: IdeaPad L340-15IRH Gaming
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN
    serial: <superuser required> part-nu: LENOVO_MT_81LK_BU_idea_FM_IdeaPad
    L340-15IRH Gaming uuid: <superuser required> Firmware: UEFI vendor: LENOVO
    v: BGCN36WW date: 05/24/2022
Battery:
  ID-1: BAT0 charge: 33.4 Wh (100%) condition: 33.4/45 Wh (74.2%) volts: 12.69
    min: 11.52 model: Celxpert L18C3PF1 type: Li-poly serial: <filter> charging:
    status: full type: standard avail: long_life,standard cycles: 950
Memory:
  System RAM: total: 16 GiB available: 15.48 GiB used: 2.18 GiB (14.1%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 16 GiB slots: 1 modules: 1 EC: None
    max-module-size: 16 GiB note: est.
  Device-1: ChannelB-DIMM0 type: DDR4 detail: synchronous size: 16 GiB
    speed: 2400 MT/s volts: curr: 1 width (bits): data: 64 total: 64
    manufacturer: Samsung part-no: M471A2K43DB1-CTD serial: <filter>
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Coffee Lake
    gen: core 9 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xFA
  Topology: cpus: 1x dies: 1 clusters: 6 cores: 6 threads: 12 tpc: 2
    smt: enabled cache: L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB
    desc: 6x256 KiB L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 800 min/max: 800/2600 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800
    8: 800 9: 800 10: 800 11: 800 12: 800 bogomips: 62399
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
    intel_pt invpcid lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr
    mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge
    pln pni popcnt pse pse36 pti pts rdrand rdseed rdtscp rep_good sdbg sep
    smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2
    tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic
    xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: ghostwrite status: Not affected
  Type: indirect_target_selection status: Not affected
  Type: itlb_multihit status: KVM: Split huge pages
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: old_microcode status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: IBRS
  Type: spec_rstack_overflow 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: IBRS; IBPB: conditional; STIBP: conditional;
    RSB filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsa status: Not affected
  Type: tsx_async_abort status: Not affected
  Type: vmscape mitigation: IBPB before exit to userspace
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Lenovo
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: eDP-1 empty: none bus-ID: 00:02.0 chip-ID: 8086:3e9b
    class-ID: 0300
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Lenovo
    driver: nvidia v: 590.48.01 alternate: nouveau,nova_core,nvidia_drm
    non-free: 550-580.xx+ status: current (as of 2025-11; EOL~2026-12-xx)
    arch: Turing code: TUxxx process: TSMC 12nm FF built: 2018-2022 pcie:
    gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s ports:
    active: none off: HDMI-A-1 empty: DP-1 bus-ID: 01:00.0 chip-ID: 10de:1f91
    class-ID: 0300
  Device-3: Lite-On Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-8:3 chip-ID: 04ca:7070
    class-ID: 0e02
  Display: x11 server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.9 driver:
    X: loaded: modesetting,nvidia dri: iris gpu: i915,nvidia,nvidia-nvswitch
    tty: 80x24
  Monitor-1: HDMI-A-1 model: Dell P2219H serial: <filter> built: 2020
    res: 1920x1080 dpi: 102 gamma: 1.2 chroma: red: x: 0.655 y: 0.337 green:
    x: 0.325 y: 0.612 blue: x: 0.153 y: 0.063 white: x: 0.314 y: 0.329
    size: 476x267mm (18.74x10.51") diag: 546mm (21.5") ratio: 16:9
    modes: 1920x1080, 1600x900, 1280x1024, 1152x864, 1280x720, 1024x768,
    800x600, 720x576, 720x480, 640x480
  Monitor-2: eDP-1 model: ChiMei InnoLux 0x15e7 built: 2016 res: 1920x1080
    dpi: 142 gamma: 1.2 chroma: red: x: 0.592 y: 0.349 green: x: 0.329 y: 0.557
    blue: x: 0.153 y: 0.118 white: x: 0.314 y: 0.329
    size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9
    modes: 1920x1080
  API: EGL v: 1.5 hw: drv: nvidia platforms: gbm: drv: nvidia
  API: OpenGL v: 4.6.0 vendor: nvidia v: 590.48.01
    note: console (EGL sourced) renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
  Info: Tools: api: eglinfo,glxinfo gpu: nvidia-smi
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel
    v: kernel alternate: snd_soc_avs,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:a348 class-ID: 0403
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10fa
    class-ID: 0403
  API: ALSA v: k6.18.4-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.4.9 status: off tools: pw-cli
  Server-3: PulseAudio v: 17.0-98-gb096 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl,pavucontrol
Network:
  Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
    vendor: Lenovo driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 bus-ID: 07:00.0 chip-ID: 168c:0042 class-ID: 0280
  IF: wlp7s0 state: up mac: <filter>
  IP v4: <filter> type: noprefixroute scope: global broadcast: <filter>
  IP v6: <filter> type: dynamic mngtmpaddr proto kernel_ra scope: global
  IP v6: <filter> type: dynamic mngtmpaddr proto kernel_ra scope: global
  IP v6: <filter> virtual: proto kernel_ll scope: link
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 3000 bus-ID: 08:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp8s0 state: down mac: <filter>
  Info: services: NetworkManager, sshd, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:5 chip-ID: 0cf3:e500
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 953.87 GiB used: 250.83 GiB (26.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVLB1T0HALR-000L2 size: 953.87 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 5L1QEXA7 temp: 22.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 97.66 GiB size: 95.56 GiB (97.86%) used: 27.78 GiB (29.1%)
    fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7 label: rootmanjaro
    uuid: 112cd725-a20f-43d0-b548-13024d82080a
  ID-2: /boot/efi raw-size: 371 MiB size: 370.3 MiB (99.80%)
    used: 44.3 MiB (12.0%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: N/A uuid: 0B3C-369A
  ID-3: /mnt/datalinux raw-size: 494.67 GiB size: 485.83 GiB (98.21%)
    used: 75.34 GiB (15.5%) fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:6
    label: N/A uuid: N/A
  ID-4: /mnt/winc raw-size: 282.24 GiB size: 282.24 GiB (100.00%)
    used: 141.63 GiB (50.2%) fs: ntfs dev: /dev/nvme0n1p3 maj-min: 259:3
    label: N/A uuid: 6E7CD3E67CD3A6DD
  ID-5: /mnt/windata raw-size: 77.1 GiB size: 77.1 GiB (100.00%)
    used: 6.03 GiB (7.8%) fs: ntfs dev: /dev/nvme0n1p5 maj-min: 259:5
    label: windata uuid: 206A5A4F6A5A21B8
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: ext4 label: N/A
    uuid: ad5af1dc-27c2-4b6f-9b43-6bf51b2e7c35
  ID-2: /dev/nvme0n1p4 maj-min: 259:4 size: 878 MiB fs: ntfs label: N/A
    uuid: 1CCEB437CEB40B52
  ID-3: /dev/nvme0n1p8 maj-min: 259:8 size: 1000 MiB fs: ntfs label: N/A
    uuid: 769C5D369C5CF1DB
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-1:2 info: Huasheng USB2.0 HUB ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 214b:7250 class-ID: 0900
  Device-1: 1-1.1:4 info: Trust Deskset type: keyboard,mouse
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 100mA chip-ID: 145f:02cc class-ID: 0301
  Device-2: 1-1.4:6 info: Genesys Logic microSD Card Reader
    type: mass storage driver: usb-storage interfaces: 1 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 98mA
    chip-ID: 05e3:0751 class-ID: 0806
  Device-3: 1-8:3 info: Lite-On Integrated Camera type: video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
    lanes: 1 mode: 2.0 power: 500mA chip-ID: 04ca:7070 class-ID: 0e02
  Device-4: 1-14:5 info: Qualcomm Atheros type: bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 100mA chip-ID: 0cf3:e500 class-ID: e001
  Hub-3: 2-0:1 info: super-speed hub ports: 8 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 42.0 C pch: 38.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Repos:
  Packages: pm: pacman pkgs: 1369 libs: 379 tools: pamac,yay pm: flatpak
    pkgs: 0
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://ftp.psnc.pl/linux/manjaro/stable/$repo/$arch
    2: https://mirror.yandex.ru/mirrors/manjaro/stable/$repo/$arch
    3: https://forksystems.mm.fcix.net/manjaro/stable/$repo/$arch
    4: https://mirror.math.princeton.edu/pub/manjaro/stable/$repo/$arch
    5: https://irltoolkit.mm.fcix.net/manjaro/stable/$repo/$arch
    6: https://mirror.kamtv.ru/manjaro/stable/$repo/$arch
    7: https://mirror.meowsmp.net/manjaro/stable/$repo/$arch
    8: https://ftp.yz.yamagata-u.ac.jp/pub/linux/manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 323
  1: cpu: 16.8% command: firefox pid: 3779 mem: 484.3 MiB (3.0%)
  2: cpu: 12.6% command: firefox pid: 4293 mem: 349.3 MiB (2.2%)
  3: cpu: 7.2% command: cinnamon pid: 2252 mem: 268.0 MiB (1.6%)
  4: cpu: 3.6% command: firefox pid: 4224 mem: 230.6 MiB (1.4%)
  5: cpu: 3.5% command: Xorg pid: 1593 mem: 157.4 MiB (0.9%)
  Memory top: 5 of 323
  1: mem: 484.3 MiB (3.0%) command: firefox pid: 3779 cpu: 16.8%
  2: mem: 349.3 MiB (2.2%) command: firefox pid: 4293 cpu: 12.6%
  3: mem: 268.0 MiB (1.6%) command: cinnamon pid: 2252 cpu: 7.2%
  4: mem: 230.6 MiB (1.4%) command: firefox pid: 4224 cpu: 3.6%
  5: mem: 201.9 MiB (1.2%) command: firefox pid: 4286 cpu: 0.8%
Info:
  Processes: 323 Power: uptime: 6m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 6.14 GiB services: csd-power,upowerd
    Init: systemd v: 258 default: graphical tool: systemctl
  Compilers: clang: 21.1.6 gcc: 15.2.1 Shell: Bash (su) v: 5.3.9
    running-in: pty pts/0 inxi: 3.3.40