about summary refs log tree commit diff stats
path: root/core/reboot.html
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2017-02-20 09:06:21 +0000
committerSilvino Silva <silvino@bk.ru>2017-02-20 09:06:21 +0000
commit0e7880313b3a3e016c0d2e287802cc6ddff9edd1 (patch)
tree4ab03821ada4e4817dd58d161ae46041e24575b0 /core/reboot.html
parentfd15c7a1ea378eaea467a741253483b2f5b31ea9 (diff)
downloaddoc-0e7880313b3a3e016c0d2e287802cc6ddff9edd1.tar.gz
core revision
Diffstat (limited to 'core/reboot.html')
-rw-r--r--core/reboot.html106
1 files changed, 7 insertions, 99 deletions
diff --git a/core/reboot.html b/core/reboot.html
index c63f9bc..7bc22ea 100644
--- a/core/reboot.html
+++ b/core/reboot.html
@@ -33,109 +33,17 @@
 
         <h2 id="linux">1.4.1. Linux Kernel</h2>
 
-        <p>c9-ports have two kernels, linux libre and linux blob.
+        <p>Core 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>
+        select modules (drivers) for your hardware, for example
+        correct graphic driver and disk. Port linux-blob is dangerous,
+        contain blobs (from bad corporations).</p>
 
         <pre>
         # cd /usr/ports/c9-ports/linux-libre
         # pkgmk -d
-        # pkgadd /usr/ports/packages/linux-libre#4.9.9-3.pkg.tar.gz
-        </pre>
-
-        <h2 id="dracut">1.4.2. Dracut - Initramfs</h2>
-
-        <p>Install dracut;</p>
-
-        <pre>
-        # cd /usr/ports/c9-ports/dracut
-        # pkgmk -d
-        # pkgadd /usr/ports/packages/dracut#044-2.pkg.tar.gz
-        </pre>
-
-        <p>Review configuration file;</p>
-
-        <pre>
-        # PUT YOUR CONFIG IN separate files
-        # in /etc/dracut.conf.d named "<name>.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
-        </pre>
-
-        <p>Run dracut to create init ram filesystem for
-        port linux-blob kernel;</p>
-
-        <pre>
-        # dracut -v /boot/initramfs-4.9.9-blob.img 4.9.9-blob
-        </pre>
-
-        <h2 id="grub">1.4.3. Configuring Grub2</h2>
-
-        <p>Create grub file in /etc/default/grub with values;</p>
-
-        <pre>
-        GRUB_DISABLE_LINUX_UUID=false
-        GRUB_ENABLE_LINUX_LABEL=false
-        </pre>
-
-        <p><a href="http://www.gnu.org/software/grub/manual/grub.html">Grub Manual</a>,
-        install grub on MBR of disk sdb;</p>
-
-        <pre>
-        # grub-install /dev/sdb
-        Installation finished. No error reported.
-        </pre>
-
-        <p>If you are installing on removable media;</p>
-
-        <pre>
-        # grub-install --removable /dev/sdb
-        Installation finished. No error reported.
-        </pre>
-
-        <p>grub-mkconfig generates grub.cfg, it will try to discover
-        available kernels and attempt to generate menu entries for
-        them;</p>
-
-        <pre>
-        # grub-mkconfig -o /boot/grub/grub.cfg
-        Generating grub.cfg ...
-        Found linux image: /boot/vmlinuz-4.9.9-grsec
-        done
-        #
-        </pre>
-
-        <p>Check /boot/grub/grub.cfg, if is wrong add menu to
-        /etc/grub.d/40_custom, replace correct msdos partition
-        from grub-prob output and correct UUID from fstab or blkid</p>
-
-        <pre>
-        # grub-probe --target=hints_string /
-        </pre>
-
-        <p>To add rw as default edit /etc/grub.d/10_linux file, current
-        version change line 138 to;</p>
-
-        <pre>
-        echo    '$message'
-        linux   ${rel_dirname}/${basename} root=${linux_root_device_thisversion} rw ${args}
+        # pkgadd /usr/ports/packages/linux-libre#4.9.11-2.pkg.tar.gz
         </pre>
 
         <h2 id="checkup">1.4.4. Checkup</h2>
@@ -152,13 +60,13 @@
         <h3>Debug initram</h3>
 
         <pre>
-        /usr/lib/dracut/skipcpio /boot/initramfs-4.9.9-blob.img | gunzip -c | cpio -i -d
+        /usr/lib/dracut/skipcpio /boot/initramfs-4.9.11-blob.img | gunzip -c | cpio -i -d
         36875 blocks
         </pre>
 
         <a href="index.html">Core OS Index</a>
         <p>This is part of the c9-doc Manual.
-        Copyright (C) 2016
+        Copyright (C) 2017
         c9 team.
         See the file <a href="../fdl-1.3-standalone.html">Gnu Free Documentation License</a>
         for copying conditions.</p>