You are not logged in.

#1 2024-06-11 18:07:17

marol
Member
Registered: 2022-09-19
Posts: 59

[SOLVED] Dual boot, but starts only Windows.

I have Dell Inspiron 3580, dual boot order Arch, Windows11. Secure Boot - enabled. BIOS, logins to both systems secured by passwords. Everything worked well and flowlessly.
Today I went to a service center to replace one broken screw that holds the cooling tube. After turning on the laptop, it started "Memory Test" and failed. It turned out that guys in the service unplugged ssd. I checked boot sequence in BIOS:
ArchLinux
ArchLinux-fallback
Windows11.
After I plugged in ssd, I saw only Windows11 starts. I checked boot sequence in BIOS - now there is only Windows. I tried to plug out/in BIOS battery for 15-20 seconds - it didn't work. I don't know what to do, guys. Is there any ideas how to fix it without reinstalling Arch?
I thought it's https://wiki.archlinux.org/index.php/Un … boot_order might be the issue, but there's only Windows, and no other option.
Should I boot in Arch by live-usb and check bootloader?

Last edited by marol (2024-06-11 19:09:41)

Offline

#2 2024-06-11 18:18:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] Dual boot, but starts only Windows.

marol wrote:

Should I boot in Arch by live-usb and check bootloader?

Yes.

Boot the live-usb, confirm all the partitions are intact and as they should be, and if so, reinstall / reconfigure any boot manager.  I'm not sure with secure boot, but you may have to replicate the steps to set that up for the arch system.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2024-06-11 18:40:18

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 1,374

Re: [SOLVED] Dual boot, but starts only Windows.

You're efi variables have been probably been wiped - and windows is quite fast in restoring it's own.

You only need to readd the efi vars, see https://wiki.archlinux.org/title/Unifie … efibootmgr.
Which files depends on your boot manager.


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Upload longer text output like this

Offline

#4 2024-06-11 19:08:38

marol
Member
Registered: 2022-09-19
Posts: 59

Re: [SOLVED] Dual boot, but starts only Windows.

I turned off Secure Boot, put live-usb first in boot order. After booting in Arch, I checked partition

# lsblk
nvme0n1p1 - /dev/efi
nvme0n1p2 - Microsoft recovery environment
nvme0n1p3 - Windows System
nvme0n1p4 - Microsoft Reserved
nvme0n1p5 - Microsoft Recovery
nvme0n1p6 - cryptswap
nvme0n1p7 - root

I checked efibootmgr

# efibootmgr --unicode
BootCurrent: 0006
BootOrder: 0006,0005
Timeout: 0 seconds
Boot0000* ArchLinux
Boot0002* UEFI: USB Flash Drive
Boot0003* Archlinux-fallback
Boot0005* Windows
Boot0006* UEFI: USB Flash Drive

Then I rebooted into BIOS again, in "Boot Sequence" added new boot options, path to file /efi/EFI/Linux/archlinux.efi and fallback -  /efi/EFI/Linux/archlinux-fallback.efi. Saved, rebooted and it worked!

Offline

#5 2024-06-11 19:09:19

marol
Member
Registered: 2022-09-19
Posts: 59

Re: [SOLVED] Dual boot, but starts only Windows.

jl2 wrote:

You're efi variables have been probably been wiped - and windows is quite fast in restoring it's own.

You only need to readd the efi vars, see https://wiki.archlinux.org/title/Unifie … efibootmgr.
Which files depends on your boot manager.

Yes, I think so too. Now it is solved. Thank you all for your support!

Offline

Board footer

Powered by FluxBB