Format disk using sfdisk

This commit is contained in:
Manuel Thalmann 2024-09-22 21:45:50 +02:00
parent 995fd65128
commit 14aceeb0f7

View file

@ -258,30 +258,11 @@ begin
begin
printf %s\n \
o \
n \
"" \
"" \
"" \
+2G \
y \
t \
c \
a \
"" \
\
n \
"" \
"" \
"" \
"" \
y \
t \
"" \
7 \
\
w
end | sudo fdisk "$winDisk"
"label: dos" \
"size=+2G type=uefi" \
"type=07"
end | sudo sfdisk "$winDisk"
sudo partprobe
sudo udevadm trigger