feat: better installation instructions
This commit is contained in:
parent
7c3ddc91a2
commit
ab9a661dcc
17
README.md
17
README.md
@ -1,31 +1,28 @@
|
||||
# archinstall
|
||||
|
||||
My personal Arch install script. It automates from step 2 of ArchWiki's
|
||||
[Installation guide](https://wiki.archlinux.org/title/Installation_guide)
|
||||
and more!
|
||||
[Installation guide](https://wiki.archlinux.org/title/Installation_guide) and
|
||||
more!
|
||||
|
||||
## How to
|
||||
|
||||
Follow the [Pre-installation](https://wiki.archlinux.org/title/Installation_guide#Pre-installation).
|
||||
Once you chrooted in the system, clone this script
|
||||
```bash
|
||||
git clone https://git.maby.dev/ange/archinstall /tmp/ai && cd $_
|
||||
```
|
||||
|
||||
**Review and edit the `config` file before running any script!**
|
||||
|
||||
To install the base system, run:
|
||||
```bash
|
||||
$EDITOR config
|
||||
./base.sh
|
||||
```
|
||||
|
||||
If you want a post install script, login as a normal user and run (replace
|
||||
*desktopEnvironment* with your choice):
|
||||
If you want to install a gui (replace *gui* with your choice):
|
||||
```bash
|
||||
./desktopEnvironment/install.sh
|
||||
$EDITOR gui/config
|
||||
./gui/install.sh
|
||||
```
|
||||
|
||||
For the dotfiles, run the script as the new user:
|
||||
For the dotfiles, run the script as the newly created user:
|
||||
```bash
|
||||
su $user -c ./dotfiles.sh
|
||||
```
|
||||
|
3
base.sh
3
base.sh
@ -63,4 +63,5 @@ fi
|
||||
grub-install --target=x86_64-efi --bootloader-id=GRUB
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
echo -e "${BOLD}${GREEN}DONE. Ctrl+D, umount -R /mnt and reboot${NORMAL}"
|
||||
echo -e "${BOLD}${GREEN}DONE. You can install a desktop environment \
|
||||
(see README.md). Then, you can Ctrl+D, umount -R /mnt and reboot${NORMAL}"
|
||||
|
Loading…
Reference in New Issue
Block a user