Format disk using sfdisk
This commit is contained in:
parent
995fd65128
commit
14aceeb0f7
1 changed files with 5 additions and 24 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue