From 7ae40911989a31701516b511c61a931ae00251c1 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sat, 31 Aug 2019 13:27:51 +0200 Subject: First commit --- README.md | 1 + arch_install-UEFI.sh | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 README.md create mode 100755 arch_install-UEFI.sh diff --git a/README.md b/README.md new file mode 100644 index 0000000..2a73a37 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +Work in progress diff --git a/arch_install-UEFI.sh b/arch_install-UEFI.sh new file mode 100755 index 0000000..49af49b --- /dev/null +++ b/arch_install-UEFI.sh @@ -0,0 +1,43 @@ +#!/bin/bash + +echo "#============ WELCOME ============#" +echo "# #" +echo "# Welcome to Joe's #" +echo "# ARCH LINUX #" +echo "# UEFI INSTALL SCRIPT #" +echo "# #" +echo "#=================================#" +echo +echo +echo +echo "Please enter letter of the drive on which Arch Linux should be installed:" +echo "~> /dev/sd_" +read drivenum +drive="/dev/sd$drivenum" +echo $drive +echo +echo "Please enter your swap partition disired size:" +echo "~> _G" +read swps +echo +echo "Please enter your root partition disired size:" +echo "~> __G" +read rts +rtsze=$rts"G" +swpsze=$swps"G" +btsze="128M" +clear +echo "#=========================== CONFIRM THIS IS EXACT ==============================#" +echo "# #" +echo "# DRIVE TO USE: $drive #" +echo "# #" +echo "# BOOT partiton size > $btsze ROOT partition size > $rtsze #" +echo "# SWAP partiton size > $swpsze HOME partition size > all that remains #" +echo "# #" +echo "#================================================================================#" +echo "Is that correct?" +echo "~> [y/n]" +read answr +if [ $answr -eq "y" ] then + echo "aborting" +fi -- cgit v1.2.3