Bcachefs: Difference between revisions

imported>Onny
Add section on NixOS installation
imported>Onny
mNo edit summary
Line 59: Line 59:
</syntaxhighlight>
</syntaxhighlight>


=== NixOS installation on Bcachefs ===
=== NixOS installation on bcachefs ===


Using the installation media generated above, continue the installation as usual following the [https://nixos.org/manual/nixos/stable/index.html#ch-installation instructions of the NixOS manual].  
Using the installation media generated above, continue the installation as usual following the [https://nixos.org/manual/nixos/stable/index.html#ch-installation instructions of the NixOS manual].  
Line 75: Line 75:


<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
mkfs.ext4 -L boot /dev/sda1
# mkfs.ext4 -L boot /dev/sda1
mkfs.bcachefs -L nixos /dev/sda2
# mkfs.bcachefs -L nixos /dev/sda2
</syntaxhighlight>
</syntaxhighlight>


Line 82: Line 82:


<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
mount -t bcachefs /dev/sda2 /mnt
# mount -t bcachefs /dev/sda2 /mnt
mkdir /mnt/boot
# mkdir /mnt/boot
mount /dev/disk/by-label/boot /mnt/boot
# mount /dev/disk/by-label/boot /mnt/boot
</syntaxhighlight>
</syntaxhighlight>