You are not logged in.

#1 2020-06-08 14:55:56

asasione
Member
Registered: 2019-06-16
Posts: 9

[Solved] Systemd Hook Help

I have Btrfs Luks with systemd-boot setup and everything is working great just wondering under what conditions would I be able to use the systemd hook in the mkinitcpio.conf file. I have tried adding it but my laptop doesn't boot when I make changes. For example to move my config from this:

HOOKS=(base udev autodetect modconf block encrypt btrfs filesystems keyboard)

To something like this:

HOOKS=(systemd autodetect modconf block sd-encrypt filesystems keyboard)

Are there any specific steps that I missing?

Last edited by asasione (2020-06-08 15:51:37)

Offline

#2 2020-06-08 15:03:01

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [Solved] Systemd Hook Help

Did you also update your bootloader for the different syntax needed by sd-encrypt?

Offline

#3 2020-06-08 15:04:15

loqs
Member
Registered: 2014-03-06
Posts: 19,062

Re: [Solved] Systemd Hook Help

Please expand on doesn't boot.  How far does the boot progress?  What if anything is displayed on the screen?  Is anything recorded to the journal for that boot?

Offline

#4 2020-06-08 15:36:16

asasione
Member
Registered: 2019-06-16
Posts: 9

Re: [Solved] Systemd Hook Help

Scimmia wrote:

Did you also update your bootloader for the different syntax needed by sd-encrypt?

Thanks this seems to have been the problem, I wasn't aware this was needed so I have updated my arch.conf file to the values below and it works now.

options	rd.luks.uuid=a4ceb0cf-... rootflags=subvol=@ root=UUID=27f82f53-... rw quiet rd.systemd.show_status=auto rd.udev.log_priority=3 nowatchdog

Offline

Board footer

Powered by FluxBB