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).
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
For Windows:
For Linux: You know what to do.
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
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
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
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
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
You can now either configure your system manually yourself or install my auto-bootstrapping script called sharx, which will give you pretty much everything you need. Therefore type:
curl -LO marlonivo.xyz/sharks.sh sh sharks.sh