You are not logged in.
Windows is installed on /dev/nvme0n1 and Arch on /dev/nvme1n1.
Windows:
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 206847 204800 100M EFI System
/dev/nvme0n1p2 206848 239615 32768 16M Microsoft reserved
/dev/nvme0n1p3 239616 3905940558 3905700943 1.8T Microsoft basic data
/dev/nvme0n1p4 3905941504 3907026943 1085440 530M Windows recovery environment
Arch:
Device Start End Sectors Size Type
/dev/nvme1n1p1 2048 1048575 1046528 511M EFI System
/dev/nvme1n1p2 1050624 1953523711 1952473088 931G Linux filesystem
$ bootctl
System:
Firmware: UEFI 2.70 (American Megatrends 5.17)
Firmware Arch: x64
Secure Boot: disabled (disabled)
TPM2 Support: yes
Boot into FW: supported
Current Boot Loader:
Product: systemd-boot 252.3-1-arch
Features: ✓ Boot counting
✓ Menu timeout control
✓ One-shot menu timeout control
✓ Default entry control
✓ One-shot entry control
✓ Support for XBOOTLDR partition
✓ Support for passing random seed to OS
✓ Load drop-in drivers
✓ Support Type #1 sort-key field
✓ Support @saved pseudo-entry
✓ Support Type #1 devicetree field
✓ Boot loader sets ESP information
ESP: /dev/disk/by-partuuid/b1223428-2223-4b21-ab8d-023d7a8abaaa
File: └─/EFI/SYSTEMD/SYSTEMD-BOOTX64.EFI
Random Seed:
Passed to OS: yes
System Token: set
Exists: yes
Available Boot Loaders on ESP:
ESP: /boot (/dev/disk/by-partuuid/b1223428-2223-4b21-ab8d-023d7a8abaaa)
File: ├─/EFI/systemd/systemd-bootx64.efi (systemd-boot 252.3-1-arch)
└─/EFI/BOOT/BOOTX64.EFI (systemd-boot 252.3-1-arch)
Boot Loaders Listed in EFI Variables:
Title: Linux Boot Manager
ID: 0x0002
Status: active, boot-order
Partition: /dev/disk/by-partuuid/b1223428-2223-4b21-ab8d-023d7a8abaaa
File: └─/EFI/SYSTEMD/SYSTEMD-BOOTX64.EFI
Title: Windows Boot Manager
ID: 0x0000
Status: active, boot-order
Partition: /dev/disk/by-partuuid/7ec96e26-ff14-4805-993d-124e3c3c7bfc
File: └─/EFI/MICROSOFT/BOOT/BOOTMGFW.EFI
Title: UEFI OS
ID: 0x0006
Status: active, boot-order
Partition: /dev/disk/by-partuuid/b1223428-2223-4b21-ab8d-023d7a8abaaa
File: └─/EFI/BOOT/BOOTX64.EFI
Boot Loader Entries:
$BOOT: /boot (/dev/disk/by-partuuid/b1223428-2223-4b21-ab8d-023d7a8abaaa)
Default Boot Loader Entry:
type: Boot Loader Specification Type #1 (.conf)
title: Arch Linux (linux)
id: 2022-12-18_10-33-42_linux.conf
source: /boot/loader/entries/2022-12-18_10-33-42_linux.conf
linux: /vmlinuz-linux
initrd: /amd-ucode.img
/initramfs-linux.img
options: root=PARTUUID=b81b6440-e2e9-4258-9e92-9320e84019c3 zswap.enabled=0 rootflags=subvol=@ rw intel_pstate=no_hwp rootfstype=btrfs
The wiki (https://wiki.archlinux.org/title/Dual_b … FI_systems) mentions that systemd-boot should automatically detect the partition. My guess is that it doesn't work because Windows is on a different drive.
In the boot menu of my motherboard I can select the Windows bootloader.
I read the wiki article but am unsure what I should do now.
Last edited by cbettercpp (2022-12-19 16:51:44)
Offline
systemd-boot will only autodetect the windows bootloader if it is on the same ESP. Since you have separate ESP for Arch and WIndows, you need to take a few extra steps:
Offline
Alternatively, you can reuse the Windows ESP for Arch and install your bootloader there or you can use a different bootloader, such as rEFInd or grub, which support booting EFI binaries on other disks. systemd-boot is not as flexible as some of the other options available.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Switched to GRUB. Solved.
Last edited by cbettercpp (2022-12-19 16:50:37)
Offline