aboutsummaryrefslogtreecommitdiffstats
path: root/core/reboot.html
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2017-02-18 06:59:21 +0000
committerSilvino Silva <silvino@bk.ru>2017-02-18 06:59:21 +0000
commitbb078eb6dcd67616e4e57b8df7cf8bc0dbd8ffa9 (patch)
treecb88b7d25e1cc8b4a727443bad339ef2692de542 /core/reboot.html
parentd11608eafc201f6fc5e6fad86eb76908f489deda (diff)
downloaddoc-bb078eb6dcd67616e4e57b8df7cf8bc0dbd8ffa9.tar.gz
install update to crux 3.3
Diffstat (limited to 'core/reboot.html')
-rw-r--r--core/reboot.html23
1 files changed, 15 insertions, 8 deletions
diff --git a/core/reboot.html b/core/reboot.html
index b1ff71b..c63f9bc 100644
--- a/core/reboot.html
+++ b/core/reboot.html
@@ -33,12 +33,16 @@
<h2 id="linux">1.4.1. Linux Kernel</h2>
- <p>Install kernel with default crux configuration using pkgutils;</p>
+ <p>c9-ports have two kernels, linux libre and linux blob.
+ Port linux-libre kernel is a true source based kernel that
+ respects your freedoms, is x86_64 but not generic configured,
+ with all drivers as modules or correct graphic driver.
+ Port linux-blob contain blobs and loads firmware.</p>
<pre>
- # cd /usr/ports/c9-ports/linux-crux
+ # cd /usr/ports/c9-ports/linux-libre
# pkgmk -d
- # pkgadd /usr/ports/packages/linux-crux#4.1.30-1.pkg.tar.gz
+ # pkgadd /usr/ports/packages/linux-libre#4.9.9-3.pkg.tar.gz
</pre>
<h2 id="dracut">1.4.2. Dracut - Initramfs</h2>
@@ -60,6 +64,9 @@
# Equivalent to -H
hostonly="yes"
+ # Mount / and /usr read-only by default.
+ ro_mnt="no"
+
# Equivalent to -m "module module module"
dracutmodules+="dash kernel-modules rootfs-block udev-rules usrmount base fs-lib shutdown"
@@ -72,10 +79,11 @@
# SEE man dracut.conf(5) for options
</pre>
- <p>Run dracut to create init ram filesystem;</p>
+ <p>Run dracut to create init ram filesystem for
+ port linux-blob kernel;</p>
<pre>
- # dracut -v /boot/initramfs-4.1.30-crux.img 4.1.30-crux
+ # dracut -v /boot/initramfs-4.9.9-blob.img 4.9.9-blob
</pre>
<h2 id="grub">1.4.3. Configuring Grub2</h2>
@@ -109,8 +117,7 @@
<pre>
# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub.cfg ...
- Found linux image: /boot/vmlinuz-4.1.30-crux
- Found initrd image: /boot/initramfs-4.1.30-crux.img
+ Found linux image: /boot/vmlinuz-4.9.9-grsec
done
#
</pre>
@@ -145,7 +152,7 @@
<h3>Debug initram</h3>
<pre>
- /usr/lib/dracut/skipcpio /boot/initramfs-4.1.32-c9k9.img | gunzip -c | cpio -i -d
+ /usr/lib/dracut/skipcpio /boot/initramfs-4.9.9-blob.img | gunzip -c | cpio -i -d
36875 blocks
</pre>