This commit is contained in:
root 2025-02-12 02:30:43 +01:00
parent 459862595a
commit 75c0985ddd
6 changed files with 359 additions and 18 deletions

View file

@ -1,14 +1,16 @@
+++
title = "TylkoLinux is done, here's how to install it."
title = "TylkoLinux install guide (Delirium)."
description = "This article will go over the installation guide for the distro"
date = 2025-01-30
trigger = "TylkoLinux is still in experimental stage, and you should only install it if you know what you're doing. We do not take responsibility for any bricked machine as a result of not following the guide."
disclaimer = """
Do not follow this article. This page is NOT done yet.
"""
[extra]
toc = true
+++
`TylkoLinux 25.1/.2 Snyx x86_64`
Requires the branch for `TylkoLinux 25.2 Delirium x86_64`
As you may have read in the description, this article serves as a guide to install (build) TylkoLinux on your machine.
{% alert(important=true) %}
@ -18,8 +20,11 @@ Prerequisites:
- CPU with at least four cores
- 8GB RAM
- A linux system running on the host system
- INTERNET ACCESS!!! (also required for other install scripts in EIC)
{% end %}
# Update as of now: DON'T PROCEED WITH THE GUIDE YET. The script is still in its testing phase, and I'm halfway done successfully testing it :p
## S1: Cloning the repository
The repository is available on GitHub. You can clone into it by running the following (if you have Git installed):
```bash
@ -32,6 +37,12 @@ Proceed to change directory into it.
cd ./TylkoLinux/
```
And switch branch into the version.
```bash
git checkout delirium
```
## S2: Run the compatibility checker
Run the compatibility check by running the script that is inside of the repository:
```bash
@ -131,6 +142,17 @@ To download packages and patches to the directory, type in the following functio
einrichter> einrichter.installer.pkgs
```
This action will proceed to download the packages and patches to $LFS/sources, and also the checksums.
Watch out, here's the next step:
Extract the packages and rename them to the appropriate directory names
```bash
einrichter> einrichter.xr
```
IMPORTANT!! Run this too, to prepare for the installation of Linux, and more.
```bash
einrichter> einrichter.add.fs
```
### S6.2: Creating a limited directory layout
@ -197,6 +219,11 @@ einrichter/eic> eic.essentials.create # Creates necessary tools
einrichter/eic> eic.essentials.install # Installs the tools
einrichter/eic> eic.clean # Clean up the environment
```
BEFORE BUILDING THE ACTUAL SYSTEM!!!!
Run this command. It applies the RrX bugfix that removes and re-extracts affected packages.
```bash
einrichter/eic> eic.bugfix.RrX
```
Build the system by running the following:
```bash
einrichter/eic> eic.system.build
@ -288,7 +315,171 @@ To configure the hostname, enter the following command:
einrichter/eic> eic.config.network.hostname <hostname>
# Replace <hostname> with the desired hostname
```
#### S9.1.6: Customising the /etc/hosts file
Remind me to work on this section.
# under construction!!!
#### S9.1.6: Customising the /etc/hosts file
~~Remind me to work on this section.~~ Call me lazy (please don't), but to get over this guide a tiny tiny bit faster, I recommend you to google (or otherwise look up) "how to set up etc hosts". Usually it's managed by systemd I think? (obv unless you disabled it)
### S9.2: System time
You can tell the system whether your hardware clock is set to local time or UTC.
Either run:
// When in chroot,
```bash
einrichter/eic> eic.config.time.createAdj
```
// When in a booted system,
```bash
einrichter/eic> eic.config.time.clarifyUTC
```
Either can be set back to nothing by either deleting /etc/adjtime
```bash
einrichter/eic> rm /etc/adjtime
```
or by using timedatectl
```bash
timedatectl set-local-rtc 0
```
To interactively change the system time (when in a booted system ofc)
do:
```bash
einrichter/eic> eic.config.time.set
```
then respond to the questions.
To set the timezone on a running system, run the following:
```bash
einrichter/eic> eic.config.time.tz <TZ>
# replace <TZ> with the timezone
```
To get the list of timezones in the first place, do:
```bash
timedatectl list-timezones
```
In systemd 216 and up, the network time synchronisation service is enabled by default. **If you want, disable/enable it like this:**
```bash
# In shell and EIC
systemctl disable systemd-timesyncd
systemctl enable systemd-timesyncd
# In EIC exclusively
einrichter/eic> eic.config.time.nts on
einrichter/eic> eic.config.time.nts off
```
### S9.3: Configuring the Linux console
Write defaults:
```bash
einrichter/eic> eic.config.console.preset
```
Set keymap:
```bash
einrichter/eic> eic.config.console.keymap <keymap>
# Replace <keymap> with keymap code, e.g. de-latin1
```
### S9.4: Localisation
Run this and answer questions:
```bash
einrichter/eic> eic.config.locale.set
```
### S9.5: Creating files under /etc/
Run these to create the /etc/inputrc and /etc/shells files
```bash
einrichter/eic> eic.config.create.inputrc
einrichter/eic> eic.config.create.shells
```
### S9.6: More config...
Disable screen clearing:
```bash
einrichter/eic> eic.config.systemd.disableScreenClearing <yes/no>
```
Limit core dump size to something (in the format of 5M, 5G etc):
```bash
einrichter/eic> eic.config.systemd.limitCoreDumpSize <(Size)(G/M/K)>
```
To remove the limit:
```bash
rm /etc/systemd/coredump.conf.d/maxuse.conf
```
## S10: Making it boot
### S10.1: Making an /etc/fstab
Make a filesystem table like this:
```bash
cat > /etc/fstab << "EOF"
# Begin /etc/fstab
# file system mount-point type options dump fsck
# order
/dev/<foo> / <owo> defaults 1 1
/dev/<bar> swap swap pri=1 0 0
# End /etc/fstab
EOF
```
Replace <foo> and <bar> with the appropriate values, don't add the swap line if you didn't make a swap partition.
Replace <owo> with the filesystem type
For any additional configuration, check this page: https://www.linuxfromscratch.org/lfs/view/stable-systemd/chapter10/fstab.html
### S10.2: BOOTING LINUX!!!!
Don't get excited too yet, we need to verify something.
```bash
cd /sources/linux/
ls -a | grep .config
```
If you see the .config file, we can continue. If not, don't run this step, exit out of the Einrichter-in-chroot.sh script to go back to the Einrichter-CLI.sh script. After that, run:
```bash
einrichter> einrichter.add.linuxConfig
```
Alright, we can continue. RUN THE FOLLOWING:
```bash
einrichter/eic> eic.linux.install
```
Later it will ask you this:
```bash
[i] Mount boot partition? <Y/N>:
```
Say yes if you want the kernel to be in the boot partition instead of the root one. Otherwise, **no.**
### S10.3: Bootloader configuration
Using UEFI bootloader? Check this:
https://www.linuxfromscratch.org/blfs/view/stable-systemd/postlfs/grub-setup.html#uefi-kernel
[This page shows instructions on installing GRUB.](https://www.linuxfromscratch.org/lfs/view/stable-systemd/chapter10/grub.html)
Not needed of course, if you want to tweak your current GRUB to also detect other OSes, add this to your /etc/default/grub (on the host machine)
``GRUB_DISABLE_OS_PROBER=false``
Update the GRUB config with the respective command.
### S10.4: Package management
Need a package manager? Install RPM:
```bash
einrichter/eic> eic.rpm.install
```
To install tdnf, vmware's implementation of DNF, do:
```bash
einrichter/eic> eic.tdnf.install
```
If you want to add more packages to your system, including NetworkManager, run:
```bash
einrichter/eic> eic.plus
```
## S11: The End:tm:
Well, you made it! Congrats on installing the basics of TylkoLinux... If you want, you can also mark your installation as a TylkoLinux one by running this:
```bash
einrichter/eic> eic.signoff
```
Hope you had as much fun following the guide as I did writing it!

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" >
<head>
<!-- 2025-02-01 Sat 04:04 -->
<!-- 2025-02-12 Wed 01:35 -->
<meta charset="UTF-8" />
<meta name="description" content="Well, get on this site and find out." />
<meta name="viewport" content="width=device-width, initial-scale=1" />

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" >
<head>
<!-- 2025-02-01 Sat 04:04 -->
<!-- 2025-02-12 Wed 01:35 -->
<meta charset="UTF-8" />
<meta name="description" content="Well, get on this site and find out." />
<meta name="viewport" content="width=device-width, initial-scale=1" />
@ -73,7 +73,7 @@
<div id="article-list"><article >
<a href="https://rootsource.cc/Articles/tylkolinux-installation/"></a>
<h3>TylkoLinux is done, here&#x27;s how to install it.</h3>
<h3>TylkoLinux install guide (Delirium-FolieA2).</h3>
<p>This article will go over the installation guide for the distro</p>
<div class="details">
<small>

View file

@ -1,12 +1,12 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" >
<head>
<!-- 2025-02-01 Sat 04:04 -->
<!-- 2025-02-12 Wed 01:35 -->
<meta charset="UTF-8" />
<meta name="description" content="Well, get on this site and find out." />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#9a9996" />
<title>TylkoLinux is done, here's how to install it. - RSCC</title>
<title>TylkoLinux install guide (Delirium-FolieA2). - RSCC</title>
<link rel="canonical" href="https://rootsource.cc/Articles/tylkolinux-installation/" /><link rel="icon" type="image/png" href="https://rootsource.cc/favicon.png" />
<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="https://rootsource.cc/apple-touch-icon.png" />
@ -17,7 +17,7 @@
<script type="text/javascript" defer src="https://rootsource.cc/closable.js"></script>
<meta property="og:site_name" content="RSCC" />
<meta property="og:title" content="TylkoLinux is done, here's how to install it. - RSCC" />
<meta property="og:title" content="TylkoLinux install guide (Delirium-FolieA2). - RSCC" />
<meta property="og:url" content="https://rootsource.cc/Articles/tylkolinux-installation/" />
<meta property="og:description" content="This article will go over the installation guide for the distro" />
<meta property="og:image" content="https://rootsource.cc/card.png" />
@ -62,10 +62,41 @@
<small>
<time datetime=" 2025-01-30T00:00:00+00:00">Published on
January 30, 2025</time></small>
</p><h1>TylkoLinux is done, here&#x27;s how to install it.</h1>
</p><h1>TylkoLinux install guide (Delirium-FolieA2).</h1>
</div>
<div id="buttons-container"><a id="go-to-top" href="#top" title="Go to Top"><i class="icon"></i></a></div><p><code>TylkoLinux 25.1/.2 Snyx x86_64</code></p>
<div id="buttons-container"><details id="toc" class="closable">
<summary title="Table of Contents"><i class="icon"></i></summary>
<div>
<strong class="title">Table of Contents</strong>
<div>
<ul><li>
<a href="https://rootsource.cc/Articles/tylkolinux-installation/#update-as-of-now-don-t-proceed-with-the-guide-yet-the-script-is-still-in-its-testing-phase-and-i-m-halfway-done-successfully-testing-it-p">Update as of now: DON&#x27;T PROCEED WITH THE GUIDE YET. The script is still in its testing phase, and I&#x27;m halfway done successfully testing it :p</a><ul><li>
<a href="https://rootsource.cc/Articles/tylkolinux-installation/#s1-cloning-the-repository">S1: Cloning the repository</a>
</li><li>
<a href="https://rootsource.cc/Articles/tylkolinux-installation/#s2-run-the-compatibility-checker">S2: Run the compatibility checker</a>
</li><li>
<a href="https://rootsource.cc/Articles/tylkolinux-installation/#s3-partitioning-the-target-device">S3: Partitioning the target device</a>
</li><li>
<a href="https://rootsource.cc/Articles/tylkolinux-installation/#s4-setting-the-lfs-variable">S4: Setting the $LFS variable</a>
</li><li>
<a href="https://rootsource.cc/Articles/tylkolinux-installation/#s5-mounting-the-partitions">S5: Mounting the partitions</a>
</li><li>
<a href="https://rootsource.cc/Articles/tylkolinux-installation/#s6-start-the-core-installation-tool">S6: Start the core installation tool</a>
</li><li>
<a href="https://rootsource.cc/Articles/tylkolinux-installation/#s7-enter-lfs-user">S7: Enter lfs user</a>
</li><li>
<a href="https://rootsource.cc/Articles/tylkolinux-installation/#s8-actually-building-the-system-itself">S8: Actually building the system itself</a>
</li><li>
<a href="https://rootsource.cc/Articles/tylkolinux-installation/#s9-setting-up-the-system">S9: Setting up the system</a>
</li><li>
<a href="https://rootsource.cc/Articles/tylkolinux-installation/#s10-making-it-boot">S10: Making it boot</a>
</li><li>
<a href="https://rootsource.cc/Articles/tylkolinux-installation/#s11-the-end-tm">S11: The End:tm:</a>
</li></ul></li></ul>
</div>
</div>
</details><a id="go-to-top" href="#top" title="Go to Top"><i class="icon"></i></a></div><p>Requires the branch for <code>TylkoLinux 25.2 Delirium x86_64</code></p>
<p>As you may have read in the description, this article serves as a guide to install (build) TylkoLinux on your machine.
<blockquote class="important">
<p class="alert-title">
@ -77,10 +108,12 @@
<li>CPU with at least four cores</li>
<li>8GB RAM</li>
<li>A linux system running on the host system</li>
<li>INTERNET ACCESS!!! (also required for other install scripts in EIC)</li>
</ul>
</blockquote>
</p>
<h1 id="update-as-of-now-don-t-proceed-with-the-guide-yet-the-script-is-still-in-its-testing-phase-and-i-m-halfway-done-successfully-testing-it-p">Update as of now: DON'T PROCEED WITH THE GUIDE YET. The script is still in its testing phase, and I'm halfway done successfully testing it :p</h1>
<h2 id="s1-cloning-the-repository">S1: Cloning the repository</h2>
<p>The repository is available on GitHub. You can clone into it by running the following (if you have Git installed):</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">git</span><span> clone https://github.com/kevadesu/TylkoLinux
@ -168,7 +201,14 @@ To automatically remount the partition on boot, modify /etc/fstab by adding this
<p>To download packages and patches to the directory, type in the following function:</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter</span><span>&gt; einrichter.installer.pkgs
</span></code></pre>
<p>This action will proceed to download the packages and patches to $LFS/sources, and also the checksums.</p>
<p>This action will proceed to download the packages and patches to $LFS/sources, and also the checksums.
Watch out, here's the next step:</p>
<p>Extract the packages and rename them to the appropriate directory names</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter</span><span>&gt; einrichter.xr
</span></code></pre>
<p>IMPORTANT!! Run this too, to prepare for the installation of Linux.</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter</span><span>&gt; einrichter.add.linuxConfig
</span></code></pre>
<h3 id="s6-2-creating-a-limited-directory-layout">S6.2: Creating a limited directory layout</h3>
<p>Run the following command:</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter</span><span>&gt; einrichter.installer.DirLayout
@ -219,6 +259,10 @@ Run the following commands:</p>
</span><span>einrichter/eic&gt; eic.essentials.install </span><span style="color:#65737e;"># Installs the tools
</span><span>einrichter/eic&gt; eic.clean </span><span style="color:#65737e;"># Clean up the environment
</span></code></pre>
<p>BEFORE BUILDING THE ACTUAL SYSTEM!!!!
Run this command. It applies the RrX bugfix that removes and re-extracts affected packages.</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter/eic</span><span>&gt; eic.bugfix.RrX
</span></code></pre>
<p>Build the system by running the following:</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter/eic</span><span>&gt; eic.system.build
</span></code></pre>
@ -300,8 +344,114 @@ For most systems, there is only one network interface for each type of connectio
</span><span style="color:#65737e;"># Replace &lt;hostname&gt; with the desired hostname
</span></code></pre>
<h4 id="s9-1-6-customising-the-etc-hosts-file">S9.1.6: Customising the /etc/hosts file</h4>
<p>Remind me to work on this section.</p>
<h1 id="under-construction">under construction!!!</h1>
<p><del>Remind me to work on this section.</del> Call me lazy (please don't), but to get over this guide a tiny tiny bit faster, I recommend you to google (or otherwise look up) "how to set up etc hosts". Usually it's managed by systemd I think? (obv unless you disabled it)</p>
<h3 id="s9-2-system-time">S9.2: System time</h3>
<p>You can tell the system whether your hardware clock is set to local time or UTC.</p>
<p>Either run:</p>
<p>// When in chroot,</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter/eic</span><span>&gt; eic.config.time.createAdj
</span></code></pre>
<p>// When in a booted system,</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter/eic</span><span>&gt; eic.config.time.clarifyUTC
</span></code></pre>
<p>Either can be set back to nothing by either deleting /etc/adjtime</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter/eic</span><span>&gt; rm /etc/adjtime
</span></code></pre>
<p>or by using timedatectl</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">timedatectl</span><span> set-local-rtc 0
</span></code></pre>
<p>To interactively change the system time (when in a booted system ofc)
do:</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter/eic</span><span>&gt; eic.config.time.set
</span></code></pre>
<p>then respond to the questions.</p>
<p>To set the timezone on a running system, run the following:</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter/eic</span><span>&gt; eic.config.time.tz &lt;TZ&gt;
</span><span style="color:#65737e;"># replace &lt;TZ&gt; with the timezone
</span></code></pre>
<p>To get the list of timezones in the first place, do:</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">timedatectl</span><span> list-timezones
</span></code></pre>
<p>In systemd 216 and up, the network time synchronisation service is enabled by default. <strong>If you want, disable/enable it like this:</strong></p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#65737e;"># In shell and EIC
</span><span style="color:#bf616a;">systemctl</span><span> disable systemd-timesyncd
</span><span style="color:#bf616a;">systemctl</span><span> enable systemd-timesyncd
</span><span style="color:#65737e;"># In EIC exclusively
</span><span style="color:#bf616a;">einrichter/eic</span><span>&gt; eic.config.time.nts on
</span><span style="color:#bf616a;">einrichter/eic</span><span>&gt; eic.config.time.nts off
</span></code></pre>
<h3 id="s9-3-configuring-the-linux-console">S9.3: Configuring the Linux console</h3>
<p>Write defaults:</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter/eic</span><span>&gt; eic.config.console.preset
</span></code></pre>
<p>Set keymap:</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter/eic</span><span>&gt; eic.config.console.keymap &lt;keymap&gt;
</span><span style="color:#65737e;"># Replace &lt;keymap&gt; with keymap code, e.g. de-latin1
</span></code></pre>
<h3 id="s9-4-localisation">S9.4: Localisation</h3>
<p>Run this and answer questions:</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter/eic</span><span>&gt; eic.config.locale.set
</span></code></pre>
<h3 id="s9-5-creating-files-under-etc">S9.5: Creating files under /etc/</h3>
<p>Run these to create the /etc/inputrc and /etc/shells files</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter/eic</span><span>&gt; eic.config.create.inputrc
</span><span style="color:#bf616a;">einrichter/eic</span><span>&gt; eic.config.create.shells
</span></code></pre>
<h3 id="s9-6-more-config">S9.6: More config...</h3>
<p>Disable screen clearing:</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter/eic</span><span>&gt; eic.config.systemd.disableScreenClearing &lt;yes/no&gt;
</span></code></pre>
<p>Limit core dump size to something (in the format of 5M, 5G etc):</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter/eic</span><span>&gt; eic.config.systemd.limitCoreDumpSize &lt;(</span><span style="color:#bf616a;">Size</span><span>)(G/M/K)&gt;
</span></code></pre>
<p>To remove the limit:</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">rm</span><span> /etc/systemd/coredump.conf.d/maxuse.conf
</span></code></pre>
<h2 id="s10-making-it-boot">S10: Making it boot</h2>
<h3 id="s10-1-making-an-etc-fstab">S10.1: Making an /etc/fstab</h3>
<p>Make a filesystem table like this:</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">cat </span><span>&gt; /etc/fstab &lt;&lt; &quot;</span><span style="color:#b48ead;">EOF</span><span>&quot;
</span><span style="color:#a3be8c;"># Begin /etc/fstab
</span><span style="color:#a3be8c;">
</span><span style="color:#a3be8c;"># file system mount-point type options dump fsck
</span><span style="color:#a3be8c;"># order
</span><span style="color:#a3be8c;">
</span><span style="color:#a3be8c;">/dev/&lt;foo&gt; / &lt;owo&gt; defaults 1 1
</span><span style="color:#a3be8c;">/dev/&lt;bar&gt; swap swap pri=1 0 0
</span><span style="color:#a3be8c;">
</span><span style="color:#a3be8c;"># End /etc/fstab
</span><span style="color:#b48ead;">EOF
</span></code></pre>
<p>Replace <foo> and <bar> with the appropriate values, don't add the swap line if you didn't make a swap partition.</p>
<p>Replace <owo> with the filesystem type</p>
<p>For any additional configuration, check this page: https://www.linuxfromscratch.org/lfs/view/stable-systemd/chapter10/fstab.html</p>
<h3 id="s10-2-booting-linux">S10.2: BOOTING LINUX!!!!</h3>
<p>Don't get excited too yet, we need to verify something.</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#96b5b4;">cd</span><span> /sources/linux/
</span><span style="color:#bf616a;">ls -a </span><span>| </span><span style="color:#bf616a;">grep</span><span> .config
</span></code></pre>
<p>If you see the .config file, we can continue. If not, don't run this step, exit out of the Einrichter-in-chroot.sh script to go back to the Einrichter-CLI.sh script. After that, run:</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter</span><span>&gt; einrichter.add.linuxConfig
</span></code></pre>
<p>Alright, we can continue. RUN THE FOLLOWING:</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter/eic</span><span>&gt; eic.linux.install
</span></code></pre>
<p>Later it will ask you this:</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">[i]</span><span> Mount boot partition? &lt;Y/N&gt;:
</span></code></pre>
<p>Say yes if you want the kernel to be in the boot partition instead of the root one. Otherwise, <strong>no.</strong></p>
<h3 id="s10-3-bootloader-configuration">S10.3: Bootloader configuration</h3>
<p>Using UEFI bootloader? Check this:
https://www.linuxfromscratch.org/blfs/view/stable-systemd/postlfs/grub-setup.html#uefi-kernel
<a href="https://www.linuxfromscratch.org/lfs/view/stable-systemd/chapter10/grub.html">This page shows instructions on installing GRUB.</a>
Not needed of course, if you want to tweak your current GRUB to also detect other OSes, add this to your /etc/default/grub (on the host machine)
<code>GRUB_DISABLE_OS_PROBER=false</code>
Update the GRUB config with the respective command.</p>
<h2 id="s11-the-end-tm">S11: The End:tm:</h2>
<p>Well, you made it! Congrats on installing the basics of TylkoLinux... If you want, you can also mark your installation as a TylkoLinux one by running this:</p>
<pre data-lang="bash" style="background-color:#2b303b;color:#c0c5ce;" class="language-bash "><code class="language-bash" data-lang="bash"><span style="color:#bf616a;">einrichter/eic</span><span>&gt; eic.signoff
</span></code></pre>
<p>Hope you had as much fun following the guide as I did writing it!</p>
</article>

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" >
<head>
<!-- 2025-02-01 Sat 04:04 -->
<!-- 2025-02-12 Wed 01:35 -->
<meta charset="UTF-8" />
<meta name="description" content="Well, get on this site and find out." />
<meta name="viewport" content="width=device-width, initial-scale=1" />

File diff suppressed because one or more lines are too long