diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-26 01:50:02 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-26 01:50:02 +0100 |
commit | 98fa804168348a365179d32b1d92277e9d2515fb (patch) | |
tree | 360a5c946625fa5fa58802f6f1475363365a9d19 | |
parent | Wiping theorical optimization (diff) | |
download | arch-installer-98fa804168348a365179d32b1d92277e9d2515fb.tar.gz arch-installer-98fa804168348a365179d32b1d92277e9d2515fb.tar.bz2 arch-installer-98fa804168348a365179d32b1d92277e9d2515fb.tar.xz arch-installer-98fa804168348a365179d32b1d92277e9d2515fb.tar.zst arch-installer-98fa804168348a365179d32b1d92277e9d2515fb.zip |
Starting new bios partitioning
-rwxr-xr-x | joes-arch-install-UEFI.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh index b14d8cd..ead5df4 100755 --- a/joes-arch-install-UEFI.sh +++ b/joes-arch-install-UEFI.sh @@ -408,7 +408,8 @@ echo -e "${BGREEN}Wiping complete.${END}" #================================================================# #--------------------- PARTITIONING DISK ------------------------# #================================================================# -fdisk "$drv" << FDISK_INPUT +if [ $efimode = true ]; then + fdisk "$drv" << FDISK_EFI_INPUT g n 1 @@ -430,7 +431,12 @@ t 2 19 w -FDISK_INPUT +FDISK_EFI_INPUT +else + fdisk "$drv" << FDISK_BIOS_INPUT + +FDISK_BIOS_INPUT +fi mkswap "$drv""2" > /dev/null mkfs.fat -F32 "$drv""1" > /dev/null mkfs.ext4 "$drv""3" > /dev/null |