Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/wick3dr0se/archstrap
- Owner: wick3dr0se
- License: gpl-3.0
- Created: 2023-03-11T09:40:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-22T02:43:35.000Z (about 1 month ago)
- Last Synced: 2024-12-12T06:55:06.554Z (13 days ago)
- Topics: arch-linux, archlinux, bash, bootstrap, pacman, pacstrap
- Language: Shell
- Homepage:
- Size: 97.7 KB
- Stars: 70
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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 aspacman
,pacstrap
andgenfstab
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
```---