about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2016-09-17 03:47:26 +0100
committerSilvino Silva <silvino@bk.ru>2016-09-17 03:47:26 +0100
commit6f2d2fd8051da238f1dd50e86df6a7fb8ed66760 (patch)
treedc826ffa4b568e2a89e5aa0f326922a7289ca42d
parent91a9fb6bc8183a1a704f9ecb9732d93c1cd951eb (diff)
downloaddoc-6f2d2fd8051da238f1dd50e86df6a7fb8ed66760.tar.gz
core linux fix names, added initramfs and grub
-rw-r--r--core/linux.html23
1 files changed, 17 insertions, 6 deletions
diff --git a/core/linux.html b/core/linux.html
index c2c8452..ba80aab 100644
--- a/core/linux.html
+++ b/core/linux.html
@@ -95,19 +95,30 @@
         </pre>
 
         <pre>
-        $ cd ~/linux-4.1.32/
         $ make -j $(nproc) all
         $ sudo make modules_install
-        $ sudo cp arch/x86/boot/bzImage /boot/vmlinuz-4.1.32
-        $ sudo cp System.map /boot/System.map-4.1.32
+        $ sudo cp arch/x86/boot/bzImage /boot/vmlinuz-4.1.32-gnu_crux
+        $ sudo cp System.map /boot/System.map-4.1.32-gnu_crux
+        </pre>
+
+        <p>Create dracut initramfs;</p>
+
+        <pre>
+        $sudo dracut --fstab /boot/initramfs-4.1.32-gnu_crux.img 4.1.32-gnu_crux
+        </pre>
+
+        <p>Update grub;</p>
+
+        <pre>
+        # grub-mkconfig -o /boot/grub/grub.cfg
         </pre>
 
         <h2 id="kuninstall">2.3.3. Manual Remove</h2>
 
         <pre>
-        $ sudo rm -r /lib/modules/4.5.5-gnu
-        $ sudo rm /boot/vmlinuz-4.5.5
-        $ sudo rm /boot/System.map-4.5.5
+        $ sudo rm -r /lib/modules/4.1.12-gnu_crux
+        $ sudo rm /boot/vmlinuz-4.1.12-gnu_crux
+        $ sudo rm /boot/System.map-4.1.12-gnu_crux
         </pre>
 
         <a href="index.html">Core OS Index</a>