arch-bootstrap

Bootstrap a base Arch Linux system

  • 所有者: tokland/arch-bootstrap
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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

主要指標

概覽
名稱與所有者tokland/arch-bootstrap
主編程語言Shell
編程語言Shell (語言數: 1)
平台
許可證
所有者活动
創建於2013-04-10 16:05:03
推送於2025-01-27 19:06:45
最后一次提交2025-01-27 20:06:45
發布數0
用户参与
星數315
關注者數12
派生數87
提交數85
已啟用問題?
問題數26
打開的問題數8
拉請求數27
打開的拉請求數0
關閉的拉請求數12
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?