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!
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.
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
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