diff options
author | Christoph Cullmann <christoph@cullmann.io> | 2024-08-20 20:44:02 +0200 |
---|---|---|
committer | Christoph Cullmann <christoph@cullmann.io> | 2024-08-20 20:44:02 +0200 |
commit | a28b977c3e45f2ca5e8c18fd76f74293e7a20f4a (patch) | |
tree | 092070417d3c5c55bfe48eb72b863c9f067bcdb4 /beta/install.txt | |
parent | ce416956c65c8ff0c4c8d389b0b52b247a7a40d0 (diff) |
no raid, 4k stuff has issues here with alignment
Diffstat (limited to 'beta/install.txt')
-rw-r--r-- | beta/install.txt | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/beta/install.txt b/beta/install.txt index f121ad3..e0f99d1 100644 --- a/beta/install.txt +++ b/beta/install.txt @@ -28,10 +28,6 @@ efibootmgr DISK=/dev/disk/by-id/nvme-SAMSUNG_MZVLB1T0HBLR-000L2_S4DZNX0R362286 HOST=beta -# ensure 4k sector size -nvme format --lbaf=1 --force $DISK -nvme id-ns -H $DISK - sleep 5 # kill old data @@ -58,14 +54,14 @@ mkfs.fat -F 32 -n EFIBOOT $DISK-part1 sleep 5 -# create the crypto containers with proper 4k sectors -cryptsetup luksFormat --sector-size 4096 --batch-mode --verify-passphrase $DISK-part2 +# create the crypto container +cryptsetup luksFormat --batch-mode --verify-passphrase $DISK-part2 -# open the containers +# open the container cryptsetup luksOpen $DISK-part2 crypt0 -# create one large btrfs on them, RAID0 with strong checksum -mkfs.btrfs -f -d raid0 -m raid0 --checksum blake2 --features block-group-tree --label nix /dev/mapper/crypt0 +# create one large btrfs on them with strong checksum +mkfs.btrfs -f --checksum blake2 --features block-group-tree --label nix /dev/mapper/crypt0 sleep 5 |