summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpicodotdev <pico.dev@gmail.com>2018-11-28 13:53:06 +0100
committerpicodotdev <pico.dev@gmail.com>2018-11-28 13:53:06 +0100
commit809591dde35764d60539207fa529a5f9746ad6f5 (patch)
tree7c27e6ea2de93eff1c92b2e982a838bfe2fba712
parent230a570383a61087055c148251bc86c6557aee35 (diff)
Tweak partition types
-rw-r--r--README.md1
-rw-r--r--alis.sh6
2 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index d097840..3c911ca 100644
--- a/README.md
+++ b/README.md
@@ -95,6 +95,7 @@ https://www.archlinux.org/download/
* https://wiki.archlinux.org/index.php/Main_page
* https://wiki.archlinux.org/index.php/General_recommendations
* https://wiki.archlinux.org/index.php/List_of_applications
+* https://wiki.archlinux.org/index.php/Intel_NUC
* https://wiki.archlinux.org/index.php/Network_configuration
* https://wiki.archlinux.org/index.php/Wireless_network_configuration
* https://wiki.archlinux.org/index.php/NetworkManager
diff --git a/alis.sh b/alis.sh
index 9e4524a..422b54d 100644
--- a/alis.sh
+++ b/alis.sh
@@ -318,6 +318,9 @@ function partition() {
parted -s $DEVICE mklabel gpt mkpart primary fat32 1MiB 512MiB mkpart primary $FILE_SYSTEM_TYPE 512MiB 100% set 1 boot on
sgdisk -t=1:ef00 $DEVICE
+ if [ "$LVM" == "true" ]; then
+ sgdisk -t=2:8e00 $DEVICE
+ fi
fi
if [ "$BIOS_TYPE" == "bios" ]; then
@@ -337,6 +340,9 @@ function partition() {
parted -s $DEVICE mklabel gpt mkpart primary fat32 1MiB 128MiB mkpart primary $FILE_SYSTEM_TYPE 128MiB 512MiB mkpart primary $FILE_SYSTEM_TYPE 512MiB 100% set 1 boot on
sgdisk -t=1:ef02 $DEVICE
+ if [ "$LVM" == "true" ]; then
+ sgdisk -t=3:8e00 $DEVICE
+ fi
fi
if [ -n "$PARTITION_ROOT_ENCRYPTION_PASSWORD" ]; then