As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [systemd-boot]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
53 views

Systemd-boot doesn't show/detect Pop OS, only shows Windows

So, I have an Alienware from 2016 that I have dual-booted with Pop OS. Windows 11 is installed on an SSD in the SATA slot while Pop OS 22.04 is on the NVME slot. After I start the computer, the PC ...
Eduardo Perez's user avatar
2 votes
0 answers
98 views

How to pass extra options to OpenBSD's EFI boot loader with systemd-boot?

I have an extra systemd-boot entry for OpenBSD. $ cat /boot/loader/entries/bsd.conf title OpenBSD efi /extra/bootx64.efi It works and I manage to get into boot shell, The problem is that by default ...
andreoss's user avatar
  • 596
4 votes
0 answers
545 views

root device not found. Skipping fsck

I dual-boot windows and arch on my work laptop on a single disk with lvm and a XBOOTLDR partition. I use systemd-boot as a bootloader. It worked fine for like 3 months and then suddenly, after ...
Baks's user avatar
  • 41
2 votes
2 answers
619 views

How to know if computer uses GRUB or systemd-boot through SSH? (I have both /boot/grub and /boot/efi/EFI/systemd folders)

Without having access to the physical display, how can I know if my computer is being booted by grub or systemd-boot? As I have writted on the tittle I have both /boot/grub/ and /boot/efi/EFI/systemd/ ...
Héctor's user avatar
  • 248
3 votes
1 answer
185 views

Why is my backup GPT partition table corrupt on my MD RAID 1? And why does the kernel only see 1 randomly picked member disk a time?

I have 2 disks, each 1TB in size, and both of them are a member of an MD RAID-1 array, as created by this command: mdadm --create /dev/md0 /dev/sda /dev/sde --level=1 --metadata=1.0 The argument --...
caveman's user avatar
  • 173
0 votes
0 answers
134 views

