!oNSIfazDqEcwhcOjSL:matrix.org

disko

355 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko90 Servers

Load older messages


SenderMessageTime
18 Aug 2025
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️well I'm running nixos-install12:25:25
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️as in, as opposed to disko-install12:25:52
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️
File system "/dev/md127" is not located on a partitioned block device.
Traceback (most recent call last):
  File "/nix/store/ks9dxd7yp3pj64ib7y19pgbgsnir9xgm-systemd-boot/bin/systemd-boot", line 431, in <module>
    main()
  File "/nix/store/ks9dxd7yp3pj64ib7y19pgbgsnir9xgm-systemd-boot/bin/systemd-boot", line 414, in main
    install_bootloader(args)
  File "/nix/store/ks9dxd7yp3pj64ib7y19pgbgsnir9xgm-systemd-boot/bin/systemd-boot", line 307, in install_bootloader
    run(
  File "/nix/store/ks9dxd7yp3pj64ib7y19pgbgsnir9xgm-systemd-boot/bin/systemd-boot", line 58, in run
    return subprocess.run(cmd, check=True, text=True, stdout=stdout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/bbyp6vkdszn6a14gqnfx8l5j3mhfcnfs-python3-3.12.11/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/nix/store/ksz6ygnl9f1l6jff3mwmjsmw7qyyxa59-systemd-257.7/bin/bootctl', '--esp-path=/boot', 'install']' returned non-zero exit status 1.
Failed to install bootloader

12:26:15
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️hmmm, well, the good thing is12:26:42
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️that I can probably just umount that, disable the raid temporarily, and just mount the underlying partition12:27:15
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️cause my secret is that I don't actually have a second disk yet 😬12:27:40
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️I'm setting this up in anticipation of getting a second disk sometime soon lol12:28:00
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️I'll just hope that this also won't cause trouble when I deploy updates12:28:37
@lassulus:lassul.uslassulus

you could check this:

       If $SYSTEMD_RELAX_ESP_CHECKS=1 is set the validation checks for
       the ESP are relaxed, and the path specified with --esp-path= may
       refer to any kind of file system on any kind of partition.

       Similarly, $SYSTEMD_RELAX_XBOOTLDR_CHECKS=1 turns off some
       validation checks for the Extended Boot Loader partition.
12:29:07
@lassulus:lassul.uslassulusnot sure they apply here, seems like the wrong way around12:29:37
@lassulus:lassul.uslassulusbut it should work I think12:30:12
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️hmmm yeah12:37:05
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️ I tried just passing that in via --impure and it did the trick 12:37:14
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️now how/where do I add that to my config 😅12:37:37
@lassulus:lassul.uslassulusmaybe add a nixos-install wrapper12:37:56
@lassulus:lassul.uslassulus
environment.systemPackages = [
(pkgs.writeScriptBin "nixos-install" ''
  export SYSTEMD_RELAX_ESP_CHECKS=1
  exec {pkgs.nixos-install}/bin/nixos-install "$@"
'')
]
12:39:10
@lassulus:lassul.uslassulusor something like that12:39:13
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️hmmmm12:47:39
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️

https://github.com/systemd/systemd/issues/12468#issuecomment-698782077

And yes, sd-boot writes to the ESP if boot counting/boot assessment is enabled.

12:49:43
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️I'd like to turn that off lol12:49:48
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️I don't see it in the loader.conf options12:50:09
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️it sounds like setting that up is a rather involved process fwiw12:53:28
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️I'd say I can worry about that once I actually have two disks 😅12:53:44
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️hmmmm12:59:29
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️photo.jpg
Download photo.jpg
12:59:47
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️there is no partition table there, but the mountpoints disko generates seem to assume there is?13:00:30
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️
 nix eval .#nixosConfigurations.boop.config.fileSystems."/boot" | nix run nixpkgs#nixfmt-rfc-style
{
  autoFormat = false;
  autoResize = false;
  depends = [ ];
  device = "/dev/md/esp";
  enable = true;
  encrypted = {
    blkDev = null;
    enable = false;
    keyFile = null;
    label = null;
  };
  formatOptions = null;
  fsType = "vfat";
  label = null;
  mountPoint = "/boot";
  neededForBoot = false;
  noCheck = false;
  options = [ "umask=0077" ];
  overlay = {
    lowerdir = null;
    upperdir = null;
    useStage1BaseDirectories = true;
    workdir = null;
  };
  stratis = {
    poolUuid = null;
  };
}
13:01:42
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️this looks fine to me though 🤔13:01:51
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️seems mdmonitor.service failed cause my config is invalid13:12:25
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️dunno if that's related hmmm13:12:49

Show newer messages


Back to Room ListRoom Version: 10