aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-11-17 16:07:43 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-11-17 16:07:43 +0100
commitadb1477921fad82d068838548158cbaae6a0ce58 (patch)
tree980745fb6a77176ba9d53ca5a1f4ccf2ebbb8199
parentReverted test (diff)
downloadarch-installer-adb1477921fad82d068838548158cbaae6a0ce58.tar.gz
arch-installer-adb1477921fad82d068838548158cbaae6a0ce58.tar.bz2
arch-installer-adb1477921fad82d068838548158cbaae6a0ce58.tar.xz
arch-installer-adb1477921fad82d068838548158cbaae6a0ce58.tar.zst
arch-installer-adb1477921fad82d068838548158cbaae6a0ce58.zip
Changed to GTP partition table
-rwxr-xr-xjoes-arch-install-UEFI.sh14
1 files changed, 2 insertions, 12 deletions
diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh
index 362a788..fa91c0f 100755
--- a/joes-arch-install-UEFI.sh
+++ b/joes-arch-install-UEFI.sh
@@ -378,36 +378,26 @@ fi
dd if=/dev/zero of="$drv" bs=1M status=progress > /dev/null
wipefs --all --force "$drv"
fdisk "$drv" << FDISK_INPUT
-o
+g
n
-p
1
+$btsze
-Y
n
-p
2
+$swpsze
-Y
n
-p
3
+$rtsze
-Y
n
-p
4
t
-1
-ef
-t
2
-82
+19
w
FDISK_INPUT
mkswap "$drv""2" > /dev/null