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 begin
printf %s\n \ printf %s\n \
o \ "label: dos" \
n \ "size=+2G type=uefi" \
"" \ "type=07"
"" \ end | sudo sfdisk "$winDisk"
"" \
+2G \
y \
t \
c \
a \
"" \
\
n \
"" \
"" \
"" \
"" \
y \
t \
"" \
7 \
\
w
end | sudo fdisk "$winDisk"
sudo partprobe sudo partprobe
sudo udevadm trigger sudo udevadm trigger