diff options
Diffstat (limited to 'src/docs/Preparing-Environment.html')
-rw-r--r-- | src/docs/Preparing-Environment.html | 129 |
1 files changed, 129 insertions, 0 deletions
diff --git a/src/docs/Preparing-Environment.html b/src/docs/Preparing-Environment.html new file mode 100644 index 0000000..476299d --- /dev/null +++ b/src/docs/Preparing-Environment.html @@ -0,0 +1,129 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Copyright (C) 2020 Cem Keylan + +Licensed under Gnu Free Documentation License. --> +<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ --> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<title>Preparing Environment (Carbs Linux User Manual)</title> + +<meta name="description" content="Preparing Environment (Carbs Linux User Manual)"> +<meta name="keywords" content="Preparing Environment (Carbs Linux User Manual)"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="makeinfo"> +<link href="index.html" rel="start" title="Top"> +<link href="Installation.html" rel="up" title="Installation"> +<link href="Chroot.html" rel="next" title="Chroot"> +<link href="Installation.html" rel="prev" title="Installation"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.indentedblock {margin-right: 0em} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +kbd {font-style: oblique} +pre.display {font-family: inherit} +pre.format {font-family: inherit} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +span.nolinebreak {white-space: nowrap} +span.roman {font-family: initial; font-weight: normal} +span.sansserif {font-family: sans-serif; font-weight: normal} +ul.no-bullet {list-style: none} +--> +</style> + + +</head> + +<body lang="en"> +<span id="Preparing-Environment"></span><div class="header"> +<p> +Next: <a href="Chroot.html" accesskey="n" rel="next">Chroot</a>, Up: <a href="Installation.html" accesskey="u" rel="up">Installation</a> </p> +</div> +<hr> +<span id="Preparing-Environment-1"></span><h3 class="section">1.1 Preparing Environment</h3> +<p>To install Carbs Linux, you will need a Live Linux ISO. For that purpose, you +can obtain a Gentoo or Void Linux live image. You can follow their instructions +to boot and setup your network. +</p> +<p>You will need the following programs in order to install Carbs Linux: +</p><ul> +<li> tar +</li><li> wget +</li><li> xz +</li><li> some form of base utilities (coreutils, sbase, busybox, etc.) +</li></ul> + +<p>Rest of these instructions will assume that you have set all of these up, and +will continue on that point. +</p> +<span id="Download"></span><h4 class="subsection">1.1.1 Download</h4> + +<p>First, we need to download the rootfs tarball. You can do the following in order +to obtain the rootfs. If you are using an i686 machine, replace the <code>x86_64</code> +with <code>i686</code>. +</p> +<div class="example"> +<pre class="example">$ wget https://dl.carbslinux.org/releases/x86_64/carbs-rootfs.tar.xz +</pre></div> + +<p>We can then check the integrity of the tarball and do a signature verification. +Even thought these are optional, they are highly recommended. +</p> +<span id="Check-the-integrity-of-the-tarball-_0028Recommended_0029"></span><h4 class="subsection">1.1.2 Check the integrity of the tarball (Recommended)</h4> + +<p>All of the releases are saved in a single file named <samp>sha256sums.txt</samp>, but the +latest release is saved on <samp>carbs-rootfs.tar.xz.sha256</samp>. You can acquire and +verify the tarball. +</p> +<div class="example"> +<pre class="example">$ wget https://dl.carbslinux.org/releases/x86_64/carbs-rootfs.tar.xz.sha256 +$ sha256sum -c carbs-rootfs.tar.xz.sha256 +</pre></div> + +<span id="Verify-the-signature"></span><h4 class="subsection">1.1.3 Verify the signature</h4> + +<p>It is highly recommended to verify the signature of the tarball. You will need +GPG for this. +</p> +<div class="example"> +<pre class="example">$ wget https://dl.carbslinux.org/releases/carbs-rootfs.tar.xz.sig +$ gpg --recv-keys FF484BDFEFCEF8FF +$ gpg --verify carbs-rootfs.tar.xz.sig +</pre></div> + +<span id="Extracting-the-tarball"></span><h4 class="subsection">1.1.4 Extracting the tarball</h4> + +<p>You will need to extract the tarball to your desired location. For partitioning, +you can follow <a href="https://wiki.archlinux.org/index.php/Partitioning">this guide</a>. +This will assume that you will be mounting your root partition to <samp>/mnt</samp>. +</p> +<div class="example"> +<pre class="example">$ mount /dev/sdx1 /mnt +$ tar xf carbs-rootfs.tar.xz -C /mnt +</pre></div> + +<span id="Obtain-the-chroot-helper"></span><h4 class="subsection">1.1.5 Obtain the chroot helper</h4> + +<p>You can obtain the <code>cpt-chroot</code> script in order to do a simple chroot into +your new root filesystem. +</p> +<div class="example"> +<pre class="example">$ wget https://dl.carbslinux.org/distfiles/cpt-chroot +$ chmod a+x cpt-chroot +</pre></div> + +<hr> +<div class="header"> +<p> +Next: <a href="Chroot.html" accesskey="n" rel="next">Chroot</a>, Up: <a href="Installation.html" accesskey="u" rel="up">Installation</a> </p> +</div> + + + +</body> +</html> |