Help > Programming

Compile and install your own kernel

(1/1)

mmix:
http://www.nutyx.org/en/build-kernel.html

Hi, there is something omitted in the page.

# ls -l /lib/modules/
total 8
drwxr-xr-x 3 root root 4096 Oct 31 09:03 3.16.7
drwxrwxr-x 3 root root 4096 Mar 15 22:12 4.0.0-rc4

# mkinitramfs 4.0.0-rc4

# ls -l /boot/                                                                              [23:59 x86_64 4.0.0-rc4 root@nutyx]
total 17184
-rw-rw-r-- 1 root root 3439616 Mar 15 22:13 bzImage
drwxr-xr-x 4 root root    4096 Mar 15 23:54 grub
-rw-r--r-- 1 root root 4307225 Mar 13 07:10 initrd
-rw-rw-r-- 1 root root 6469656 Mar 15 23:51 initrd-4.0.0-rc4
lrwxrwxrwx 1 root root      13 Mar 13 07:10 kernel -> kernel-3.16.7
-rw-r--r-- 1 root root 3367552 Mar 13 07:10 kernel-3.16.7

# cat /boot/grub/grub.cfg
# Begin grub.cfg
# By default boot the first menu entry.
set default=0
# Allow 5 seconds before booting the default.
set timeout=5
set color_highlight=blue/white
set color_normal=cyan/black
# insmod all_video
# insmod jpeg
# terminal_output gfxterm
menuentry "NuTyX x86_64 ext4 on /dev/sda1" {
 linux /boot/bzImage root=/dev/sda1 ro quiet
 initrd /boot/initrd-4.0.0-rc4
}

menuentry "NuTyX x86_64_old ext4 on /dev/sda1" {
 linux /boot/kernel root=/dev/sda1 ro quiet
 initrd /boot/initrd
}
 
menuentry "Maintenance NuTyX" {
  linux /boot/kernel ro quiet
  initrd /boot/initrd
}

Thierry:
Tanks for the report,

I will correct it this evening

Thierry

Thierry:
Actually this article is on purpose proposing the compilation without the need of any modules.
I thing it's the main reason for compiling a personalize kernel.

Navigation

[0] Message Index

Go to full version