====== Full Artix Installation Guide ====== Go to https://artixlinux.org/downloads, there you will find artix ISO's with and without graphical environment. We install the system from bottom up so just download one of those ISO Files (it doesnt matter what you choose). * artix-base-dinit * artix-base-openrc * artix-base-runit * artix-base-s6 \\ ===== Create a Artix USB-Stick ====== ---- After you downloaded the ISO, write your stick with it. sudo dd if=path/to/your.iso of=/dev/sda bs=4M status=progress && sync \\ ===== Boot into your USB Stick ===== ---- **For Windows:** - Press and hold the "Shift" key as you click the "Restart" option in the Start menu or on the sign-in screen. Windows will reboot into a special boot options menu. - Click Troubleshoot > Advanced Options > UEFI Firmware Settings.Once you’re in the BIOS or UEFI firmware menu, look for some sort of “Boot” option menu. - You will find a boot order list. If "USB drive" is above "hard drive" in your boot order, your computer will try the USB drive and thats what we want, which is why you should put your USB Stick (whatever name it is) on top of the list. **For Linux:** You know what to do. \\ ===== Partitioning your Drives ===== ---- After you booted into Artix you will be welcomed by a small GUI, giving you the option to choose your keyboard layout and language. After you did that, press 'from Stick/HDD'. It will install some scripts, then you need to login with: username: root password: artix In order to partition your drives, we use the preinstalled tool fdisk fdisk /dev/nvme0n1 - **Delete Partitions:** We need a new system, therefore press "d" (for delete) and delete all of your partitions. - **Create Partitions:** Then press "n" for new, for the partition number press "1" (for first partition of the drive), for first sector "leave empty and just press enter" and last sector "+1G" which will make the first partition 1GB big in size. For Partition 2/2 press "n" again, partition number "press enter", first sector "press enter" and last sector "press enter" to give the second partition everything else. - Lastly press "w" to write your changes. Now your ''%%lsblk%%'' command should output something like: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT 0 nvme0n1 8:0 0 931.5G 0 disk 1 nvme0n1p1 8:1 0 1G 0 part 2 nvme0n1p2 8:2 0 930.5G 0 part \\ ===== Format and Mount Partitions ===== ---- Jetzt müssen wir noch die Partitionen die wir erstellt haben, richtig formatieren. mkfs.fat -F32 /dev/nvme0n1p1 <- boot partition mkfs.ext4 /dev/nvme0n1p2 <- root partition Dann müssen wir die formatierten Partitionen einbinden: mount /dev/nvme0n1p2 /mnt <- mount root partition mkdir -p /mnt/boot/efi <- create boot directory mount /dev/nvme0n1p1 /mnt/boot/efi <- mount boot partition \\ ===== Install Artix Base System ===== ---- Installiere das Basis-System (wähle das basissystem deiner ISO Datei) sowie den Kernel (Linux) auf der Root-Partition und synchronisiere den Computer mit der Uhrzeit: basestrap /mnt base base-devel openrc elogind-openrc linux linux-firmware Use fstabgen to generate ''%%/etc/fstab%%'', use -U for UUIDs as source identifiers: fstabgen -U /mnt >> /mnt/etc/fstab \\ ===== Configure the base system ===== ---- To configure the system, chroot into your new Artix: artix-chroot /mnt Then, install grub and os-prober (for detecting other installed operating systems). Grub disables os-prober by default therefore edit the configuration file with nano. pacman -S grub os-prober nano efibootmgr nano /etc/default/grub Und entferne das Kommentarzeichen (#): GRUB_DISABLE_OS_PROBER=false Install a bootloader (in our case grub) onto your Partition. grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub <-- for UEFI but works for BIOS too grub-mkconfig -o /boot/grub/grub.cfg <-- File to boot Then, set the root passwd and add a regular user: passwd <- set password for root useradd -m user <- add regular user passwd user <- set password for user Lastly, you can reboot and enter into your new installation: exit umount -R /mnt reboot <- Plug off your USB-Stick before \\ ===== Post-Installation Configuration ===== ---- You can now either configure your system manually yourself or install my auto-bootstrapping script called [[https://git.marlonivo.xyz/sharx|sharx]], which will give you pretty much everything you need. Therefore type: curl -LO marlonivo.xyz/sharks.sh sh sharks.sh