Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wick3dr0se/archstrap

A stupid simple script to bootstrap Arch Linux from other Linux distributions
https://github.com/wick3dr0se/archstrap

arch-linux archlinux bash bootstrap pacman pacstrap

Last synced: 6 days ago
JSON representation

A stupid simple script to bootstrap Arch Linux from other Linux distributions

Awesome Lists containing this project

README

        


archstrap


A stupid simple, yet powerful Bash script to bootstrap a minimal Arch Linux system environment from any existing Linux system. archstrap streamlines the Arch Linux installer process, while avoiding the typical complications of ISO configurations and other complex setups. archstrap sets up a tiny root filesystem with just the essential packages such as pacman, pacstrap and genfstab


After archstrap execution, simply follow the ArchWiki installation guide starting at disk partitioning












## Acquisition
```bash
git clone https://github.com/wick3dr0se/archstrap; cd "${_##*/}"
```
---

## Execution
```bash
./archstrap [mountpoint] [rootfs_name]
```

If mountpoint is not specified environment variables `$TMPDIR` and `$XDG_RUNTIME_DIR` are checked. If those envs are empty, it will try to fallback to directory /tmp. on some systems they may be set to something undesirable, like seen in [issue #11](https://github.com/wick3dr0se/archstrap/issues/11); if this is the case, `export $TMPDIR` in your ~/.bash_profile, as discussed above

If no name is given for the root filesystem (rootfs_name), the filesystem will be named archrootfs

---

## Tips
`archstrap` must be executed as superuser

`archstrap` verifies the gpg signature of the global mirror it uses. if it fails keys may need to be manually received as *superuser*

```bash
sudo gpg --receive-key
```

---