Manjaro installation: Cannot establish Dual boot system - continued

see
https://forum.manjaro.org/t/manjaro-installation-cannot-establish-dual-boot-system/170947

@cscs mentioned

I recall odd examples from various models including an admin password needing to be set before secure boot could be disabled.

Indeed, after I set an admin password I could de-activate the secure boot mode. Thus I could set UEFI boot mode without secure boot. With these settings I booted Manjaro from the stick and invoked the Manjaro installallation program. The result is a Manjaro system on my hard disk that - hopefully - boots in UEFI mode. How can I verify that?

I remove the Manjaro stick, reboot my PC with interruption of the boot process. I set boot mode from UEFI to legacy. This results in an error, where no GRUB menu appears and neither Windows nor Manjaro can be booted.

Reboot. Again I interrupt the boot process, set Boot mode to UEFI (secure boot disabled). No GRUB menu appears. The PC boots into windows - there is no choice.

After login to Windows I can invoke the “Settings” > “Windows recovery” > 
 > “use device” > “Manjaro”
Now the PC reboots and the GRUB menu appears. I can choose and boot Manjaro. Finally!

From that process I conclude that Manjaro is now installed in EFI mode. Is my conclusion correct?

I log into Manjaro. I run grub-instal to /dev/sda, I run grub-mkconfig -o /boot/grub/grub.cfg

Reboot. Again (boot mode UEFI) Windows is booting, i.e. grub-mkconfig did not yield the desired result


So what can I do in order to see the GRUB menu BEFORE Windows boots?

Ubuntu supports Secure Boot out of the box.
Arch/Manjaro can support it 
 but you must use self-signed keys, etc.

Let’s ask dmesg to answer that:

sudo dmesg | grep -i "EFI v"

The output of this command usually indicates that the OS is currently booted using UEFI, while the absence of any output is typically indicative of a legacy boot.

To start with, set the boot priority in your BIOS. Make sure that the disk containing Manjaro (with the Grub boot loader) is set as the first boot entry. Save the BIOS, and reboot.

If you still have difficulty, there are other steps to consider.

1 Like

Thank you @soundofthunder

Currently I can’t run the dmesg command. But I remember the boot priority of the startup screen (when I interrupted the boot process):

Boot mode: UEFI

Boot priority:

  1. Windows xyz (Windows boot manager maybe?)
  2. Windows
  3. Windows

“manjaro” should appear in that list, should’t it? Why is it missing?

It’s difficult to progress without knowing whether Manjaro is actually installed in UEFI mode or not.

  • Did you recreate the Manjaro Installer USB to ensure that it boots in UEFI mode? The methods to do this vary depending on the method you used to create the USB.
  • Did you subsequently install Manjaro in UEFI mode? Complications may arise if you failed to prepare your disk with a GUID partition table (GPT). In Calamares, before you choose a partitioning method, whether the disk and system is configured as UEFI (or not) is noted at the top of the screen (if you see MBR then it’s not UEFI).

If your BIOS also allows Legacy booting (i.e., CSM is enabled in a UEFI BIOS) this procedure can allow you to boot to Grub whether Manjaro is installed as UEFI or Legacy (but, after a forced reboot). So, this conclusion is indeterminate.

My assumption is that Manjaro is still booting as MBR.

Please boot to the Live environment of the Manjaro Installer USB, and follow relevant instructions in the following guide:

Only follow directions intended for a EFI/GPT system. Naturally, the instructions rely on booting as UEFI; refer to information given in the previous thread; each OS must boot as UEFI.

Aside:- I wrote a general guide to multibooting Windows and Manjaro some time ago; I’ll link this here as it includes information which will also be beneficial (without actually following the guide).

Yes, both of these comments are true, but are irrelevant to the issue at hand as Manjaro (by default) does not support Secure Boot, and thusly it should be disabled before installing Manjaro.

Note that disabling Secure Boot at the BIOS level (as you have done) is preferable to any mechanism Windows might offer.

This appears that it might be a Windows generated screen; I can’t see with your eyes, so it’s difficult to be sure.

Changing the boot priority in BIOS to have Manjaro (or possibly ‘Linux OS’) appear first in the relevant section of the BIOS should ensure that Manjaro’s Grub UEFI bootloader boots first (which would then list Windows as an option).

If the Manjaro entry in BIOS is somehow missing, this can often be solved by following a guide such as Restore the GRUB bootloader (above).


