!oNSIfazDqEcwhcOjSL:matrix.org

disko

362 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko93 Servers

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


SenderMessageTime
11 Aug 2024
@matthewcroughan:defenestrate.itmatthewcroughanchanging the FS to ext4 makes it work correctly, this is odd stuff18:02:05
@lassulus:lassul.uslassulusMaybe it has to do with the alignment changes you did?18:04:58
@matthewcroughan:defenestrate.itmatthewcroughan But if I run the mkfs.bcachefs cmd from the set -x debug manually by hand after it exists, I don't get the "Operation not permitted" error 18:06:04
@matthewcroughan:defenestrate.itmatthewcroughan * But if I run the mkfs.bcachefs cmd from the set -x debug manually by hand after it exits, I don't get the "Operation not permitted" error 18:06:24
@matthewcroughan:defenestrate.itmatthewcroughanAnd if I use ext4, everything is fine too.18:06:33
@matthewcroughan:defenestrate.itmatthewcroughanYeah, something about the assumptions of the diskoScript don't work on real hardware like this SD card18:21:12
@matthewcroughan:defenestrate.itmatthewcroughanI've tried two SD cards in two interfaces by now18:21:27
@matthewcroughan:defenestrate.itmatthewcroughantrying another medium18:22:46
@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

Show newer messages


Back to Room ListRoom Version: 10