nixos-apple-silicon icon indicating copy to clipboard operation
nixos-apple-silicon copied to clipboard

[Enhancement] btrfs works nicely - mention it in the guide docs

Open aspauldingcode opened this issue 6 months ago • 2 comments
trafficstars

I used btrfs instead of ext4. I used nix-shell -p to install btrfs-progs.

However, I use flakes and I did a silly.

I rebuilt a nix flake which describes the root partition as a ext4 - I forgot to update it to say btrfs. Now I can't boot.

I'm going to fix it by reinstalling again.

But I thought I'd mention it because btrfs is a usable option :)

aspauldingcode avatar May 01 '25 13:05 aspauldingcode

Just for your information, you don't need to fully re-install from scratch. You can just boot into the installer, mount your partitions manually and run nixos-install (with the correct options, like --flake PATH_TO_FLAKE_FILE#HOSTNAME) after updating the configuration to have the correct fileSystems value. It shouldn't wipe your data if you did things correctly.

ToborWinner avatar May 01 '25 21:05 ToborWinner

Just for your information, you don't need to fully re-install from scratch. You can just boot into the installer, mount your partitions manually and run nixos-install (with the correct options, like --flake PATH_TO_FLAKE_FILE#HOSTNAME) after updating the configuration to have the correct fileSystems value. It shouldn't wipe your data if you did things correctly.

Saved me. Thank you!

aspauldingcode avatar May 01 '25 23:05 aspauldingcode

@ToborWinner @aspauldingcode Can you specify exactly what to do? I don't have any background with btrfs, I opened my own issue https://github.com/nix-community/nixos-apple-silicon/issues/319.

Oneechan69 avatar Jul 08 '25 03:07 Oneechan69

Looks like you figured it out

aspauldingcode avatar Jul 29 '25 17:07 aspauldingcode