RE: kernel HOWTO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Where can I get the good up-to-date kernel HOWTO for 
> unexperienced users
> from ?

Here's my own Version of a "Howto"

01. Get the sources for kernel 2.4.21 (from www.kernel.org or somewhere)
02. Unzip/Untar the sources into /usr/src (cd /usr/src ; tar -jzvf
kernel-2.4.21.tar.bz2)
03. Make a symbolic link (ln -s /usr/src/linux-2.4.21 /usr/src/linux)
04. Get the patch for upgrading 2.4.21 to 2.4.22-rc2 (from www.kernel.org or
somewhere)
05. Unzip/Untar the sources into /usr/src (cd /usr/src ; tar -jzvf
patch-2.4.22-rc2.tar.bz2)
06. Patch the kernel sources (cd /usr/src/linux ; patch -p1
<../patch-2.4.22-rc2)
07. Get the patch for upgrading 2.4.22-rc2 to 2.4.22-rc2-ac3 (Alan Cox's
patches)
08. Unzip/Untar the sources into /usr/src (cd /usr/src ; tar -jzvf
patch-2.4.22-rc2-ac3.tar.bz2)
09. Patch the kernel sources (cd /usr/src/linux ; patch -p1
<../patch-2.4.22-rc2-ac3)
10. Change the directory name to reflect the change (mv linux-2.4.21
linux-2.4.22-rc2-ac3)
11. make clean
12. make mrproper
13. make clean
14. make xconfig (the xconfig will create a file /usr/src/linux/.config
which has your NEW configs.
    (Save this file someplace - eg: backup)
15. make dep
16. vi Makefile (and edit the EXTRAVERSION to reflect your new kernel name
eg:rc2-ac3_d600)
17. nohup make bzImage & (no hangup)
    (kernel will be in /usr/src/linux/i386/boot/bzImage)
18. nohup make modules >1 modules.out 2>modules.err &
19. make modules_intall
    (This installs the modules to the /lib/modules directory)
    (eg  : /lib/modules/2.4.22-rc3_nikeow_d600/kernel/drivers )
20. make install
    (this will copy your new kernel and it's associated files into the
proper directories /boot)
    (it also executes /sbin/new-kernel-pkg script that builds a new initrd
image and adds new entries
     to the boot loaded configuration file)


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux