Compare commits
2 commits
9d87760e00
...
0d839ab407
Author | SHA1 | Date | |
---|---|---|---|
0d839ab407 | |||
1531c517b9 |
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ sgdisk -n 0:0:+"${ESP}" -t 0:c12a7328-f81f-11d2-ba4b-00a0c93ec93b -c 0:"EFI Syst
|
||||||
# Create usr-Partition
|
# Create usr-Partition
|
||||||
sgdisk -n 0:0:+"${USR}" -t 0:8484680c-9521-48c6-9c11-b0720656f69e -c 0:"Usr-Partition" "${DRIVE}"
|
sgdisk -n 0:0:+"${USR}" -t 0:8484680c-9521-48c6-9c11-b0720656f69e -c 0:"Usr-Partition" "${DRIVE}"
|
||||||
# Create usrhash-Partition
|
# Create usrhash-Partition
|
||||||
sgdisk -n 0:0:+64M -t 0: -c 0:"usrhash-Partition" "${DRIVE}"
|
sgdisk -n 0:0:+64M -t 0:77ff5f63-e7b6-4633-acf4-1565b864c0e6 -c 0:"usrhash-Partition" "${DRIVE}"
|
||||||
# Create Root-Partition
|
# Create Root-Partition
|
||||||
sgdisk -n 0:0:0 -t 0:4f68bce3-e8cd-4db1-96e7-fbcaf984b709 -c 0:"System Root" "${DRIVE}"
|
sgdisk -n 0:0:0 -t 0:4f68bce3-e8cd-4db1-96e7-fbcaf984b709 -c 0:"System Root" "${DRIVE}"
|
||||||
|
|
||||||
|
@ -112,7 +112,7 @@ if [[ $NOCASEMATCH_UNSET ]]; then
|
||||||
shopt -s nocasematch
|
shopt -s nocasematch
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for (( i=${NUMBER_OF_PARTITIONS}; ${i} > 0 ; i=${i}-1 )) ; do
|
for (( i=NUMBER_OF_PARTITIONS; i > 0 ; i=i-1 )) ; do
|
||||||
OUTPUT=$(sgdisk -i "${i}" "${DRIVE}")
|
OUTPUT=$(sgdisk -i "${i}" "${DRIVE}")
|
||||||
PARTITION_EXISTS=$(echo "${OUTPUT}" | grep -c "GUID")
|
PARTITION_EXISTS=$(echo "${OUTPUT}" | grep -c "GUID")
|
||||||
if [[ "${PARTITION_EXISTS}" != "0" ]]; then
|
if [[ "${PARTITION_EXISTS}" != "0" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue