You are not logged in.

#1 2019-05-30 08:09:46

bemyak
Member
Registered: 2019-05-30
Posts: 16
Website

[SOLVED] systemd-boot screen brightness

Hi!

I use systemd-boot and have an encrypted root partition so I am asked for password every time I boot.
The problem is that password prompt is very hard to see due to a very low brightness setting.
When I enter the password the brightness becomes normal almost immediately.

I guess I have to add some module to mkinicpio so it'll get into initramfs, but I don't know witch one exactly.
I have the following up there now:

MODULES="dm_mod dm_crypt ext4 aes_x86_64 sha256 sha512 nvme i915 intel_agp"
HOOKS="base udev autodetect modconf block keyboard keymap consolefont encrypt resume filesystems fsck"

Last edited by bemyak (2019-05-31 10:07:13)

Offline

#2 2019-05-30 20:06:31

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED] systemd-boot screen brightness

Try adding the systemd hook (and remove the udev hook, that functionality will be replaced).

Offline

#3 2019-05-31 08:08:04

bemyak
Member
Registered: 2019-05-30
Posts: 16
Website

Re: [SOLVED] systemd-boot screen brightness

Thank you for your response!

Unfortunately, this didn't help. After applying suggested changes system failed to boot with message

A start job is running for /dev/disk/by-uuid/[my root partition id]

After that I tried to change other hooks to systemd-style ones but the result is still the same:

HOOKS="base systemd autodetect modconf block keyboard sd-vconsole sd-encrypt fsck filesystems"

My systemd-boot entry file looks like this:

title   Arch ck skylake
linux   /vmlinuz-linux-ck-skylake
initrd  /intel-ucode.img
initrd  /initramfs-linux-ck-skylake.img
options cryptdevice=UUID=4bcc9a7f-f2eb-49bd-b32a-5c8de3e05d32:root root=UUID=9c93363a-a872-4e76-979f-3710b8a84e90 resume=UUID=1131b2d3-43dc-46b2-8be9-d65bf45313bd rw quiet sysrq_always_enabled=1

Maybe something wrong with it?

Offline

#4 2019-05-31 08:12:05

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] systemd-boot screen brightness

You have to update your kernel line to use the systemd rd. nomenclature. The wiki page has the details.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2019-05-31 10:06:02

bemyak
Member
Registered: 2019-05-30
Posts: 16
Website

Re: [SOLVED] systemd-boot screen brightness

Thanks, jasonwryan!

I managed to switch to sd-encrypt, but the brightness was still very low on start. I just increased it in BIOS settings and now it is OK.

Last edited by bemyak (2019-05-31 10:07:47)

Offline

Board footer

Powered by FluxBB