new approach to formatting maybeeeee

main
The_miro 2025-05-25 20:08:55 +02:00
parent ba69e2e6b8
commit 5ddc54271a
1 changed files with 4 additions and 1 deletions

View File

@ -114,7 +114,7 @@ echo "running lsblk..."
lsblk lsblk
echo -n "Enter blockdev to install on or m for manual partitioning: " echo -n "Enter blockdev to install on or m for manual partitioning: "
read blockdev read blockdev
if [ "blockdev" != 'm' ]; then if [ "$blockdev" != 'm' ]; then
echo ''' echo '''
@ -146,6 +146,9 @@ if [ "blockdev" != 'm' ]; then
fi fi
echo -n "Enter blockdev to install on: "
read blockdevnew
$blockdev=$blockdevnew
fdisk $blockdev fdisk $blockdev
echo "Formatting Complete" echo "Formatting Complete"