In the previous thread you mentioned:

Is this still the case now?

  • Yes – Manjaro is likely (still) booting in Legacy mode.
  • No – Please show us exactly what you see.

If both Windows and Manjaro are installed using UEFI mode (no CSM) then the $ESP should contain these (top level) directories:

[ESP] -- BOOT
         Manjaro
         Microsoft

If the ‘Manjaro’ directory doesn’t exist in the ESP, the likelihood is high that your installation remains as a msdos/mbr based installation.

Again, as before, each OS and the installation media must all be the same type; either UEFI/GPT or MSDOS/MBR (legacy). From what you have shown, Windows boots as UEFI/GPT, but for some reason Manjaro is not.

You ask us to please explain;
Perhaps it’s time for show and tell:

1. Please show us some system information; Boot to the Manjaro Live envionment of your Manjaro Installer USB, and provide the output of:

inxi --admin --verbosity=8 --filter --no-host --width

2. Boot into your system BIOS firmware and show us your settings – specifically for Secure Boot, UEFI and Legacy/CSM and Boot Priority. Use a camera, if needed, and post clearly images.

This makes no sense at all if you installed both Windoof and Manjaro in UEFI mode.

Because your firmware still looked to the ESP set by Windoof.

This is not the recommended procedure. You should have manjaro-chrooted into Manjaro and restore the boot loader for UEFI installs.

Wrong command. Ever looked for the wiki how to restore the boot loader? It’s so easy to find I’m not leaving the link here, you need to learn how to do your homework.

No, Manjaro is not supporting SB. Making it possible is not the same as supporting it.

Manjaro Wiki - UEFI - Install Guide - Dual booting with Windows

Some manufacturer’s EFI implementations cause GRUB not to be shown in the Boot Menu, or even if it is there it cannot be made default.

In such cases rEFInd can be used.

1.Install rEFInd using pacman**:

sudo pacman -S refind

The refind-install command can be used to automatically install rEFInd (the EFI partition may need to be mounted for this to work). See the Arch wiki for more details.

@nikgnomic :

sudo pacman -S refind yields errors:

sudo pacman -S refind
[sudo] Passwort fĂŒr mjhildegard: 
AbhĂ€ngigkeiten werden aufgelöst 

Nach in Konflikt stehenden Paketen wird gesucht 


Pakete (1) refind-0.14.2-1

GesamtgrĂ¶ĂŸe des Downloads:             0,96 MiB
GesamtgrĂ¶ĂŸe der installierten Pakete:  1,85 MiB

