Skip to content

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

License

Notifications You must be signed in to change notification settings

wick3dr0se/archstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

Execution

./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; 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

sudo gpg --receive-key <KEY>

About

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

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages