diff options
author | Cem Keylan <cem@ckyln.com> | 2020-04-06 12:06:20 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-04-06 12:06:20 +0300 |
commit | 979a10c2a68746565f330e871da2a0a112fa1604 (patch) | |
tree | edc502252ef282c7f67f40251300130aa4b094c1 /docs/wiki/init | |
download | website-979a10c2a68746565f330e871da2a0a112fa1604.tar.gz |
initial commit
Diffstat (limited to 'docs/wiki/init')
-rw-r--r-- | docs/wiki/init/switching-to-sinit.html | 68 | ||||
-rw-r--r-- | docs/wiki/init/switching-to-sinit.txt | 51 |
2 files changed, 119 insertions, 0 deletions
diff --git a/docs/wiki/init/switching-to-sinit.html b/docs/wiki/init/switching-to-sinit.html new file mode 100644 index 0000000..775e01c --- /dev/null +++ b/docs/wiki/init/switching-to-sinit.html @@ -0,0 +1,68 @@ +<!DOCTYPE HTML> +<html lan="en"> +<head> +<title>Switching to Sinit | Carbs Linux</title> +<link rel="stylesheet" href="/assets/style.css"> +<meta charset="utf-8"> +<meta name="Description" content="Carbs Linux - a simple busybox linux distribution"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +</head> +<p class=header><strong>Carbs Linux - a simple busybox linux distribution</strong></p> +<div class="header"><nav> +<a href='/'>index</a> +<a href='https://github.com/CarbsLinux'>github</a> +<a href='//dl.carbslinux.org'>downloads</a> +<a href='/blog'>blog</a> +<a href='/wiki'>wiki</a> +<a href='/wiki/install.html'>installation</a> +</nav></div><div class="border"></div> +<h1>Switching to Sinit</h1> + +<p>Carbs Linux runs <code>busybox-init</code> by default. You can switch to +anything else you desire, but only busybox-init and sinit are +officially supported. Switching to sinit is extremely easy, you +can be up and running within minutes. The only “hard” requirement +is an environment you will be chrooting in. So, let’s begin!</p> + +<h2>Preparing your environment</h2> + +<p>From your other environment, download the kiss-chroot utility +and make it executable.</p> + +<pre><code>$ wget https://dl.getkiss.org/kiss-chroot +$ chmod +x kiss-chroot + +# From your environment start the chroot +$ kiss-chroot /mnt +</code></pre> + +<h2>Removing busybox-init</h2> + +<p>Now that we are in chroot environment, let’s remove busybox-init.</p> + +<pre><code>$ kiss r busybox-init +</code></pre> + +<h2>Installing and configuring sinit</h2> + +<p>Build and install sinit</p> + +<pre><code>$ kiss b sinit +$ kiss i sinit +</code></pre> + +<p>Open up your <code>/etc/init/rc.conf</code> now and uncomment +the variables regarding SINIT. You are ready now.</p> + +<p>If you edited your inittab, make sure you reflect your changes +on the <code>/etc/init/sinit-launch-services.boot</code> file.</p> + +<h2>Finishing up</h2> + +<p>If all of the above is done, simply exit the chroot and reboot. +Sinit should be functioning without any issues.</p> +<a href="/wiki/init/switching-to-sinit.txt">View Page Source</a><div class=border></div> +<p class=footer>Linux® is a registered trademark of Linus Torvalds</p> +<p class=footer>Copyright © 2019-2020 Cem Keylan</p> +</body> +</html> diff --git a/docs/wiki/init/switching-to-sinit.txt b/docs/wiki/init/switching-to-sinit.txt new file mode 100644 index 0000000..3bee312 --- /dev/null +++ b/docs/wiki/init/switching-to-sinit.txt @@ -0,0 +1,51 @@ + +Switching to Sinit +================== + +Carbs Linux runs `busybox-init` by default. You can switch to +anything else you desire, but only busybox-init and sinit are +officially supported. Switching to sinit is extremely easy, you +can be up and running within minutes. The only "hard" requirement +is an environment you will be chrooting in. So, let's begin! + + +Preparing your environment +-------------------------- + +From your other environment, download the kiss-chroot utility +and make it executable. + + $ wget https://dl.getkiss.org/kiss-chroot + $ chmod +x kiss-chroot + + # From your environment start the chroot + $ kiss-chroot /mnt + +Removing busybox-init +--------------------- + +Now that we are in chroot environment, let's remove busybox-init. + + $ kiss r busybox-init + + +Installing and configuring sinit +-------------------------------- + +Build and install sinit + + $ kiss b sinit + $ kiss i sinit + +Open up your `/etc/init/rc.conf` now and uncomment +the variables regarding SINIT. You are ready now. + +If you edited your inittab, make sure you reflect your changes +on the `/etc/init/sinit-launch-services.boot` file. + + +Finishing up +------------ + +If all of the above is done, simply exit the chroot and reboot. +Sinit should be functioning without any issues. |