:: Installation fortsetzen? [J/n] J
:: Pakete werden empfangen 

 refind-0.14.2-1-x86_64                                    985,0 KiB  1791 KiB/s 00:01 [##################################################] 100%
(1/1) SchlĂŒssel im SchlĂŒsselbund werden geprĂŒft                                        [##################################################] 100%
(1/1) Paket-IntegritĂ€t wird ĂŒberprĂŒft                                                  [##################################################] 100%
(1/1) Paket-Dateien werden geladen                                                     [##################################################] 100%
(1/1) Auf Dateikonflikte wird geprĂŒft                                                  [##################################################] 100%
(1/1) VerfĂŒgbarer Festplattenspeicher wird ermittelt                                   [##################################################] 100%
:: PaketÀnderungen werden verarbeitet 

(1/1) Installiert wird refind                                                          [##################################################] 100%
Optionale AbhĂ€ngigkeiten fĂŒr refind
    gptfdisk: for finding non-vfat ESP with refind-install
    imagemagick: for refind-mkfont [Installiert]
    openssl: for generating local certificates with refind-install [Installiert]
    python: for refind-mkdefault [Installiert]
    refind-docs: for HTML documentation
    sbsigntools: for EFI binary signing with refind-install
    sudo: for privilege elevation in refind-install and refind-mkdefault [Installiert]
:: Post-transaction-Hooks werden gestartet 

(1/1) Arming ConditionNeedsUpdate...
[mjhildegard@aspi ~]$ 

[mjhildegard@aspi ~]$ refind
bash: refind: Kommando nicht gefunden.

@soundofthunder:
inxi --admin --verbosity=8 --filter --no-host --width
yields the following output:

inxi --admin --verbosity=8 --filter --no-host --width
System:
  Kernel: 6.11.10-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.11-x86_64
    root=UUID=7f881f2e-f724-41b2-b4cc-758c90fdc073 rw quiet splash apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.43 wm: xfwm4 v: 4.18.0
    with: xfce4-panel tools: xfce4-screensaver vt: 7 dm: LightDM v: 1.32.0
    Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: Acer product: Aspire A515-51G v: V1.09
    serial: <superuser required>
  Mobo: KBL model: Charmander_KL v: V1.09 serial: <superuser required>
    part-nu: 0000000000000000 uuid: <superuser required> UEFI: Insyde v: 1.09
    date: 08/01/2017
Battery:
  ID-1: BAT1 charge: 37.7 Wh (88.3%) condition: 42.7/48.9 Wh (87.1%)
    volts: 16.8 min: 15.2 model: COMPAL PABAS0241231 type: Li-ion
    serial: <filter> status: charging
Memory:
  System RAM: total: 8 GiB available: 7.63 GiB used: 1.84 GiB (24.1%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 32 GiB slots: 2 modules: 2 EC: None
    max-module-size: 16 GiB note: est.
  Device-1: ChannelA-DIMM0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 4 GiB speed: 2133 MT/s volts: curr: 1 min: 2 max: 2
    width (bits): data: 64 total: 64 manufacturer: Micron
    part-no: 4ATF51264HZ-2G3B1 serial: N/A
  Device-2: ChannelB-DIMM0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 4 GiB speed: 2133 MT/s volts: curr: 1 min: 2 max: 2
    width (bits): data: 64 total: 64 manufacturer: 04cb
    part-no: AO1P21FC4R1-B2MS serial: <filter>
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i5-8250U bits: 64 type: MT MCP arch: Coffee Lake
    gen: core 8 level: v3 note: check built: 2017 process: Intel 14nm family: 6
    model-id: 0x8E (142) stepping: 0xA (10) microcode: 0xF6
  Topology: cpus: 1x dies: 1 clusters: 4 cores: 4 threads: 8 tpc: 2
    smt: enabled cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB
    desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 400 min/max: 400/1600 scaling: driver: intel_pstate
    governor: powersave cores: 1: 400 2: 400 3: 400 4: 400 5: 400 6: 400 7: 400
    8: 400 bogomips: 28808
  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: itlb_multihit status: KVM: VMX disabled
  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: 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: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Acer Incorporated ALI driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:5917
    class-ID: 0300
  Device-2: NVIDIA GP108M [GeForce MX150] vendor: Acer Incorporated ALI
    driver: nouveau v: kernel non-free: 550.xx+ status: current (as of 2024-09;
    EOL~2026-12-xx) arch: Maxwell code: GMxxx process: TSMC 28nm
    built: 2014-2019 pcie: gen: 1 speed: 2.5 GT/s lanes: 4 link-max: gen: 3
    speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:1d10 class-ID: 0302
    temp: 37.0 C
  Device-3: Quanta HD Webcam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-7:6 chip-ID: 0408:a060
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.org v: 1.21.1.14 compositor: xfwm4 v: 4.18.0 driver:
    X: loaded: modesetting alternate: fbdev,vesa dri: iris,nouveau gpu: i915
    display-ID: :0.0 note: <missing: xdpyinfo/xrandr>
  Monitor-1: eDP-1 model: Najing CEC Panda LM156LF1L03 built: 2017
    res: 1920x1080 dpi: 142 gamma: 1.2 chroma: red: x: 0.592 y: 0.361 green:
    x: 0.341 y: 0.557 blue: x: 0.157 y: 0.110 white: x: 0.314 y: 0.329
    size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9
    modes: 1920x1080
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia nouveau platforms:
    device: 0 drv: nouveau device: 1 drv: iris device: 2 drv: swrast gbm:
    drv: nouveau surfaceless: drv: nouveau x11: drv: iris inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.3 vendor: intel mesa v: 24.2.8-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics 620 (KBL GT2)
    device-ID: 8086:5917 memory: 3.73 GiB unified: yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Acer Incorporated ALI
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_soc_avs
    bus-ID: 00:1f.3 chip-ID: 8086:9d71 class-ID: 0403
  API: ALSA v: k6.11.10-2-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.2.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Acer Incorporated ALI driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 02:00.1 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp2s0f1 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
    vendor: Lite-On driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 bus-ID: 03:00.0 chip-ID: 168c:0042 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Lite-On Qualcomm Atheros QCA9377 Bluetooth driver: btusb v: 0.8
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5:4
    chip-ID: 04ca:3015 class-ID: e001
  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.14 TiB used: 36.68 GiB (3.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Micron model: 1100 MTFDDAV256TBN
    size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: A020 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: Expansion
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B type: USB
    rev: 3.0 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    fw-rev: 9300 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 27.94 GiB size: 27.33 GiB (97.83%) used: 9.73 GiB (35.6%)
    fs: ext4 dev: /dev/sda10 maj-min: 8:10 label: N/A
    uuid: 7f881f2e-f724-41b2-b4cc-758c90fdc073
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
    used: 80.8 MiB (84.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: ESP
    uuid: 68F7-4367
  ID-3: /home raw-size: 46.57 GiB size: 45.66 GiB (98.05%)
    used: 26.94 GiB (59.0%) fs: ext4 dev: /dev/sda8 maj-min: 8:8
    label: sda8-50GB-ext4 uuid: ada2e617-5433-44f0-9f80-4fa38f452c95
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 4.66 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda6 maj-min: 8:6 label: linuxswap
    uuid: d5b15c80-113f-4242-8d7b-229e4c8d3eec
Unmounted:
  ID-1: /dev/sda2 maj-min: 8:2 size: 16 MiB fs: <superuser required> label: N/A
    uuid: N/A
  ID-2: /dev/sda3 maj-min: 8:3 size: 62.28 GiB fs: ntfs label: Acer
    uuid: 08EAFBC4EAFBABD6
  ID-3: /dev/sda4 maj-min: 8:4 size: 1024 MiB fs: ntfs label: Recovery
    uuid: F610FC4710FC107B
  ID-4: /dev/sda5 maj-min: 8:5 size: 30.72 GiB fs: ext4 label: sda5-ub20-Mate
    uuid: 23a1245c-7cf2-437c-b7bc-6f0846b5d701
  ID-5: /dev/sda7 maj-min: 8:7 size: 48.83 GiB fs: ext4 label: sda7-60GB-ext4
    uuid: e48dd3cf-d8da-4a0c-966f-b7df8019cc64
  ID-6: /dev/sda9 maj-min: 8:9 size: 9.31 GiB fs: ntfs label: sda9-10GB-NTFS
    uuid: 3315D8643F652ADC
  ID-7: /dev/sdb1 maj-min: 8:17 size: 186.26 GiB fs: ntfs
    label: Fotos-200G-NTFS uuid: 65AAA57C47D01C5C
  ID-8: /dev/sdb2 maj-min: 8:18 size: 186.26 GiB fs: ext4
    label: DatSi-200G-ext4 uuid: 6e183143-d90e-49a8-8ef9-6785fd22f9b9
  ID-9: /dev/sdb3 maj-min: 8:19 size: 186.26 GiB fs: ext4
    label: Andere-200GB-ext uuid: 9696360f-6bfd-4755-8b52-edc8c00971b6
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-3:2 info: Logitech Optical Wheel Mouse type: mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s (183 KiB/s)
    lanes: 1 mode: 1.0 power: 100mA chip-ID: 046d:c016 class-ID: 0301
  Hub-2: 1-4:3 info: Realtek RTS5411 Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 0bda:5411
    class-ID: 0900
  Device-1: 1-4.2:5 info: Samsung M2070 Series type: printer driver: usblp
    interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
    power: 2mA chip-ID: 04e8:3469 class-ID: 0701 serial: <filter>
  Device-2: 1-4.4:7 info: Holtek Keyboard type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s (183 KiB/s)
    lanes: 1 mode: 1.0 power: 100mA chip-ID: 04d9:1603 class-ID: 0300
  Device-3: 1-5:4 info: Lite-On Qualcomm Atheros QCA9377 Bluetooth
    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: 04ca:3015 class-ID: e001
  Device-4: 1-7:6 info: Quanta HD Webcam 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: 0408:a060 class-ID: 0e02 serial: <filter>
  Hub-3: 2-0:1 info: super-speed hub ports: 6 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Device-1: 2-1:4 info: Seagate RSS LLC SRD0NF1 Expansion Portable (STEA)
    type: mass storage driver: uas interfaces: 1 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 power: 144mA
    chip-ID: 0bc2:2322 class-ID: 0806 serial: <filter>
Sensors:
  System Temperatures: cpu: 43.0 C mobo: N/A gpu: nouveau temp: 37.0 C
  Fan Speeds (rpm): N/A
Repos:
  Packages: pm: pacman pkgs: 1080 libs: 349 tools: pamac pm: flatpak pkgs: 0
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://mirror.easyname.at/manjaro/stable/$repo/$arch
    2: https://ask4.mm.fcix.net/manjaro/stable/$repo/$arch
    3: http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/stable/$repo/$arch
    4: https://cofractal-ewr.mm.fcix.net/manjaro/stable/$repo/$arch
    5: https://southfront.mm.fcix.net/manjaro/stable/$repo/$arch
    6: https://nocix.mm.fcix.net/manjaro/stable/$repo/$arch
    7: https://ipng.mm.fcix.net/manjaro/stable/$repo/$arch
    8: https://mirror.archlinux.tw/Manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 241
  1: cpu: 4.8% command: firefox pid: 2545 mem: 483.6 MiB (6.1%)
  2: cpu: 2.3% command: firefox pid: 2779 mem: 227.8 MiB (2.9%)
  3: cpu: 1.8% command: Xorg pid: 855 mem: 92.0 MiB (1.1%)
  4: cpu: 0.5% command: firefox pid: 2637 mem: 146.6 MiB (1.8%)
  5: cpu: 0.3% command: xfwm4 pid: 985 mem: 58.3 MiB (0.7%)
  Memory top: 5 of 241
  1: mem: 483.6 MiB (6.1%) command: firefox pid: 2545 cpu: 4.8%
  2: mem: 227.8 MiB (2.9%) command: firefox pid: 2779 cpu: 2.3%
  3: mem: 146.6 MiB (1.8%) command: firefox pid: 2637 cpu: 0.5%
  4: mem: 119.8 MiB (1.5%) command: firefox pid: 2716 cpu: 0.1%
  5: mem: 95.3 MiB (1.2%) command: firefox pid: 2677 cpu: 0.0%
Info:
  Processes: 241 Power: uptime: 1h 16m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 3.02 GiB services: upowerd,xfce4-power-manager
    Init: systemd v: 256 default: graphical tool: systemctl
  Compilers: N/A Shell: Bash v: 5.2.37 running-in: xfce4-terminal
    inxi: 3.3.36

@soundofthunder;
Here is what dmesg says:

sudo dmesg | grep -i "EFI v"
[sudo] Passwort fĂŒr mjhildegard: 
[    0.000000] efi: EFI v2.5 by INSYDE Corp.

What does that tell us? How to continue?

There was no error.

 there is just no refind binary - you expected it, but it’s just not there
and this is normal
Type refind and then hit TAB a few times to autocomplete the available commands which start with “refind”.

rEFInd - ArchWiki

The rEFInd Boot Manager: Installing and Uninstalling rEFInd

Installing rEFInd Using refind-install under Linux or MacOS

If you’re using Linux or macOS, the easiest way to install rEFInd is to use the refind-install script. This script automatically copies rEFInd’s files to your ESP or other target location and makes changes to your firmware’s NVRAM settings so that rEFInd will start the next time you boot

rEFInd - ArchWiki

Installation with refind-install script

The rEFInd package includes the refind-install script to simplify the process of setting rEFInd as your default EFI boot entry. The script has several options for handling differing setups and UEFI implementations. See refind-install(8) or read the comments in the install script for explanations of the various installation options.

For many systems it should be sufficient to simply run:

sudo refind-install

@soundofthunder requested:

  1. Boot into your system BIOS firmware and show us your settings – specifically for Secure Boot, UEFI and Legacy/CSM and Boot Priority. Use a camera, if needed, and post clearly images

I made screen shots of all pages of the startup (BIOS). I believe that the “boot” screen is most relevant for my problem:

It is cumbersome that currently I can start Manjaro only via Windows > Settings > 
 > advanced start > 

The final steps of that procedure are

Next a grub command line is displayed.

I need to type “exit” . then the GRUB menu is displayed; Manjaro is on topmost position and I can choose to boot it.

From the fact that Manjaro can be started at all, I conclude that it is installed in EFI mode, because EFI and legacy are said to be incompatible.

My question remains: how can I configure the PC as desired, i.e. such that after power-on I see the GRUB menu with Manjaro on top position?

You could be wrong because windows reboots through the BIOS and could dictate the choice of operating mode.

But that would mean that you accidentally installed manjaro in BIOS mode.

That would also explain why manjaro is not offered when the UEFI is in UEFI-only mode.

I note here your system appears to have two disks"

/dev/sda is GPT and presumedly where both Windows is installed.
/dev/sdb however is MBR and contains both ext4 and ntfs partitions.

/dev/sdb is also a removable USB.

Please remove the USB drive completely, and report back the status without that connected.

@soundofthunder:
/dev/sdb is an external hard disk for data backup. There is no SW on that disk. I only forgot to unplug it. Is it necessary to do so in order to solve my problem?

It’s necessary to test a theory; to see if it’s presence is preventing discovery of both OS. Instead of querying you could have simply removed it and reported the results.

With the limited information provided, the only explanation seems to be that Manjaro is installed as MSDOS/MBR/Legacy.

1 Like

@soundofthunder: your remark

Instead of querying you could have simply removed it and reported the results.

tells me that you are unconciously supposing I can simply turn on the PC and run the command. This is not the case! Our dialogue is about my friend’s PC; he lives a few km away, i.e. he needs to visit me or vice versa.

Noted re. physical access.

But when you do have the chance: bootctl status may be of use.
Or: test -d /sys/firmware/efi && echo efi || echo bios. :wink:

Example from this machine
bootctl status
Couldn't find EFI system partition. It is recommended to mount it to /boot or /efi.
Alternatively, use --esp-path= to specify path to mount point.
System:
Not booted with EFI

There actually is an EFI partition but I haven’t populated it; it’s there for future use.

I’m running in Legacy mode here.

Your objection presumes that you had somehow magically informed us of your difficulty. Until post #14 I see no such mention. Keep in mind that few of those wishing to help are equipped with a proverbial crystal ball at their disposal.

The obvious workaround in light of your newly provided information is to return any requested information when you are able. In turn, we can evaluate any information you provide when we are able.

These are times when those volunteering to help might well prefer to be spending time with family and friends; such is the holiday season; nonetheless, help is given freely despite personal limitations.


Question: Is completely reinstalling Windows and Manjaro an option?

If I now understand correctly, I should expect a response sometime within the next few days, or a perhaps in a week, whenever it may be convenient for you.

Regards.

Never seen you tried this for an UEFI install. Best starting point would be manjaro-chrooting from live ISO booted in UEFI mode. Make sure Windoze has been fully shutdown (no Fast startup enabled etc.), so no hidden resume mode which could cause issues for dual boot.

Afterwards, you should go into firmware settings and boot in UEFI mode into newly created Manjaro UEFI entry.

If this works, you only need to enable os-prober in your /etc/default/grub, perform an sudo update-grub and should be able to boot both OS from Manjaro’s grub menu.

@soundofthunder:

Your objection presumes that you had somehow magically informed us of your difficulty. Until post #14 I see no such mention
.

I am sorry for that; I did not mention that circumstance earlier, because I thought it is irrelevant for you. PLease bear with me!

Summary of this discussion as of 2024-12-21

see also my predecessor post

  1. I learned that I need to configure the PC Startup ( I call it BIOS) to allow insecure UEFI boot.

  2. With that configuration I repeated the Manjaro installation from bootable stick hoping that the (Calamaris) installer would establish a system, where after power-on the GRUB boot manager shows the choice between Manjaro and Windows.

  3. Our further discussion circles around the question why the GRUB menu does not appear after power-on.

3.a There are indicators that support the assumption that most likely Manjaro has been installed in UEFI boot mode:

  • see the photos of the Startup screen

  • see the output of the command: dmesg | grep -i "EFI v"

  • the fact that it is impossible boot the PC in legacy mode; I can only
    boot in UEFI mode, but then Windows starts

  • the fact that Manjaro can be started at all – even if only via Windows Recovery.

3.b There are indicators that support the assumption that most likely Manjaro has been installed in legacy boot mode.

  • the observation that the GRUB menu does not appear when I boot the PC in UEFI mode.

3c. I do not understand what the results of the inxi command indicate.

I would not dare to repeat the Windows installation. The PC was bought with Windows 10 pre-installed; I have no expertise with Windows installation.

I would have repeated the Manjaro installation process from the beginning rather than conduct this discussion, but that would have yielded the same result, wouldn’t it? Therefore I believe it is necessary to find the cause of my problem.

Thanx for your continuous help!