summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--beta/install.txt14
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