-
Notifications
You must be signed in to change notification settings - Fork 0
/
archpoi.sh
29 lines (25 loc) · 1.06 KB
/
archpoi.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
echo '';
printf '=%.0s' {0..64};
printf '\nAutomated, lightning-fast installation of Arch Linux on GNOME';
printf '\nWith <3 by @reineimi | github.com/reineimi \n';
echo 'Version: 1.3.1';
printf '=%.0s' {0..64} && printf '\n\n';
pacman -Syy;
#printf '\nInstalling Lua...\n';
#pacman -S lua;
printf '\nRetrieving the script...\n';
curl -LO https://raw.githubusercontent.com/reineimi/archpoi/x/poi.lua;
alias poi='lua poi.lua';
fdisk -l;
printf '\n\nPlease format the disk before proceeding further\n';
echo 'To format, for example, /sda, write: fdisk /dev/sda';
echo ' Partitions: d - Delete, n - Create';
echo ' Changes: q - Discard, w - Confirm';
echo 'You would need the following partitions:';
echo ' 1 boot - Recommended: +512M';
echo ' 2 root - any. Recommended: +64G';
echo ' 3 swap - 2G or more. Swap will extend your RAM space. You can disable it later';
echo ' 4 media (Optional) - any. Free space for your files in case system breaks';
echo '!! Remember your disk and the order of partitions !!';
printf "\n\nOnce you've finished, write: lua poi.lua\n";