maybe formatting works now?

main
The_miro 2025-05-25 20:04:02 +02:00
parent 62ca7e9754
commit ba69e2e6b8
1 changed files with 3 additions and 8 deletions

View File

@ -114,14 +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 -n "Enter blockdev to install on: "
read blockdevn
let "blockdev=blockdevn"
fdisk $blockdev
else
echo ''' echo '''
@ -153,6 +146,8 @@ else
fi fi
fdisk $blockdev
echo "Formatting Complete" echo "Formatting Complete"
mkfs.fat "$blockdev"p1 mkfs.fat "$blockdev"p1