| 11 Aug 2024 |
matthewcroughan | changing the FS to ext4 makes it work correctly, this is odd stuff | 18:02:05 |
lassulus | Maybe it has to do with the alignment changes you did? | 18:04:58 |
matthewcroughan | 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 | * 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 | And if I use ext4, everything is fine too. | 18:06:33 |
matthewcroughan | Yeah, something about the assumptions of the diskoScript don't work on real hardware like this SD card | 18:21:12 |
matthewcroughan | I've tried two SD cards in two interfaces by now | 18:21:27 |
matthewcroughan | trying another medium | 18:22:46 |
matthewcroughan | figured it out | 18:23:25 |
matthewcroughan | 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 | it's the touch /mnt/disko-first-boot | 18:23:34 |
matthewcroughan | works with ext4, doesn't work with bcachefs | 18:23:47 |