chamesle

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

commit a3ac94f982a97af420722b3cc5e065fc06d45db4
parent c696986f55b5340eea6590c85a2d9307ca4b082a
Author: torter <koubbamohamedrayan@gmail.com>
Date:   Mon, 16 Nov 2026 20:13:10 +0000

site: a download page with the iso, its checksum and a download button. the handbook says nothing about making the iso

Diffstat:
Mdocs/404.html | 4++--
Mdocs/about.html | 4++--
Mdocs/board.html | 4++--
Mdocs/chat.html | 4++--
Mdocs/chess.html | 4++--
Mdocs/docs.html | 6+++---
Mdocs/download.html | 83+++++++++++++++++++++++++++++++++++++++++++------------------------------------
Mdocs/editions.html | 4++--
Mdocs/handbook-about.html | 10+++++-----
Mdocs/handbook-base.html | 4++--
Mdocs/handbook-files.html | 6++----
Mdocs/handbook-installing.html | 4++--
Mdocs/handbook-iso.html | 54++++--------------------------------------------------
Mdocs/handbook-kernel.html | 4++--
Mdocs/handbook-mag.html | 4++--
Mdocs/handbook-maintaining.html | 4++--
Mdocs/handbook-preparing.html | 4++--
Mdocs/handbook-rifle.html | 4++--
Mdocs/index.html | 16++++++++--------
Mdocs/new.html | 4++--
Mdocs/packages.html | 4++--
Mdocs/post.html | 4++--
Mdocs/source.html | 4++--
Mdocs/style.css | 13+++++++++++++
Mdocs/submit.html | 4++--
Mdocs/x8664.html | 2+-
26 files changed, 117 insertions(+), 145 deletions(-)

