mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-21 17:11:34 -05:00
Update easy-arch.sh
This commit is contained in:
parent
6102ed9395
commit
20c5cac7c9
@ -12,8 +12,8 @@ done
|
|||||||
# Deleting old partition scheme.
|
# Deleting old partition scheme.
|
||||||
read -r -p "This will delete the current partition table on $DISK. Do you agree [y/N]? " response
|
read -r -p "This will delete the current partition table on $DISK. Do you agree [y/N]? " response
|
||||||
response=${response,,}
|
response=${response,,}
|
||||||
then
|
|
||||||
if [[ "$response" =~ ^(yes|y)$ ]]
|
if [[ "$response" =~ ^(yes|y)$ ]]
|
||||||
|
then
|
||||||
wipefs -af $DISK
|
wipefs -af $DISK
|
||||||
sgdisk -Zo $DISK
|
sgdisk -Zo $DISK
|
||||||
else
|
else
|
||||||
@ -71,4 +71,4 @@ mount -o compress=zstd,subvol=@snapshots $BTRFS /mnt/.snapshots
|
|||||||
mount -o nodatacow,subvol=@var_log $BTRFS /mnt/var/log
|
mount -o nodatacow,subvol=@var_log $BTRFS /mnt/var/log
|
||||||
mount -o nodatacow,subvol=@swap $BTRFS /mnt/swap
|
mount -o nodatacow,subvol=@swap $BTRFS /mnt/swap
|
||||||
mount $ESP /mnt/boot
|
mount $ESP /mnt/boot
|
||||||
echo "Done."
|
echo "Done."
|
||||||
|
Loading…
Reference in New Issue
Block a user