From b1f78adfe84a641cab003b115de54328d634e13f Mon Sep 17 00:00:00 2001
From: Silvino Silva Default crux configuration can be obtained from iso,
- kernel port depends on dracut and grub but is not required
- to install them. To build and install this port using prt-get;2.1.1. Port Linux Libre
$ prt-get depinst linux-libre @@ -289,47 +290,6 @@ $ sudo rm /boot/System.map-4.9.12-grsec-
Install dracut;
- -- # cd /usr/ports/c9-ports/dracut - # pkgmk -d - # pkgadd /usr/ports/packages/dracut#044-2.pkg.tar.gz -- -
Review configuration file;
- -- # PUT YOUR CONFIG IN separate files - # in /etc/dracut.conf.d named "- -.conf" - - # 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" - - # Equivalent to -a "module" - add_dracutmodules+="caps debug" - - # Equivalent to -o "module" - #omit_dracutmodules+="systemd systemd-bootchart systemd-networkd systemd-initrd" - - # SEE man dracut.conf(5) for options -
Run dracut to create init ram filesystem for - port linux-blob kernel;
- -- # dracut -v /boot/initramfs-4.9.11-blob.img 4.9.11-blob -- Core OS Index
This is part of the c9-doc Manual. Copyright (C) 2017 diff --git a/core/reboot.html b/core/reboot.html index aa45a0f..d8793a6 100644 --- a/core/reboot.html +++ b/core/reboot.html @@ -31,7 +31,7 @@ /bin/bash --login -
Core ports have two linux kernels, @@ -54,7 +54,48 @@ # pkgadd /usr/ports/packages/linux-libre#4.9.11-2.pkg.tar.gz -
Install dracut;
+ ++ # cd /usr/ports/c9-ports/dracut + # pkgmk -d + # pkgadd /usr/ports/packages/dracut#044-2.pkg.tar.gz ++ +
Review configuration file;
+ ++ # PUT YOUR CONFIG IN separate files + # in /etc/dracut.conf.d named "+ +.conf" + + # 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" + + # Equivalent to -a "module" + add_dracutmodules+="caps debug" + + # Equivalent to -o "module" + #omit_dracutmodules+="systemd systemd-bootchart systemd-networkd systemd-initrd" + + # SEE man dracut.conf(5) for options +
Run dracut to create init ram filesystem for + port linux-blob kernel;
+ ++ # dracut -v /boot/initramfs-4.9.9-blob.img 4.9.9-blob ++ +
Create grub file in /etc/default/grub with values;
@@ -127,6 +168,7 @@ linux (loop)/boot/vmlinuz64 loglevel=3 cde initrd (loop)/boot/corepure64.gz } +