diff options
author | Rudy Bousset <bousset.rudy@gmail.com> | 2019-08-31 13:27:51 +0200 |
---|---|---|
committer | Rudy Bousset <bousset.rudy@gmail.com> | 2019-08-31 13:27:51 +0200 |
commit | 7ae40911989a31701516b511c61a931ae00251c1 (patch) | |
tree | a223263b57e9600f9b82acc57d41b6624441db37 /arch_install-UEFI.sh | |
download | arch-installer-7ae40911989a31701516b511c61a931ae00251c1.tar.gz arch-installer-7ae40911989a31701516b511c61a931ae00251c1.tar.bz2 arch-installer-7ae40911989a31701516b511c61a931ae00251c1.tar.xz arch-installer-7ae40911989a31701516b511c61a931ae00251c1.tar.zst arch-installer-7ae40911989a31701516b511c61a931ae00251c1.zip |
First commit
Diffstat (limited to '')
-rwxr-xr-x | arch_install-UEFI.sh | 43 |
1 files changed, 43 insertions, 0 deletions
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 |