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 07:10] – [Format and Mount Partitions] marlonivostart:system:artix [2024/12/29 07:17] (current) – [Install Artix Base System] marlonivo
Line 68: Line 68:
 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/efi                        <- create boot directory +mkdir -p /mnt/boot/efi                     <- create boot directory 
 mount /dev/nvme0n1p1 /mnt/boot/efi         <- mount boot partition  mount /dev/nvme0n1p1 /mnt/boot/efi         <- mount boot partition 
 </code> </code>
Line 79: Line 79:
 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: 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>
  
Line 91: 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 efibootmgr +
-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 +
-</code>    +
- +
-After that, you should see an warning "**os-prober will not detect other bootable partitions**", therefore bearbeite die GRUB-Konfiguration: +
-Öffne die Datei:+
 <code> <code>
 +pacman -S grub os-prober nano efibootmgr
 nano /etc/default/grub nano /etc/default/grub
 </code> </code>
Line 109: Line 101:
 GRUB_DISABLE_OS_PROBER=false                                             GRUB_DISABLE_OS_PROBER=false                                            
 </code> </code>
 +
 +Install a bootloader (in our case grub) onto your Partition.
 +<code>
 +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
 +</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 121: Line 119:
 exit                          exit                         
 umount -R /mnt umount -R /mnt
-reboot+reboot                  <- Plug off your USB-Stick before
 </code> </code>
  
start/system/artix.1735456220.txt.gz · Last modified: 2024/12/29 07:10 by marlonivo

Donate Marlon Ivo's Webpage