!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

73 Members
systemd in NixOs's stage 1, replacing the current bash tooling https://github.com/NixOS/nixpkgs/projects/5123 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
31 May 2023
@copadium:matrix.orgCopa Dium

This is what disko generated:

nix-repl> myhost.config.boot.initrd.luks.devices.encryptedpool
{ allowDiscards = true; bypassWorkqueues = false; crypttabExtraOpts = [ ... ]; device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_34163169-part3"; fallbackToPassword = false; fido2 = { ... }; gpgCard = null; header = null; keyFile = null; keyFileOffset = null; keyFileSize = null; keyFileTimeout = null; name = "enc-rpool"; postOpenCommands = ""; preLVM = true; preOpenCommands = ""; tryEmptyPassphrase = false; yubikey = null; }
10:50:14
@copadium:matrix.orgCopa Dium *

This is what disko generated:

nix-repl> myhost.config.boot.initrd.luks.devices.encryptedpool
{ allowDiscards = true; bypassWorkqueues = false; crypttabExtraOpts = [ ... ]; device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_34163169-part3"; fallbackToPassword = false; fido2 = { ... }; gpgCard = null; header = null; keyFile = null; keyFileOffset = null; keyFileSize = null; keyFileTimeout = null; name = "encryptedpool"; postOpenCommands = ""; preLVM = true; preOpenCommands = ""; tryEmptyPassphrase = false; yubikey = null; }
10:50:33
@lily:lily.flowers@lily:lily.flowers Can you share the file at config.boot.initrd.systemd.contents."/etc/crypttab".source? 10:51:38
@copadium:matrix.orgCopa Dium

Sure, it contains just this one line:

encryptedpool /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_34163169-part3 - discard
10:52:34
@lily:lily.flowers@lily:lily.flowers In the emergency shell does that device exist? (Are you missing availableKernelModules for initrd?) 10:53:33
@copadium:matrix.orgCopa DiumUh I'm not sure, I assumed it existed since there was no error. One minute, I'll start the server again10:54:42
@copadium:matrix.orgCopa DiumNow I'll have to wait for the timeout :D10:55:49
@lily:lily.flowers@lily:lily.flowersOh also did that config boot with old stage 1, with no other changes?10:55:55
@copadium:matrix.orgCopa DiumBtw why does it timeout at all?10:55:59
@copadium:matrix.orgCopa Dium
In reply to @lily:lily.flowers
Oh also did that config boot with old stage 1, with no other changes?
I'm not sure to be honest, I changed a lot of stuff when updating
10:56:21
@copadium:matrix.orgCopa DiumI also moved the system to a vm, so your kernel module guess could be pretty on point10:57:19
@lily:lily.flowers@lily:lily.flowers
In reply to @copadium:matrix.org
I also moved the system to a vm, so your kernel module guess could be pretty on point
Oh yeah prob that then. If the dev doesn't exist there then that's most likely it
10:57:46

Show newer messages


Back to Room ListRoom Version: 6