Bootctl designates wrong root partition in loader/entries/*.conf file (debootstrap install fail)

I want to install Debian LUKS2 encrypted BTRFS filesystem with Systemd-boot via debootstrap, following this guide : https://gist.github.com/meeas/b574e4bede396783b1898c90afa20a30 My host OS is an ...
secu4tux's user avatar
0 votes
0 answers
94 views

Systemd-boot BTRFS in a VM booting to firware

I am writing a script for my use to install Arch linux. I want to use BTRFS and systemd-boot. When I test the script in a VM, it fails to boot and I get a {rebooting into firmware message}. Below are ...
Muzzamil's user avatar
0 votes
1 answer
424 views

memtest86+ cannot boot via systemd-boot EFI

Recently has been released version 6 of Memtest86+ which finally introduce UEFI support. Now, I use systemd-boot as boot manager, so I'd like to launch memtest86+ directly at boot. I set up a ...
mattia.b89's user avatar
  • 3,104
0 votes
1 answer
179 views

Can systemd-boot load a kernel from an arbitrary partition?

I have a disk with three paritions: a boot partition (with systemd-boot), root file system 1, and root file system 2 In past embedded systems I've done, I've stored the kernel for each of these file ...
Dave's user avatar
  • 61
0 votes
1 answer
886 views

Which Process Throws Error "StartImage failed: Load Error"?

I'm debugging a failed installation of systemd-boot on a multiboot Linux system (multiple instances of Ubuntu 20.04 & 22.04 in discrete partitions). Sadly, the only consequence of bootctl install ...
ebsf's user avatar
  • 271
1 vote
2 answers
1k views

IOTOP complains: CONFIG_TASK_DELAY_ACCT not enabled in kernel

Looking about, I see that the standard fix is to add this to the kernel boot parameters. Using systemd-boot, my arch.conf looks like this : title Arch Linux linux /vmlinuz-linux initrd /intel-...
Stephen Boston's user avatar
0 votes
1 answer
1k views

I messed up systemd-boot by being foolish. No longer able to boot into PopOS or windows 10

I did the classic thing of being in a rush and not thinking, copying the following commands blindly from this other post. sudo apt install grub-efi-amd64 sudo bootctl remove sudo grub-install --...
shmink's user avatar
  • 43
1 vote
2 answers
765 views

Dual boot keeps booting to windows

My setup: 1 hdd with Windows 10 installed 1 ssd with Archlinux using systemd-boot installed Motherboard: MSI X470 Gaming Pro I first installed Arch, then Windows 10 and the dual boot worked like a ...
Fruiter's user avatar
  • 139
4 votes
1 answer
2k views

Triple boot with systemd-boot: How to boot Windows 10 and 11 directly without Windows boot manager?

I recently installed Windows 11 on my home PC in addition to Arch Linux but my wife isn't ready to switch until after her exams, so we keep Windows 10 around for now, leading to a very convoluted ...
Konrad Höffner's user avatar
2 votes
2 answers
3k views

Deleted the Windows EFI partition, What to do?

I installed Pop-OS in a dual-boot system. Previously, my EFI partition was around 250mb. Pop Installer told me that it was too small. So instead of resizing and moving (due to possibility of data loss ...
Mayank's user avatar
  • 173
0 votes
1 answer
193 views

How to "properly" set boot options

What is the correct way to set boot options with systemd-boot? I currently add them to the options line in the current.conf file at /boot/efi/loader/entries/, but this gets overwritten with any ...
iuvbio's user avatar
  • 171
1 vote
1 answer
1k views

EFI Boot list and EFI Boot Manager timeout setting not working

How can I change the 'timeout' setting of the EFI boot manager? I am trying to dual-boot Windows 8 and Ubuntu and I would like to be able to choose one or the other OS at my machine boot time. I ...
xpt's user avatar
  • 1,093
2 votes
1 answer
1k views

How can I "chain-load" grub from systemd-boot

So in the process of getting systemd-boot working on one partition, which is its own install, and having another install in parallel which is using grub, I'd like to make systemd-boot, boot to grub as ...
xenoterracide's user avatar
0 votes
1 answer
164 views

Get version of boot file

I'm trying to figure out how systemd-boot determines the version of its boot file. In my current setup (all VMs), I'm running Debian 10, Fedora 34, and Manjaro 21.0.7, all using the same bootloader. ...
ajgringo619's user avatar
  • 3,053
1 vote
2 answers
455 views

Systemd service not working with Java and Python

I'm running my Discord Music Bot on a VPS, and to start the bot as the VPS does, I have a service called "bot.service" (located in /etc/systemd/system), which have the following: [Unit] ...
Julián's user avatar
  • 11
3 votes
0 answers
1k views

`systemctl reboot --boot-loader-entry` not working with certain bootloader entries

I'm trying to setup an easy way to reboot my system into a specified boot-loader, whether that's Windows or another version of Linux. On my test system, I've installed systemd-boot and created entries ...
ajgringo619's user avatar
  • 3,053
0 votes
1 answer
1k views

'bootctl status' showing options unavailable

Have (2) Linux Mint 20.1 systems - one regular hardware, one a VMware VM. I've installed/configured systemd-boot on both, but I'm seeing different available settings on each. So far, the only ...
ajgringo619's user avatar
  • 3,053
2 votes
1 answer
658 views

Can systemd-boot remember your previous choice?

Is it possible to have systemd-boot remember your last choice and default to that at next boot?
Jamie Kitson's user avatar
6 votes
1 answer
5k views

Arch boot WARNING: pci DPC: RP PIO log size 0 is invalid

I installed Arch on my new Dell 9300 following this guide: https://github.com/Spissable/arch-linux-installation/blob/master/README.md Everything works fine, I can boot into my system. But there are ...
mordax's user avatar
  • 61
0 votes
0 answers
1k views

systemd-boot doesn't detect Windows

I recently installed Pop!_OS alongside with Windows 10 (installed Win10 first) and my problem is that when i boot into PopOS it doesn't detect Windows 10 as a boot option, it directly boots into PopOS ...
SparkleJumpRopeKing's user avatar
0 votes
2 answers
273 views

Can multiple lvm2 volumes in a single volume group be bootable root volumes?

Or, perhap equivalently, can a bootable root volume be named other than "root"? While installing a new version of a Linux IS I created an lvm2 logical volume named "ub20-root" ...
Craig  Hicks's user avatar
9 votes
4 answers
28k views

Pop OS: systemd-boot can't detect Windows

I've followed the classic procedure to install Windows and Linux in dual boot. First I installed Windows in UEFI mode, then I use a bootable PopOS key to resize the main Windows partition; I created a ...
Narrateur du chaos's user avatar
1 vote
1 answer
4k views

arch linux systemd boot: missing /vmzlinuz-linux and /initramfs-linux.img

I am arch linux. One day it stopped showing in systemd boot menu. So I booted live arch via usb, mounted bootloader partition and ran bootctl list --esp-path="/mnt". This is output: title: ...
Jan Černý's user avatar
  • 1,153
1 vote
1 answer
3k views

How to add Windows 10 from another NVME drive to systemd-boot loader entries?

I have tried updating the systemd-boot configuration according to this: https://wiki.archlinux.org/index.php/systemd-boot I am trying to add Windows 10 to my boot menu. Here are my drives: ...
Kai Sellgren's user avatar
0 votes
3 answers
4k views

Pop OS, How to enable boot messages to be printed on screen during boot up

In Ubuntu I know how can I enable post message from below link But currently I'm using Pop! OS is same branch/implementation from Ubuntu but I can not find way how can I enable post message at boot ...
Mahesh More's user avatar
1 vote
1 answer
2k views

Can't delete UEFI variable - no space left / operation not permitted

I'm installing Arch Linux on a new machine, and I've gotten to the point where I need to configure the bootloader, however this is failing: # bootctl install Failed to create EFI Boot variable entry: ...
Malvineous's user avatar
  • 6,368
1 vote
1 answer
1k views

Start a systemd user service at system boot instead of at user login

Given a service definition at ~/.config/systemd/user/do-something.service for UID 1000, which is installed, enabled, and starts automatically at login, I would like the do-something.service to start ...
Amir's user avatar
  • 1,401
0 votes
0 answers
527 views

Load EFI file from foreign volume with systemd-boot

I have two efi partitions on two different drives (one for windows, one for the rest). I'm aware that it normally should be unified, but there may be some applications where you'd want to preserve ...
rudib's user avatar
  • 1,532
0 votes
1 answer
52 views

What exactly happens with wanted and conflicted units while isolating to target

Following use case: unit A and unit B are wanted by target T. Unit A conflicts B. Unit B is started before unit A. System boots into target T. If I understand the docs correctly, unit A will stop ...
agentsmith's user avatar
1 vote
0 answers
81 views

How to do partial shutdown into BIOS?

I'm running a dual boot system on my laptop (both are linux distros). It takes ~20 seconds from power-on to the UEFI systemd-boot menu where I can select which OS I want to boot into. Is there a way ...
user196499's user avatar
0 votes
1 answer
8k views

Show/hide systemd-boot menu

I use systemd-boot as boot manager. I have the menu with many entries but 90% of time I choose entry #3. Is there a way to hide the menu as default? In this way when I want to boot #3, it skips ...
mattia.b89's user avatar
  • 3,104
0 votes
1 answer
461 views

Rescue system/Live bootable from systemd-boot

I am looking for a distro able to Live boot-up directly from systemd-boot for rescue system purposes. Basically is a: Live CD/USB with some rescue tools, such as partitioning tools, etc. bootable ...
mattia.b89's user avatar
  • 3,104
1 vote
0 answers
375 views

How to match systemd-boot and init font

I'd like to have systemd-boot font matched with init process (systemd). My system is Arch Linux. I attach two screenshot; one of systemd-boot, one from init process. Is there a way to match fonts?...
mattia.b89's user avatar
  • 3,104
3 votes
3 answers
4k views

systemd-boot cannot find my root

I'm running Debian Testing (Buster) and I'm swapping from Grub2 to systemd as I couldn't get Grub2 to work and someone suggested I try systemd-boot instead. The boot/root drive is on an eMMC drive on ...
map7's user avatar
  • 113
1 vote
2 answers
3k views

Uninstall grub from Debian (I'am using systemd-boot!)

The first thing I do with a new Linux box is to install systemd-boot. Grub, one would think this abomination was made of the hand of MS! Okay, back to subject: I just ran an upgrade on my new Debian ...
MrCalvin's user avatar
  • 649
1 vote
0 answers
219 views

Prevent systemd-boot menu from showing up every time lid is closed and hibernates with windows 10

I have an laptop with two disks, and i am dual booting Arch Linux and Windows 10. Every time i close the lid of the PC and it hibernates the boot menu shows up. How can i prevent this, and make it so ...
Niklas's user avatar
  • 111
5 votes
2 answers
7k views

How to specify cryptdevice by label using systemd boot?

I'm running Arch Linux with systemd boot. In /boot/loader/entries/arch.conf I currently specify the luks crypto device with a line like this: options rw cryptdevice=/dev/sda1:ABC root=/dev/...
MountainX's user avatar
  • 16.9k
7 votes
1 answer
5k views

systemd-boot skips boot menu and ignores settings in /loader/loader.conf

Recently, after I've done something to my multiboot system, when I boot NixOS with systemd-boot, boot menu does not show up anymore even though the timeout is still set to 2 seconds in /loader/loader....
Alexey's user avatar
  • 1,818
0 votes
1 answer
4k views

Error, cannot bind to the specified serial port /dev/ttyUSB0 during boot using systemd

I am trying to run a launch file during boot up using systemd. The launch file launches rplidar. When I run directly the .sh file it's launching the lidar. $ systemctl status rosCore.service ● ...
BhanuKiran's user avatar
0 votes
1 answer
559 views

how to use systemd-boot on a KVM vitual server?

I'm installing Arch Linux manually (using an ISO image) on a KVM virtual private server. I'm booted into the ISO image, but it was not booted with EFI. Is it possible to use systemd-boot in this ...
MountainX's user avatar
  • 16.9k
6 votes
2 answers
7k views

How do I write output to screen from systemd service during boot?

I have a custom systemd service that runs during the first boot. If the user has no bootsplash I would like to write to the console and give some info on what's going on. Is there a way to do that ...
Christoffer Reijer's user avatar
2 votes
1 answer
4k views

Systemd RequiredBy directive is ignored

Here's my service file: [Unit] Description=Blabla service Requires=network-online.target nfs-common.service After=network-online.target nfs-common.service [Service] Type=oneshot ExecStart=/path/to/...
NarūnasK's user avatar
  • 2,236
3 votes
2 answers
2k views

Create debian grub custom entry for running systemd multiuser.target

I have Debian Stretch and I would like to have a custom grub entry in order to run the system without a graphical desktop. I thought that would be as easy as running a different runlevel, but reading ...
Alberto Jiménez's user avatar
1 vote
1 answer
4k views

Timed out error waiting for encrypted swap device

OS: Parabola GNU/Linux Libre, a GNU version of Arch. I have managed to encrypt my root partition, but I'm unsure about how to encrypt my swap partition. I know swap partitions are becoming old-...
Folaht's user avatar
  • 1,424
20 votes
1 answer
15k views

Cannot boot because missing external disk

Using Fedora 24, I had configured in /etc/fstab an external usb drive: UUID=6826692e-79f4-4423-8467-cef4d5e840c5 /backup/external ext4 defaults 0 0 When I unplugged the usb disk and reboot, ...
sebelk's user avatar
  • 4,179