feat: better installation instructions
This commit is contained in:
parent
7c3ddc91a2
commit
ab9a661dcc
17
README.md
17
README.md
@ -1,31 +1,28 @@
|
|||||||
# archinstall
|
# archinstall
|
||||||
|
|
||||||
My personal Arch install script. It automates from step 2 of ArchWiki's
|
My personal Arch install script. It automates from step 2 of ArchWiki's
|
||||||
[Installation guide](https://wiki.archlinux.org/title/Installation_guide)
|
[Installation guide](https://wiki.archlinux.org/title/Installation_guide) and
|
||||||
and more!
|
more!
|
||||||
|
|
||||||
## How to
|
## How to
|
||||||
|
|
||||||
Follow the [Pre-installation](https://wiki.archlinux.org/title/Installation_guide#Pre-installation).
|
Follow the [Pre-installation](https://wiki.archlinux.org/title/Installation_guide#Pre-installation).
|
||||||
Once you chrooted in the system, clone this script
|
Once you chrooted in the system, clone this script
|
||||||
```bash
|
```bash
|
||||||
git clone https://git.maby.dev/ange/archinstall /tmp/ai && cd $_
|
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:
|
To install the base system, run:
|
||||||
```bash
|
```bash
|
||||||
|
$EDITOR config
|
||||||
./base.sh
|
./base.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want a post install script, login as a normal user and run (replace
|
If you want to install a gui (replace *gui* with your choice):
|
||||||
*desktopEnvironment* with your choice):
|
|
||||||
```bash
|
```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
|
```bash
|
||||||
su $user -c ./dotfiles.sh
|
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-install --target=x86_64-efi --bootloader-id=GRUB
|
||||||
grub-mkconfig -o /boot/grub/grub.cfg
|
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