diff options
-rw-r--r-- | core/linux.html | 23 |
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> |