diff --git a/docs/404.html b/docs/404.html @@ -5,7 +5,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Page not found - Chamesle</title> <meta name="robots" content="noindex"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?16"> </head> <body> @@ -17,7 +17,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <a href="docs.html">Handbook</a> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | diff --git a/docs/about.html b/docs/about.html @@ -11,7 +11,7 @@ <meta property="og:title" content="About - Chamesle"> <meta property="og:description" content="About Chamesle: who makes it, what changed, the mascot and how to help."> <meta property="og:url" content="https://chamesle.org/about.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?16"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <a href="docs.html">Handbook</a> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | diff --git a/docs/board.html b/docs/board.html @@ -11,7 +11,7 @@ <meta property="og:title" content="Board - Chamesle"> <meta property="og:description" content="The Chamesle community board."> <meta property="og:url" content="https://chamesle.org/board.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?16"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <a href="docs.html">Handbook</a> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | diff --git a/docs/chat.html b/docs/chat.html @@ -11,7 +11,7 @@ <meta property="og:title" content="Chat - Chamesle"> <meta property="og:description" content="Chat with the Chamesle community."> <meta property="og:url" content="https://chamesle.org/chat.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?16"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <a href="docs.html">Handbook</a> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | diff --git a/docs/chess.html b/docs/chess.html @@ -11,7 +11,7 @@ <meta property="og:title" content="Play chess - Chamesle"> <meta property="og:description" content="Play chess against Stockfish, right here in your browser. Five levels, from beginner to the full engine."> <meta property="og:url" content="https://chamesle.org/chess.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?16"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <a href="docs.html">Handbook</a> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | diff --git a/docs/docs.html b/docs/docs.html @@ -11,7 +11,7 @@ <meta property="og:title" content="Handbook - Chamesle"> <meta property="og:description" content="The Chamesle handbook, chapter by chapter: preparing, installing by hand, mag, rifle, the base system, the kernel, the live ISO and the files of the system."> <meta property="og:url" content="https://chamesle.org/docs.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?13"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <b>Handbook</b> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | @@ -60,7 +60,7 @@ <ul><li><a href="handbook-kernel.html#s7-1">7.1 The kernel package</a></li><li><a href="handbook-kernel.html#s7-2">7.2 Updating</a></li><li><a href="handbook-kernel.html#s7-3">7.3 Modules</a></li><li><a href="handbook-kernel.html#s7-4">7.4 Firmware</a></li><li><a href="handbook-kernel.html#s7-5">7.5 An initramfs</a></li></ul> </li> <li><a href="handbook-iso.html">The live ISO</a> -<ul><li><a href="handbook-iso.html#s8-1">8.1 What it is</a></li><li><a href="handbook-iso.html#s8-2">8.2 Building</a></li><li><a href="handbook-iso.html#s8-3">8.3 The profile</a></li><li><a href="handbook-iso.html#s8-4">8.4 How it boots</a></li><li><a href="handbook-iso.html#s8-5">8.5 Trying it in qemu</a></li></ul> +<ul><li><a href="handbook-iso.html#s8-1">8.1 What it is</a></li><li><a href="handbook-iso.html#s8-2">8.2 How it boots</a></li><li><a href="handbook-iso.html#s8-3">8.3 Trying it in qemu</a></li></ul> </li> <li><a href="handbook-maintaining.html">Maintaining</a> <ul><li><a href="handbook-maintaining.html#s9-1">9.1 Updating packages</a></li><li><a href="handbook-maintaining.html#s9-2">9.2 Cleaning up</a></li><li><a href="handbook-maintaining.html#s9-3">9.3 C23 and CFLAGS</a></li><li><a href="handbook-maintaining.html#s9-4">9.4 The root&#x27;s compiler and mag relocate</a></li><li><a href="handbook-maintaining.html#s9-5">9.5 libtool</a></li><li><a href="handbook-maintaining.html#s9-6">9.6 Failures you will see</a></li><li><a href="handbook-maintaining.html#s9-7">9.7 Keeping a build</a></li></ul> diff --git a/docs/download.html b/docs/download.html @@ -3,15 +3,15 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> -<title>Install - Chamesle</title> -<meta name="description" content="How to install Chamesle by hand: chamesle-bootstrap into a mounted disk, or build the live ISO with iso/mkiso."> +<title>Download - Chamesle</title> +<meta name="description" content="Download the Chamesle ISO: one image for x86-64 machines, BIOS and UEFI, with its checksum and how to write it to a stick."> <link rel="canonical" href="https://chamesle.org/download.html"> <meta property="og:type" content="website"> <meta property="og:site_name" content="Chamesle"> -<meta property="og:title" content="Install - Chamesle"> -<meta property="og:description" content="How to install Chamesle by hand: chamesle-bootstrap into a mounted disk, or build the live ISO with iso/mkiso."> +<meta property="og:title" content="Download - Chamesle"> +<meta property="og:description" content="Download the Chamesle ISO: one image for x86-64 machines, BIOS and UEFI, with its checksum and how to write it to a stick."> <meta property="og:url" content="https://chamesle.org/download.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?16"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<b>Install</b> | +<b>Download</b> | <a href="docs.html">Handbook</a> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | @@ -35,41 +35,48 @@ </div> <main> -<h2>Install</h2> - -<p>Chamesle is installed by hand. That is the design: like Gentoo or Linux From Scratch, you partition the disk, -build the base system into it and set up the boot loader yourself. The <a href="docs.html#disk">handbook</a> has -every step. There are two ways to start.</p> - -<h2>From a running Linux</h2> -<p>On any Linux system with mag and <code>chamesle-bootstrap</code>, mount the target disk and run the bootstrap -into it. This is chapter 5 of the handbook, <a href="docs.html#disk">Installing by hand</a>.</p> -<pre>mag sync -export MAG_REPO=/path/to/repo:/usr/pkgsrc -chamesle-bootstrap -n yourhostname /mnt</pre> -<p>It builds the base system from source into <code>/mnt</code>, kernel included, and takes a while. Then you set -up fstab, the root password and limine, as the handbook says.</p> - -<h2>From the live ISO</h2> -<p>You build the ISO yourself with <code>iso/mkiso</code> (handbook chapter 4) and boot it.</p> -<pre>iso/mkiso -r $HOME/src/mag/repo:/usr/pkgsrc</pre> -<p>The ISO is a live system with mksh, vim, mag with our recipes, <code>chamesle-bootstrap</code>, <code>chamesle-chroot</code>, -<code>chamesle-disk</code> (cfdisk, then vfat for boot and ZFS for the root), the disk tools (sfdisk, mkfs.ext4, mkfs.fat, -zpool, zfs) and the handbook in <code>/usr/share/doc/chamesle/</code>. It boots on BIOS and on UEFI -machines with limine, from a CD or a stick. Install from it with chapter 5.</p> -<p>The machine that builds needs <code>mksquashfs</code>, <code>xorriso</code>, <code>zstd</code>, -<code>bsdcpio</code>, <code>limine</code> and <code>mag</code>. Building everything from source takes a while, and -LLVM is the long part. <code>mkiso</code> builds a root with <code>chamesle-bootstrap</code>, copies the overlay -over it, makes the initrd, packs the root into a zstd squashfs and writes the ISO with <code>xorriso</code>.</p> - -<h2>Trying it in QEMU</h2> -<pre>qemu-system-x86_64 -cpu max -m 1G -cdrom chamesle.iso -boot d -qemu-system-x86_64 -cpu max -m 1G -bios /usr/share/qemu/edk2-x86_64-code.fd -cdrom chamesle.iso</pre> +<h2>Download</h2> +<p>Chamesle is one ISO for x86-64 machines. Write it to a stick, boot it, and install from it by hand with the +<a href="handbook-installing.html">handbook</a>.</p> + +<p><a class="button" href="https://github.com/tortr-rs/system/releases/latest/download/chamesle.iso">Download chamesle.iso (447 MB)</a></p> + +<table> +<tr><td>File</td><td>chamesle.iso</td></tr> +<tr><td>Size</td><td>447 MB</td></tr> +<tr><td>SHA-256</td><td><code>ac10b4c41f66790004f8d05c76f2229523667e014ce108de392825788e10f232</code></td></tr> +<tr><td>Machines</td><td>x86-64, BIOS and UEFI</td></tr> +<tr><td>Kernel</td><td>Linux 6.18 LTS</td></tr> +</table> + +<p>Check the download before you use it:</p> +<pre>sha256sum chamesle.iso</pre> + +<h2>Write it to a stick</h2> +<p>Find the stick with <code>lsblk</code> and use its name, not a partition. This erases everything on it.</p> +<pre>dd if=chamesle.iso of=/dev/sdX bs=4M status=progress conv=fsync</pre> + +<h2>What is on it</h2> +<p>A live system with mksh, vim, mag and its recipes, <code>chamesle-chroot</code>, <code>chamesle-disk</code> +(cfdisk, then vfat for boot and ZFS for the root), the disk tools (sfdisk, mkfs.ext4, mkfs.fat, zpool, zfs) and the +handbook in <code>/usr/share/doc/chamesle/</code>. It boots with limine and logs in as root with no password.</p> + +<h2>What you need</h2> +<p>An x86-64 machine with 2 GB of RAM and a disk to install on. The network comes up with DHCP on a wired card; wifi +firmware is added with mag after the install, as the handbook says.</p> + +<h2>Try it in QEMU first</h2> +<pre>qemu-system-x86_64 -cpu max -m 2G -cdrom chamesle.iso -boot d +qemu-system-x86_64 -cpu max -m 2G -bios /usr/share/qemu/edk2-x86_64-code.fd -cdrom chamesle.iso</pre> <p>The first boots it as BIOS, the second as UEFI.</p> +<h2>Then</h2> +<p>Install it with <a href="handbook-installing.html">chapter 3 of the handbook</a>: partition the disk, copy the +system, write the boot entry, reboot.</p> + <h2>Older Chamesle ISOs</h2> -<p>Anything older with Chamesle's name on it, such as the 0.7 ISO, is the old Debian-based distro. It is a -different system and gets no updates.</p> +<p>Anything older with Chamesle's name on it, such as the 0.7 ISO, is the old Debian-based distro. It is a different +system and gets no updates.</p> </main> diff --git a/docs/editions.html b/docs/editions.html @@ -11,7 +11,7 @@ <meta property="og:title" content="The old desktops - Chamesle"> <meta property="og:description" content="The old Chamesle desktops are gone."> <meta property="og:url" content="https://chamesle.org/editions.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?16"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <a href="docs.html">Handbook</a> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | diff --git a/docs/handbook-about.html b/docs/handbook-about.html @@ -4,14 +4,14 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>About Chamesle - Chamesle</title> -<meta name="description" content="Chamesle is a Linux distribution you build from source and put on a disk yourself. There is no installer: you"> +<meta name="description" content="Chamesle is a Linux distribution built from source that you put on a disk yourself, starting from the ISO. There is no installer: you"> <link rel="canonical" href="https://chamesle.org/handbook-about.html"> <meta property="og:type" content="website"> <meta property="og:site_name" content="Chamesle"> <meta property="og:title" content="About Chamesle - Chamesle"> -<meta property="og:description" content="Chamesle is a Linux distribution you build from source and put on a disk yourself. There is no installer: you"> +<meta property="og:description" content="Chamesle is a Linux distribution built from source that you put on a disk yourself, starting from the ISO. There is no installer: you"> <meta property="og:url" content="https://chamesle.org/handbook-about.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?13"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <b>Handbook</b> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | @@ -38,7 +38,7 @@ <p><a href="docs.html">Contents</a> | <a href="handbook-preparing.html">Preparing &rarr;</a></p> <h2>1. About Chamesle</h2> <h2 id="s1-1">1.1 What it is</h2> -<p>Chamesle is a Linux distribution you build from source and put on a disk yourself. There is no installer: you install the root file system, write the configuration and the boot entry by hand. <code>chamesle-disk</code> partitions and formats the disk for you if you want, and this handbook goes through every other step.</p> +<p>Chamesle is a Linux distribution built from source that you put on a disk yourself, starting from the ISO. There is no installer: you install the root file system, write the configuration and the boot entry by hand. <code>chamesle-disk</code> partitions and formats the disk for you if you want, and this handbook goes through every other step.</p> <p>The parts:</p> <table> <tr><th>part</th><th>what it is</th></tr> diff --git a/docs/handbook-base.html b/docs/handbook-base.html @@ -11,7 +11,7 @@ <meta property="og:title" content="The base system - Chamesle"> <meta property="og:description" content="/sbin/init is a mksh script, and it works the way FreeBSD&#x27;s init does: the kernel starts it as process 1, it runs"> <meta property="og:url" content="https://chamesle.org/handbook-base.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?13"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <b>Handbook</b> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | diff --git a/docs/handbook-files.html b/docs/handbook-files.html @@ -11,7 +11,7 @@ <meta property="og:title" content="File reference - Chamesle"> <meta property="og:description" content="File reference"> <meta property="og:url" content="https://chamesle.org/handbook-files.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?13"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <b>Handbook</b> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | @@ -69,7 +69,6 @@ <tr><td><code>system/tools/chamesle-chroot</code></td><td>chroot with the pseudo file systems mounted</td></tr> <tr><td><code>system/tools/chamesle-disk</code></td><td>cfdisk, vfat boot partition, ZFS root, mounted on <code>/mnt</code></td></tr> <tr><td><code>system/files/</code></td><td>init, rc, <code>service</code>, <code>init.conf</code> and the service scripts that go into every root</td></tr> -<tr><td><code>system/iso/mkiso</code></td><td>builds the live ISO</td></tr> <tr><td><code>system/iso/mkinitramfs</code></td><td>builds an initramfs</td></tr> <tr><td><code>system/iso/init</code></td><td>the first process in the initramfs</td></tr> <tr><td><code>system/iso/profile/packages</code></td><td>what is in the live root</td></tr> @@ -93,7 +92,6 @@ </table> <h2 id="s10-3">10.3 Commands in short</h2> <pre>chamesle-bootstrap [-r REPOS] [-s PACKAGES] [-n HOSTNAME] TARGET -mkiso [-p profile] [-r repos] [-R rootfs] [-w workdir] [-o out.iso] mkinitramfs [-m modules] ROOTFS KVER OUT mag [-nfk] install|remove|upgrade|autoremove|list|info|search|files|owns|deps|rdeps|fetch|build|sync|relocate|hash rifle --install DIR | --list diff --git a/docs/handbook-installing.html b/docs/handbook-installing.html @@ -11,7 +11,7 @@ <meta property="og:title" content="Installing by hand - Chamesle"> <meta property="og:description" content="Follow the BIOS or the UEFI variant where they differ. The disk here is /dev/sda; change it to yours. Everything below"> <meta property="og:url" content="https://chamesle.org/handbook-installing.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?13"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <b>Handbook</b> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | diff --git a/docs/handbook-iso.html b/docs/handbook-iso.html @@ -11,7 +11,7 @@ <meta property="og:title" content="The live ISO - Chamesle"> <meta property="og:description" content="The ISO is a live system to work from. It boots on BIOS and UEFI machines with limine, from a disc or a stick, and has"> <meta property="og:url" content="https://chamesle.org/handbook-iso.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?13"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <b>Handbook</b> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | @@ -39,55 +39,9 @@ <h2>8. The live ISO</h2> <h2 id="s8-1">8.1 What it is</h2> <p>The ISO is a live system to work from. It boots on BIOS and UEFI machines with limine, from a disc or a stick, and has mksh, vim, mag with Chamesle's recipes (<code>mag search</code> and <code>mag info</code> work before <code>mag sync</code>), <code>chamesle-bootstrap</code>, <code>chamesle-chroot</code>, <code>chamesle-disk</code>, the disk tools (<code>cfdisk</code>, <code>sfdisk</code>, <code>mkfs.ext4</code>, <code>mkfs.fat</code>, <code>zpool</code>, <code>zfs</code>) and this handbook in <code>/usr/share/doc/chamesle/handbook.md</code>. It is where you do chapter 3 on a machine that has nothing on it.</p> -<h2 id="s8-2">8.2 Building</h2> -<p>The machine that builds needs <code>mksquashfs</code> (filesystems/squashfs), <code>xorriso</code> (sysutils/libisoburn), <code>zstd</code>, <code>bsdcpio</code>, <code>limine</code> and <code>mag</code>, plus what chamesle-bootstrap needs.</p> -<pre>$HOME/src/system/iso/mkiso -r $HOME/src/mag/repo:/usr/pkgsrc</pre> -<p>The usage:</p> -<pre>chamesle-chroot DIR [COMMAND...] -chamesle-disk DISK -mkiso [-p profile] [-r repos] [-R rootfs] [-w workdir] [-o out.iso]</pre> -<ul> -<li><code>-p</code> is the profile directory (default <code>iso/profile</code>)</li> -<li><code>-r</code> is <code>MAG_REPO</code></li> -<li><code>-R</code> uses a root you have already built, copied and not changed, instead of building one</li> -<li><code>-w</code> is the work directory (default <code>./work</code>)</li> -<li><code>-o</code> is the file to write (default <code>chamesle.iso</code>)</li> -</ul> -<p>Environment: <code>LIMINE</code> is where limine's files are (default <code>/usr/share/limine</code>), <code>MKISOFS</code> is the command that makes the ISO (default <code>xorriso -as mkisofs</code>), <code>MAG</code> is the mag to put into the image, <code>MAGREPO</code> the repo whose recipes it carries in <code>/usr/share/mag/repo</code> (default: the <code>repo</code> next to a mag checkout, else the first <code>MAG_REPO</code> entry with a <code>PROVIDES</code> file).</p> -<p>In order:</p> -<ol> -<li><code>chamesle-bootstrap</code> builds a root from <code>profile/packages</code>, with the host name <code>chamesle-live</code>.</li> -<li><code>profile/overlay</code> is copied over it.</li> -<li><code>chamesle-bootstrap</code>, <code>chamesle-chroot</code>, <code>chamesle-disk</code>, the handbook, <code>mag</code> and its recipes are put into it.</li> -<li>The kernel from <code>boot/vmlinuz-*</code> is copied to the ISO, and <code>depmod</code> runs on the root.</li> -<li><code>mkinitramfs</code> makes <code>boot/initrd</code> from <code>profile/modules</code>.</li> -<li>The root is written as a zstd squashfs, <code>LiveOS/rootfs.sfs</code>.</li> -<li>limine's boot files are copied and <code>profile/limine.conf</code> becomes <code>boot/limine/limine.conf</code>.</li> -<li><code>xorriso</code> writes the ISO with the BIOS and UEFI boot images and <code>limine bios-install</code> makes it bootable on BIOS.</li> -</ol> -<p>A root built that way still has its build-time loader paths (section 4.4). To relocate it, and to put rifle in it, build the root yourself and hand it over:</p> -<pre>MAG_REPO=$HOME/src/mag/repo:/usr/pkgsrc $HOME/src/system/tools/chamesle-bootstrap \ - -s &quot;$(grep -v &#x27;^#&#x27; $HOME/src/system/iso/profile/packages | tr &#x27;\n&#x27; &#x27; &#x27;)&quot; -n chamesle-live /srv/rootfs -MAG_ROOT=/srv/rootfs mag relocate -install -m755 $HOME/src/rifle/rifle /srv/rootfs/usr/bin/rifle -$HOME/src/rifle/rifle --install /srv/rootfs/usr/bin -$HOME/src/system/iso/mkiso -R /srv/rootfs -o chamesle.iso</pre> -<h2 id="s8-3">8.3 The profile</h2> -<pre>iso/profile/packages packages of the live root, one per line, # for comments -iso/profile/modules modules the initramfs loads to find the medium -iso/profile/limine.conf boot menu -iso/profile/overlay/ files copied over the root: etc/motd</pre> -<p><code>packages</code> is the base set of chapter 3. <code>modules</code> lists <code>squashfs overlay loop isofs sr_mod cdrom sd_mod usb_storage uas xhci_pci ehci_pci ahci ata_piix ata_generic pata_acpi virtio_blk nvme virtio_pci virtio_scsi ext4 vfat nls_cp437 nls_iso8859_1</code>, one per line, then a <code>[zfs]</code> line and <code>zfs</code>, which only a root on ZFS loads. The boot entry:</p> -<pre>timeout: 3 - -/Chamesle live - protocol: linux - path: boot():/boot/vmlinuz - module_path: boot():/boot/initrd - cmdline: quiet</pre> -<h2 id="s8-4">8.4 How it boots</h2> +<h2 id="s8-2">8.2 How it boots</h2> <p><code>iso/init</code> looks through <code>/dev/sr*</code>, <code>/dev/sd*</code>, <code>/dev/nvme*n*p*</code>, <code>/dev/vd*</code> and <code>/dev/mmcblk*</code> until it finds one that mounts and has <code>LiveOS/rootfs.sfs</code>. It mounts that squashfs read-only, puts a tmpfs overlay over it, moves the medium and the squashfs to <code>/run/live/medium</code> and <code>/run/live/rootfs</code>, and runs <code>switch_root</code> into the result. Whatever you change in the live system is gone at shutdown.</p> -<h2 id="s8-5">8.5 Trying it in qemu</h2> +<h2 id="s8-3">8.3 Trying it in qemu</h2> <p>BIOS:</p> <pre>qemu-system-x86_64 -cpu max -m 1G -cdrom chamesle.iso -boot d</pre> <p>UEFI, with the firmware of your qemu (<code>edk2-x86_64-code.fd</code>; the path differs between systems):</p> diff --git a/docs/handbook-kernel.html b/docs/handbook-kernel.html @@ -11,7 +11,7 @@ <meta property="og:title" content="The kernel and firmware - Chamesle"> <meta property="og:description" content="Nobody builds a kernel in Chamesle. sys-kernel/linux is a prebuilt Linux 6.18 LTS kernel with its modules, taken from a"> <meta property="og:url" content="https://chamesle.org/handbook-kernel.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?13"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <b>Handbook</b> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | diff --git a/docs/handbook-mag.html b/docs/handbook-mag.html @@ -11,7 +11,7 @@ <meta property="og:title" content="Using mag - Chamesle"> <meta property="og:description" content="add is install and del is remove. mag relocate is the one command not in the usage text: it puts the real"> <meta property="og:url" content="https://chamesle.org/handbook-mag.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?13"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <b>Handbook</b> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | diff --git a/docs/handbook-maintaining.html b/docs/handbook-maintaining.html @@ -11,7 +11,7 @@ <meta property="og:title" content="Maintaining - Chamesle"> <meta property="og:description" content="The first says what would be rebuilt, the second reinstalls whatever the repos have a newer version of. pkgsrc itself is"> <meta property="og:url" content="https://chamesle.org/handbook-maintaining.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?13"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <b>Handbook</b> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | diff --git a/docs/handbook-preparing.html b/docs/handbook-preparing.html @@ -11,7 +11,7 @@ <meta property="og:title" content="Preparing - Chamesle"> <meta property="og:description" content="Chamesle is built from a running Linux machine: any distribution, or the live ISO of chapter 8. The host needs:"> <meta property="og:url" content="https://chamesle.org/handbook-preparing.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?13"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <b>Handbook</b> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | diff --git a/docs/handbook-rifle.html b/docs/handbook-rifle.html @@ -11,7 +11,7 @@ <meta property="og:title" content="rifle - Chamesle"> <meta property="og:description" content="rifle is the coreutils of Chamesle in one C file, rifle.c, on c.h, a one-file libc. It has no GNU code in it and no"> <meta property="og:url" content="https://chamesle.org/handbook-rifle.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?13"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <b>Handbook</b> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | diff --git a/docs/index.html b/docs/index.html @@ -11,7 +11,7 @@ <meta property="og:title" content="Chamesle, a Linux distribution built from source"> <meta property="og:description" content="Chamesle is a Linux distribution you install by hand and build from source, with its own coreutils and package manager."> <meta property="og:url" content="https://chamesle.org/"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?16"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <b>Home</b> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <a href="docs.html">Handbook</a> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | @@ -59,13 +59,13 @@ Scratch. The kernel is Linux. Nothing else in it is GNU. It is text mode: there <h2 id="install">Install</h2> -<p>By hand, from the <a href="docs.html">handbook</a>. From any running Linux, mount a disk and run the bootstrap -into it, then set up fstab and limine (chapter 5). Or build the live ISO and boot that (chapter 4). There is no -prebuilt ISO to download: you build it.</p> +<p><a class="button" href="https://github.com/tortr-rs/system/releases/latest/download/chamesle.iso">Download the ISO</a></p> + +<p>Boot it, and install by hand from the +<a href="docs.html">handbook</a> (chapter 3). Or, from any running Linux, mount a disk and run the bootstrap into it.</p> <pre>chamesle-disk /dev/sda -chamesle-bootstrap -n yourhostname /mnt -iso/mkiso -r $HOME/src/mag/repo:/usr/pkgsrc</pre> +chamesle-bootstrap -n yourhostname /mnt</pre> <p>The commands, one after the other, are on the <a href="download.html">install page</a>.</p> @@ -98,7 +98,7 @@ own. The <a href="new.html">news page</a> has the history of the old releases.</ <dl> <dt>Is there an ISO to download?</dt> -<dd>No. You build it with <code>iso/mkiso</code>. Anything older with Chamesle's name on it is the old distro, +<dd>Yes, <a href="https://github.com/tortr-rs/system/releases/latest/download/chamesle.iso">chamesle.iso</a>. Anything older with Chamesle's name on it is the old distro, not this system.</dd> <dt>Where is the code?</dt> <dd>There is no public source repo yet. The old Chamesle code is on diff --git a/docs/new.html b/docs/new.html @@ -11,7 +11,7 @@ <meta property="og:title" content="News - Chamesle"> <meta property="og:description" content="News about Chamesle, newest first, and the history of the old releases."> <meta property="og:url" content="https://chamesle.org/new.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?16"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <a href="docs.html">Handbook</a> | <a href="packages.html">Packages</a> | <b>News</b> | diff --git a/docs/packages.html b/docs/packages.html @@ -11,7 +11,7 @@ <meta property="og:title" content="Packages - Chamesle"> <meta property="og:description" content="Chamesle packages come from NetBSD pkgsrc, built from source with mag."> <meta property="og:url" content="https://chamesle.org/packages.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?16"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <a href="docs.html">Handbook</a> | <b>Packages</b> | <a href="new.html">News</a> | diff --git a/docs/post.html b/docs/post.html @@ -5,7 +5,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Post - Chamesle</title> <meta name="robots" content="noindex"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?16"> </head> <body> @@ -17,7 +17,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <a href="docs.html">Handbook</a> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | diff --git a/docs/source.html b/docs/source.html @@ -11,7 +11,7 @@ <meta property="og:title" content="Chamesle Source - Chamesle"> <meta property="og:description" content="Chamesle Source: a Linux kernel that starts straight into vi, and nothing else."> <meta property="og:url" content="https://chamesle.org/source.html"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?16"> </head> <body> @@ -23,7 +23,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <a href="docs.html">Handbook</a> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | diff --git a/docs/style.css b/docs/style.css @@ -186,3 +186,16 @@ input[type=search].big { width: 100%; font-size: 18px; } main.editing { outline: 1px dashed #888; padding: 4px; } #editbar { position: sticky; top: 0; z-index: 10; padding: 6px 8px; background: #ffd; border-bottom: 1px solid #aa6; font-size: 13px; } #editbar button { margin-right: 6px; font: inherit; } + +.button { + display: inline-block; + padding: 10px 24px; + background: #000000; + color: #ffffff; + border: 2px solid #000000; + font-weight: bold; + text-decoration: none; +} +a.button:link, a.button:visited { color: #ffffff; } +a.button:hover { background: #ffffff; color: #000000; } +a.button:active { color: #ee0000; } diff --git a/docs/submit.html b/docs/submit.html @@ -5,7 +5,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <title>New post - Chamesle</title> <meta name="robots" content="noindex"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?16"> </head> <body> @@ -17,7 +17,7 @@ <div id="nav"> <a href="./">Home</a> | -<a href="download.html">Install</a> | +<a href="download.html">Download</a> | <a href="docs.html">Handbook</a> | <a href="packages.html">Packages</a> | <a href="new.html">News</a> | diff --git a/docs/x8664.html b/docs/x8664.html @@ -6,7 +6,7 @@ <title>X22 has moved</title> <link rel="canonical" href="https://x22.chamesle.org/"> <meta http-equiv="refresh" content="0; url=https://x22.chamesle.org/"> -<link rel="stylesheet" href="style.css?14"> +<link rel="stylesheet" href="style.css?16"> </head> <body> <p style="margin:24px">X8664 is called X22 now, and it has a site of its own: