!oNSIfazDqEcwhcOjSL:matrix.org

disko

413 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko113 Servers

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


SenderMessageTime
11 Aug 2024
@matthewcroughan:defenestrate.itmatthewcroughanfigured it out18:23:25
@matthewcroughan:defenestrate.itmatthewcroughan
              root = {
                name = "root";
                size = "100%";
                content = {
                  type = "filesystem";
                  extraArgs = [ "--compression=lz4" ];
                  format = "bcachefs";
                  mountpoint = "/";
                  postMountHook = toString (pkgs.writeScript "postMountHook.sh" ''
                    touch /mnt/disko-first-boot
                  '');
                };
              };

18:23:27
@matthewcroughan:defenestrate.itmatthewcroughan it's the touch /mnt/disko-first-boot 18:23:34
@matthewcroughan:defenestrate.itmatthewcroughanworks with ext4, doesn't work with bcachefs 18:23:47
@matthewcroughan:defenestrate.itmatthewcroughanbcachefs kernel module wasn't loaded, so that happened :D18:24:21
@matthewcroughan:defenestrate.itmatthewcroughanImpurities. Impurities everywhere!18:25:12
@matthewcroughan:defenestrate.itmatthewcroughanThis one of the disadvantages to the way disko does things, it needs loopbacks and can't reliably be used outside of a VM builder 18:26:10
@matthewcroughan:defenestrate.itmatthewcroughansystemd-repart works on files and can do a lot of the same things without the downsides of requiring a VM builder, but has some constraints like being unable to start and end arbitrarily18:27:19
@matthewcroughan:defenestrate.itmatthewcroughan
copying path '/nix/store/1p8v7jgaglnk0k6vkjmx0lsjwd3a8vdp-nixos-system-homerouter-24.11.20240731.9f918d6' to 'local'...
installing the boot loader...
chroot: failed to run command ‘/nix/var/nix/profiles/system/activate’: No such file or directory
chroot: failed to run command ‘/nix/var/nix/profiles/system/sw/bin/bash’: No such file or directory
```a
19:45:36
@matthewcroughan:defenestrate.itmatthewcroughan *
copying path '/nix/store/1p8v7jgaglnk0k6vkjmx0lsjwd3a8vdp-nixos-system-homerouter-24.11.20240731.9f918d6' to 'local'...
installing the boot loader...
chroot: failed to run command ‘/nix/var/nix/profiles/system/activate’: No such file or directory
chroot: failed to run command ‘/nix/var/nix/profiles/system/sw/bin/bash’: No such file or directory
```a
```
19:45:37
@matthewcroughan:defenestrate.itmatthewcroughan *
copying path '/nix/store/1p8v7jgaglnk0k6vkjmx0lsjwd3a8vdp-nixos-system-homerouter-24.11.20240731.9f918d6' to 'local'...
installing the boot loader...
chroot: failed to run command ‘/nix/var/nix/profiles/system/activate’: No such file or directory
chroot: failed to run command ‘/nix/var/nix/profiles/system/sw/bin/bash’: No such file or directory
```
19:45:40
@matthewcroughan:defenestrate.itmatthewcroughanI'm unable to perform a nixos-install for an arm64 target, odd19:45:59

Show newer messages


Back to Room ListRoom Version: 10