Restructure, Sgdisk -e
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
PBX.img
|
||||
PBX.qcow2
|
||||
PBX-Test.qcow2
|
||||
|
||||
0
Image/PBX.img.lz4
Normal file → Executable file
0
Image/PBX.img.lz4
Normal file → Executable file
@@ -52,6 +52,7 @@ lz4 -dc PBX-LVM.img.lz4 | dd of=$disk_name status=progress
|
||||
|
||||
# Repartition disk using sgdisk
|
||||
echo "Expanding Partition 3 on $disk_name..."
|
||||
sgdisk -e $disk_name
|
||||
sgdisk -v $disk_name
|
||||
sgdisk --delete=3 $disk_name
|
||||
sgdisk --new=3:0:0 --typecode=3:8e00 --change-name=3:"Linux LVM" $disk_name
|
||||
Reference in New Issue
Block a user