maybe formatting works now?
parent
62ca7e9754
commit
ba69e2e6b8
|
|
@ -114,15 +114,8 @@ 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 '''
|
||||||
|
|
||||||
g
|
g
|
||||||
|
|
@ -153,6 +146,8 @@ else
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
fdisk $blockdev
|
||||||
|
|
||||||
echo "Formatting Complete"
|
echo "Formatting Complete"
|
||||||
|
|
||||||
mkfs.fat "$blockdev"p1
|
mkfs.fat "$blockdev"p1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue