From 418e989946085e32ba705b671f69c22e653168a2 Mon Sep 17 00:00:00 2001 From: Luke Else Date: Thu, 20 Mar 2025 16:44:34 +0000 Subject: [PATCH] Renamed /dev/sda2 to sda1 --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index b042c71..71b0796 100644 --- a/install.sh +++ b/install.sh @@ -1,11 +1,11 @@ # Assuming /dev/sda is the target disk parted /dev/sda -- mklabel gpt parted /dev/sda -- mkpart primary ext4 1MiB 100% -mkfs.ext4 /dev/sda2 -mount /dev/sda2 /mnt +mkfs.ext4 /dev/sda1 +mount /dev/sda1 /mnt -cryptsetup luksFormat /dev/sda2 -cryptsetup open /dev/sda2 root +cryptsetup luksFormat /dev/sda1 +cryptsetup open /dev/sda1 root mkfs.ext4 /dev/mapper/root mount /dev/mapper/root /mnt