Skip to content

TheRealMephisto/ArchLinuxInstallScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArchLinuxInstallScript

Description

An install script for a basic arch linux installation. At this time, it should only be used for installation on USB drives.
Remember: I'm not responsible for what you do to your computer! If anything bad happens, do not blame me!
I'd advice you to not use this script unless you need a real quick installation. Better use the official Arch Linux Installation Guide.

If you decide to use it, check the code for malicious commands! To be used from an existing Arch Linux Installation! Hope you understand the german language!

Preparation

Create a Linux ext4 filesystem on your usb - don't forget to disable journaling. Use only one partition!
Create the fstab!
Mount the device (e.g. /dev/sdb1) and pacstrap the packages base and base-devel onto it.
Place the files of this project inside /mnt/root/
Change root to the usb.

Example

Executed from inside ./ArchLinuxInstallScript --> wipefs -a /dev/sdb
--> fdisk /dev/sdb
--> mkfs.ext4 -O "^has_journal" /dev/sdb1
--> mount /dev/sdb1 /mnt
--> pacstrap base base-devel
--> cp ./* /mnt/root
--> arch-chroot /mnt

Usage

Choose your version. The script install_arch.sh will install the xfce4 desktop environment, the script install_arch_cmd.sh will leave you only with the command line. The last option is especially useful for usb drives with small size.
Make the install script executable and execute it. It will guide you through the installation.

--> chmod +x /root/install_arch.sh
--> /root/install_arch.sh

About

An install script for a basic arch linux installation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages