Questions tagged [systemd-boot]

63 questions
26
votes
3 answers

How to create a systemd target?

After searching plenty through plenty a post, Youtube video, and "documentation" on the matter of systemd, I'm still at a loss. The link (https://wiki.archlinux.org/index.php/systemd#Create_custom_target) seemed promising, but was a bit vague (to…
Pilbox
  • 363
  • 1
  • 3
  • 7
22
votes
3 answers

How do I skip the 90s timeout in systemd

Is it possible to interactively skip the 90s timeout in systemd? For example, when it is waiting for a disk to become available or user to log out? I know it will fail eventually, so can I just make it fail now? I hate just staring at the screen…
user7610
  • 1,878
  • 2
  • 18
  • 22
21
votes
1 answer

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, it does not boot That is the error message: […
sebelk
  • 4,209
  • 10
  • 35
  • 54
10
votes
4 answers

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 Linux partition as well as a 500MB /boot/efi…
Narrateur du chaos
  • 247
  • 1
  • 2
  • 8
7
votes
1 answer

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.conf (on the ESP): # /loader/loader.conf on the…
Alexey
  • 1,868
  • 4
  • 20
  • 35
6
votes
1 answer

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 two warnings when booting that popup before the…
mordax
  • 61
  • 1
  • 5
6
votes
2 answers

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 from my service? Here's my systemd…
Christoffer Reijer
  • 254
  • 1
  • 4
  • 10
6
votes
2 answers

installed Arch Linux but cannot boot

I have installed Arch Linux for the first time, I have attempted to setup my UEFI boot process but must have failed somewhere, on bootup I do see the boot menu with the Arch Linux option but when I select it, I get a message /vmlinuz-linux:Not Found…
stdcerr
  • 2,037
  • 12
  • 42
  • 65
5
votes
2 answers

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/mapper/ABC I know I can also use UUID instead of…
MountainX
  • 17,168
  • 59
  • 155
  • 264
5
votes
1 answer

How do you remove systemd-boot?

Today I installed fedora and rEFInd but the old boot options for systemd-boot from my old arch installation are still there. How do I safely remove these old components or at least hide the old entries?
jaw2233
  • 381
  • 1
  • 3
  • 12
4
votes
0 answers

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 several updates, can't boot as it shows the following…
Baks
  • 41
  • 2
4
votes
1 answer

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 booting situation: On boot, systemd boot manager…
Konrad Höffner
  • 996
  • 1
  • 16
  • 26
4
votes
1 answer

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 at system boot instead. One possible solution…
Amir
  • 1,531
  • 1
  • 14
  • 18
3
votes
1 answer

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 --metadata=1.0 instructs the kernel to use a specific…
caveman
  • 173
  • 1
  • 10
3
votes
0 answers

`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 for each kernel that's currently installed. Here…
ajgringo619
  • 3,113
  • 1
  • 11
  • 37
1
2 3 4 5