From 6f2d2fd8051da238f1dd50e86df6a7fb8ed66760 Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Sat, 17 Sep 2016 03:47:26 +0100 Subject: core linux fix names, added initramfs and grub --- core/linux.html | 23 +++++++++++++++++------ 1 file 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 @@
-        $ 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
+        
+ +

Create dracut initramfs;

+ +
+        $sudo dracut --fstab /boot/initramfs-4.1.32-gnu_crux.img 4.1.32-gnu_crux
+        
+ +

Update grub;

+ +
+        # grub-mkconfig -o /boot/grub/grub.cfg
         

2.3.3. Manual Remove

-        $ 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
         
Core OS Index -- cgit 1.4.1-2-gfad0