-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path2step
More file actions
executable file
·34 lines (31 loc) · 1.01 KB
/
2step
File metadata and controls
executable file
·34 lines (31 loc) · 1.01 KB
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
30
31
32
33
34
#!/bin/bash
# https://youtu.be/RuLSZkWwlC4
# https://github.com/quarkscript/batch-install-scripts
if [ ! -e "getget" ]&&[ -e "getget_old" ]; then
./getget_old
elif [ -e "getget" ]; then
./getget |& tee -a /install.log
else
echo 'Error: missing "getget" or "getget_old"'
exit 1
fi
mkinitcpio -p linux |& tee -a /install.log
grub-mkconfig -o /boot/grub/grub.cfg |& tee -a /install.log
echo "
Fast reinstall instruction: (if needed)
- exit from arch-chroot
- execute mc and remove all folders from /mnt except /var/cache/pacman/pkg
- remove wrong/unneeded packages from /mnt/pacmanlist.txt
- exit from mc and repeat /mnt/1step
" |& tee -a /install.log
if [ -e ignored.txt ]
then
echo "packages unavailable from repository:" |& tee -a /install.log
echo "$(cat ignored.txt)" |& tee -a /install.log
echo "You can install alternatives manually or try without them" |& tee -a /install.log
fi
echo '
before reboot do not forget
to install bootloader like
grub-install /dev/sdX
' |& tee -a /install.log