<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Install on YROOT</title><link>https://yroot.io/en/tags/install/</link><description>Recent content in Install on YROOT</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 11 Mar 2023 17:34:00 +0200</lastBuildDate><atom:link href="https://yroot.io/en/tags/install/index.xml" rel="self" type="application/rss+xml"/><item><title>Archlinux with Wayland</title><link>https://yroot.io/en/posts/archlinux-with-wayland/</link><pubDate>Sat, 11 Mar 2023 17:34:00 +0200</pubDate><guid>https://yroot.io/en/posts/archlinux-with-wayland/</guid><description>&lt;h2
 id="arch-linux-important-links"
 class="prose-h2"
&gt;
 &lt;a
 href="#arch-linux-important-links"
 class="prose-anchor-prefix"
 aria-hidden="true"
 tabindex="-1"
 &gt;##&lt;/a&gt;Arch Linux Important Links&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://archlinux.org/download/" data-path="/download/" target="_blank" rel="noopener nofollow"&gt;Arch Linux Download Page&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://wiki.archlinux.org/title/Installation_guide" data-path="/title/Installation_guide" target="_blank" rel="noopener nofollow"&gt;Arch Linux Wiki Install Guide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2
 id="basic-setup"
 class="prose-h2"
&gt;
 &lt;a
 href="#basic-setup"
 class="prose-anchor-prefix"
 aria-hidden="true"
 tabindex="-1"
 &gt;##&lt;/a&gt;Basic Setup&lt;/h2&gt;
&lt;p&gt;Load keyboard layout&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;loadkeys de&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h3
 id="perpare-disk"
 class="prose-h3"
&gt;
 &lt;a
 href="#perpare-disk"
 class="prose-anchor-prefix"
 aria-hidden="true"
 tabindex="-1"
 &gt;###&lt;/a&gt;Perpare Disk&lt;/h3&gt;
&lt;h4
 id="partitioning"
 class="prose-h4"
&gt;
 &lt;a
 href="#partitioning"
 class="prose-anchor-prefix"
 aria-hidden="true"
 tabindex="-1"
 &gt;####&lt;/a&gt;Partitioning&lt;/h4&gt;
&lt;p&gt;Target:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;1G Boot Partition&lt;/li&gt;
&lt;li&gt;(RAM * 1.5) Swap Partition&lt;/li&gt;
&lt;li&gt;Root Partition&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;cfdisk /dev/sda&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h4
 id="formatting"
 class="prose-h4"
&gt;
 &lt;a
 href="#formatting"
 class="prose-anchor-prefix"
 aria-hidden="true"
 tabindex="-1"
 &gt;####&lt;/a&gt;Formatting&lt;/h4&gt;

&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mkfs.fat -F &lt;span class="m"&gt;32&lt;/span&gt; /dev/sda1
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mkswap /dev/sda2&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Create encrypted ext4 root partition&lt;/p&gt;

&lt;pre tabindex="0"&gt;&lt;code&gt;cryptsetup -y -v luksFormat /dev/sda3
cryptsetup open /dev/sda2 cryptroot
mkfs.ext4 /dev/mapper/root&lt;/code&gt;&lt;/pre&gt;
&lt;h4
 id="mount-partitions"
 class="prose-h4"
&gt;
 &lt;a
 href="#mount-partitions"
 class="prose-anchor-prefix"
 aria-hidden="true"
 tabindex="-1"
 &gt;####&lt;/a&gt;Mount partitions&lt;/h4&gt;

&lt;pre tabindex="0"&gt;&lt;code&gt;mount /dev/mapper/cryptroot /mnt

mount --mkdir /dev/sda1 /mnt/boot

swapon /dev/sda2&lt;/code&gt;&lt;/pre&gt;
&lt;h3
 id="prepare-pacman"
 class="prose-h3"
&gt;
 &lt;a
 href="#prepare-pacman"
 class="prose-anchor-prefix"
 aria-hidden="true"
 tabindex="-1"
 &gt;###&lt;/a&gt;Prepare pacman&lt;/h3&gt;
&lt;p&gt;Update download server&lt;/p&gt;</description></item></channel></rss>