chamesle

chamesle.org: the site of Chamesle, a small Linux distribution
git clone https://github.com/tortr-rs/chamesle
Log | Files | Refs | README

handbook-preparing.html (3777B)


      1 <!doctype html>
      2 <html lang="en">
      3 <head>
      4 <meta charset="utf-8">
      5 <meta name="viewport" content="width=device-width, initial-scale=1">
      6 <title>Preparing - Chamesle</title>
      7 <meta name="description" content="The CPU can be x86_64, or a 32-bit x86 one from the Pentium 4 on (section 3.10).">
      8 <link rel="canonical" href="https://chamesle.org/handbook-preparing.html">
      9 <meta property="og:type" content="website">
     10 <meta property="og:site_name" content="Chamesle">
     11 <meta property="og:title" content="Preparing - Chamesle">
     12 <meta property="og:description" content="The CPU can be x86_64, or a 32-bit x86 one from the Pentium 4 on (section 3.10).">
     13 <meta property="og:url" content="https://chamesle.org/handbook-preparing.html">
     14 <link rel="stylesheet" href="style.css?25">
     15 <link rel="icon" href="img/logo.png">
     16 </head>
     17 <body>
     18 
     19 <div id="page">
     20 
     21 <div id="top">
     22 <h1><a href="./"><img src="img/banner.png" alt="Chamesle Linux" width="223" height="56"></a></h1>
     23 </div>
     24 
     25 <div id="nav">
     26 <a href="./">Home</a> |
     27 <a href="download.html">Download</a> |
     28 <b>Handbook</b> |
     29 <a href="packages.html">Packages</a> |
     30 <a href="new.html">News</a> |
     31 <a href="board.html">Board</a> |
     32 <a href="chat.html">Chat</a> |
     33 <a href="source.html">Source</a> |
     34 <a href="https://x22.chamesle.org/">X22</a> |
     35 <a href="https://github.com/tortr-rs/mag">mag</a> |
     36 <a href="about.html">About</a>
     37 </div>
     38 
     39 <main>
     40 <p><a href="handbook-about.html">&larr; About Chamesle</a> | <a href="docs.html">Contents</a> | <a href="handbook-installing.html">Installing &rarr;</a></p>
     41 <h2>2. Preparing</h2>
     42 <h2 id="s2-1">2.1 What you need</h2>
     43 <ul>
     44 <li>the ISO, from chamesle.org, written to a stick or a disc (chapter 8). It has everything chapter 3 uses</li>
     45 <li>a network connection: the packages come from the repositories</li>
     46 <li>about 1 GB of disk for a base system with a kernel, more for what you add</li>
     47 <li>256 MB of memory is enough to install and to run</li>
     48 </ul>
     49 <p>The CPU can be x86_64, or a 32-bit x86 one from the Pentium 4 on (section 3.10).</p>
     50 <h2 id="s2-2">2.2 From another Linux</h2>
     51 <p>The ISO is the easy way, but any Linux machine can install Chamesle. It needs <code>mag</code>, the keys and the repos:</p>
     52 <pre>curl -LO https://chamesle.org/repo/x86_64/mag-0.3.apk
     53 tar -xzf mag-0.3.apk usr/bin/mag
     54 mkdir -p /etc/mag
     55 cp -R keys /etc/mag/keys
     56 cp pkg/chamesle-base/repos /etc/mag/repos
     57 install -m755 usr/bin/mag /usr/local/bin/mag</pre>
     58 <p><code>keys/</code> and <code>pkg/chamesle-base/repos</code> are in <code>system/</code> of the sources. The <code>tar</code> line warns about the signature and control parts it does not know; the program comes out all the same. mag is static, so it runs on any distribution. From there chapter 3 is the same, without the live system.</p>
     59 <h2 id="s2-3">2.3 Getting on the network</h2>
     60 <p>On the live system a cable works by itself: <code>dhcpcd</code> runs at boot. Check it with</p>
     61 <pre>ip addr
     62 ping -c 3 chamesle.org</pre>
     63 <p>For wireless, <code>iwctl</code> (iwd runs at boot on the ISO):</p>
     64 <pre>iwctl device list
     65 iwctl station wlan0 scan
     66 iwctl station wlan0 get-networks
     67 iwctl station wlan0 connect NAME</pre>
     68 <p>It asks for the passphrase. dhcpcd gives the interface an address once it is connected.</p>
     69 <hr>
     70 <p><a href="handbook-about.html">&larr; About Chamesle</a> | <a href="docs.html">Contents</a> | <a href="handbook-installing.html">Installing &rarr;</a></p>
     71 </main>
     72 
     73 <hr>
     74 <div id="foot">
     75 Something wrong on this page? Tell us on the <a href="board.html">board</a>.<br>
     76 Chamesle installs with <code>chamesle-install</code>, or by hand from the <a href="docs.html">handbook</a>.<br>
     77 <a href="https://ko-fi.com/L6N725GI1V">Ko-fi</a><br>
     78 <a href="#" id="edit-link">Edit text</a><br>
     79 $Date: 2026-11-23 $
     80 </div>
     81 
     82 </div>
     83 
     84 <script src="edit.js"></script>
     85 </body>
     86 </html>