arch-bootstrap

Bootstrap a base Arch Linux system

  • Owner: tokland/arch-bootstrap
  • Platform:
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

arch-bootstrap

Bootstrap a base Arch Linux system from any GNU distro.

Install

# install -m 755 arch-bootstrap.sh /usr/local/bin/arch-bootstrap

Examples

Create a base arch distribution in directory 'myarch' (currently running arch by default):

# arch-bootstrap myarch

The same but use arch x86_64 and a given repository source:

# arch-bootstrap -a x86_64 -r "ftp://ftp.archlinux.org" myarch 

Usage

Once the process has finished, chroot to the destination directory (default user: root/root):

# chroot destination

Note that some packages require some system directories to be mounted. Some of the commands you can try:

# mount --bind /proc myarch/proc
# mount --bind /sys myarch/sys
# mount --bind /dev myarch/dev
# mount --bind /dev/pts myarch/dev/pts

License

This project is licensed under the terms of the MIT license

Main metrics

Overview
Name With Ownertokland/arch-bootstrap
Primary LanguageShell
Program languageShell (Language Count: 1)
Platform
License:
所有者活动
Created At2013-04-10 16:05:03
Pushed At2025-01-27 19:06:45
Last Commit At2025-01-27 20:06:45
Release Count0
用户参与
Stargazers Count315
Watchers Count12
Fork Count87
Commits Count85
Has Issues Enabled
Issues Count26
Issue Open Count8
Pull Requests Count27
Pull Requests Open Count0
Pull Requests Close Count12
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private