diff options
Diffstat (limited to 'core/reboot.html')
-rw-r--r-- | core/reboot.html | 44 |
1 files changed, 21 insertions, 23 deletions
diff --git a/core/reboot.html b/core/reboot.html index d8793a6..210c20f 100644 --- a/core/reboot.html +++ b/core/reboot.html @@ -33,28 +33,26 @@ <h2 id="linux">1.4.1. Kernel</h2> - <p>Core ports have two - <a href="linux.html">linux kernels</a>, - <a href="ports/linux-libre">linux-libre</a> and - <a href="ports/linux-blob">linux-blob</a>. - Port linux-libre kernel is a true source based kernel that - respects your freedoms, is x86_64 but not generic configured, - select modules (drivers) for your hardware, for example - correct graphic driver and disk. Port linux-blob is dangerous, - contain blobs (from bad corporations).</p> - - <p>Both ports apply grsecurity patch and are configured in - a way that break building some packages and have performance - impact in building process. Solution is to have several kernels, - production, testing, debug with one of them without grsecurity.</p> - - <pre> - # cd /usr/ports/c9-ports/linux-libre + <p>There is possible to install kernel using a port, + c9-ports have a <a href="ports/linux-libre">linux-gnu</a> + port for that. Linux-gnu kernel is a true source based kernel that + respects your freedoms, is x86_64 and generic configured. Read + <a href="linux.html">linux kernel</a> for more information.</p> + + <p>If you don't have the binary package;</p> + + <pre> + # cd /usr/ports/c9-ports/linux-gnu # pkgmk -d - # pkgadd /usr/ports/packages/linux-libre#4.9.11-2.pkg.tar.gz </pre> - <h2 id="dracut">1.4.2. Initram</h2> + <p>Install kernel;</p> + + <pre> + # pkgadd /usr/ports/packages/linux-gnu#4.9.86-2.pkg.tar.gz + </pre> + + <h2 id="dracut">1.4.2. Dracut</h2> <p>Install dracut;</p> @@ -92,7 +90,7 @@ port linux-blob kernel;</p> <pre> - # dracut -v /boot/initramfs-4.9.9-blob.img 4.9.9-blob + # dracut -v /boot/initramfs-4.9.86-gnu.img 4.9.86-gnu </pre> <h2 id="grub">1.4.3. Grub</h2> @@ -126,8 +124,8 @@ <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.86-gnu + Found initrd image: /boot/initramfs-4.9.86-gnu.img done # </pre> @@ -184,7 +182,7 @@ <h3>Debug initram</h3> <pre> - /usr/lib/dracut/skipcpio /boot/initramfs-4.9.11-blob.img | gunzip -c | cpio -i -d + /usr/lib/dracut/skipcpio /boot/initramfs-4.9.86-gnu.img | gunzip -c | cpio -i -d 36875 blocks </pre> |