Re: Is this correct: Kernel Compiling Checklist

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El Lunes, 12 de Abril de 2004 17:36, Etanisla Lopez-Ortiz escribió:

> 0:  Insert desired version number where x.x.x is present.
> 1:  Get desired kernel and extract it.
> 2:  "mv /scratch/directory/linux-x.x.x /usr/src"

Woudn't it be easier to untar the kernel directly in /usr/src, or even 
do yum install kernel-source-what-the-hell ?

> 3:  "cd /usr/src/linux-x.x.x"

You forgot creating the symlink: 

ln -s linux-xxx linux

> 5:  "make oldconfig" (Keep the stuff that works, and only answer new
> questions)
> 6:  "make xconfig" (Make sure kernel options for Prism54 are set
> properly) 

Why twice?
Once you have .config copyed run just 'make xconfig', those options 
which are compatible with the older .config will appear as already 
marked. 

> 8:  "make clean"
This is no always a good choice.

> 14: Edit /etc/rc.sysinit and change '/proc/sys/kernel/modprobe' to
> /sbin/modprobe'.

No clues. What is this supposed to do?

Try this mantra:

* get the tarball and stuff it in /usr/src 
* tar xvfj linux-xxx.tar.bz2 ; ln -s linux-xxx linux ; cd linux ; \ 
cp /boot/config-xxx $PWD 
* make xconfig ; make dep ; make bzImage ; make modules ; make 
modules_install
* cp /usr/src/linux/arch/i386/bzImage /boot/vmlinuz-xxx
* cp /usr/src/linux/System.map /boot/System.map-xxx
* cp /usr/src/linux/.config /boot/config-xxx

Make the initrd, edit grub.conf and reboot.

- -- 
S41002
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAesNodC7YcERnEMoRArqTAJ9JuFrr6KT4LOoyPQ6pZ+cpjhp8BgCg1m6M
wjJr6RUJZ76l6/8wFDfCkIY=
=+DfI
-----END PGP SIGNATURE-----



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux