Marlon's Wiki

it's better when it's simpler

User Tools

Site Tools


start:system:artix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
start:system:artix [2024/12/29 06:55] – [Configure the base system] marlonivostart:system:artix [2024/12/29 07:17] (current) – [Install Artix Base System] marlonivo
Line 8: Line 8:
    * artix-base-s6    * artix-base-s6
  
 +\\
 ===== Create a Artix USB-Stick ====== ===== Create a Artix USB-Stick ======
 ---- ----
Line 15: Line 16:
 </code> </code>
  
 +\\
 ===== Boot into your USB Stick ===== ===== Boot into your USB Stick =====
 ---- ----
Line 26: Line 28:
 You know what to do. You know what to do.
  
 +\\
 ===== Partitioning your Drives ===== ===== Partitioning your Drives =====
 ---- ----
Line 41: Line 44:
  
   - **Delete Partitions:** We need a new system, therefore press "d" (for delete) and delete all of your partitions.   - **Delete Partitions:** We need a new system, therefore press "d" (for delete) and delete all of your partitions.
-  - **BOOT Partition:** 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. +  - **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.
-   - **HOME Partition:** 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.     - Lastly press "w" to write your changes. 
  
Line 54: Line 56:
 </code> </code>
  
 +\\
 ===== Format and Mount Partitions ===== ===== Format and Mount Partitions =====
 ---- ----
Line 60: Line 62:
  
 <code> <code>
-mkfs.ext4 /dev/nvme0n1p1                  <- boot partition  +mkfs.fat -F32 /dev/nvme0n1p1                <- boot partition  
-mkfs.ext4 /dev/nvme0n1p2                  <- root partition+mkfs.ext4 /dev/nvme0n1p2                    <- root partition
 </code> </code>
  
 Dann müssen wir die formatierten Partitionen einbinden: Dann müssen wir die formatierten Partitionen einbinden:
 <code> <code>
-mount /dev/nvme0n1p2 /mnt                  <- mount system partition  +mount /dev/nvme0n1p2 /mnt                  <- mount root partition  
-mkdir /mnt/boot                            <- create boot directory  +mkdir -p /mnt/boot/efi                     <- create boot directory  
-mount /dev/nvme0n1p1 /mnt/boot             <- mount boot partition +mount /dev/nvme0n1p1 /mnt/boot/efi         <- mount boot partition 
 </code> </code>
  
- +\\ 
-===== Install Base System =====+===== Install Artix Base System =====
 ---- ----
  
-Installiere das Basis-System (openrc) sowie den Kernel (Linux) auf der Root-Partition und synchronisiere den Computer mit der Uhrzeit:+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:
 <code> <code>
-basestrap /mnt base base-devel openrc elogind-openrc linux linux-firmware && rc-service ntpd start+basestrap /mnt base base-devel openrc elogind-openrc linux linux-firmware
 </code> </code>
  
-Use fstabgen to generate /etc/fstab, use -U for UUIDs as source identifiers:+Use fstabgen to generate ''%%/etc/fstab%%'', use -U for UUIDs as source identifiers:
 <code>fstabgen -U /mnt >> /mnt/etc/fstab</code> <code>fstabgen -U /mnt >> /mnt/etc/fstab</code>
  
 +\\
 ===== Configure the base system ===== ===== Configure the base system =====
 ---- ----
Line 88: Line 91:
 <code>artix-chroot /mnt</code> <code>artix-chroot /mnt</code>
  
-Then, install grub and os-prober (for detecting other installed operating systems):+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. 
 +<code> 
 +pacman -S grub os-prober nano efibootmgr 
 +nano /etc/default/grub 
 +</code> 
 + 
 +Und entferne das Kommentarzeichen (#): 
 +<code> 
 +GRUB_DISABLE_OS_PROBER=false                                             
 +</code>
  
 +Install a bootloader (in our case grub) onto your Partition.
 <code> <code>
-pacman -S grub os-prober efibootmgr 
 grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub       <-- for UEFI but works for BIOS too 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 grub-mkconfig -o /boot/grub/grub.cfg                                                  <-- File to boot
-</code>                                               +</code>   
  
 Then, set the root passwd and add a regular user: Then, set the root passwd and add a regular user:
 <code> <code>
-passwd                 <- password for root+passwd                 <set password for root
 useradd -m user        <- add regular user useradd -m user        <- add regular user
-passwd user+passwd user            <- set password for user
 </code> </code>
  
Line 107: Line 119:
 exit                          exit                         
 umount -R /mnt umount -R /mnt
-reboot+reboot                  <- Plug off your USB-Stick before
 </code> </code>
  
 +\\
 ===== Post-Installation Configuration ===== ===== Post-Installation Configuration =====
 ---- ----
start/system/artix.1735455357.txt.gz · Last modified: 2024/12/29 06:55 by marlonivo

Donate Marlon Ivo's Webpage