-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all,
First, thanks to all that responded with help for compiling the kernel. With
this help, I was able to successfully compile and install a working kernel.
Here are my notes I collected on the process, from FAQs, the README, and your
commentary. I'm interested to know if I've got the procedure down, and more
importantly, what steps are/are not optional.
Kernel numbering convention (<kernel number>): kernel-version.YYYY.MM.DD.V
Example: 2.2.13-20.1999.11.19.2
<your root mount point>: location of /boot/
Optional steps in ()'s. Steps I'm not sure are optional are not have ?
Kernel assumed to reside in /boot/
unpack sources in /usr/src
(make mrproper)
make config/menuconfig/xconfig depending on preference
(if xconfig, save kernel config file as config-<kernel number>)
(inspect Makefile)
make dep
make clean
make bzimage/bzdisk
make modules
(backup modules directory if same kernel version)
make modules_install
make install
(make checkconfig)
(make checkhelp)
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-<kernel number>
edit lilo.conf
add image-/boot/vmlinuz-<kernel number>
label=linux
root=/dev/<your root mount point>
read-only
modify previous label=linux to label=linux.old, etc.
lilo
(rm -rf /usr/include/linux /usr/include/asm) ?
(ln -sf /usr/src/linux/include/linux /usr/include/linux) ?
(ln -sf /usr/src/linux/include/asm /usr/include/asm) ?
(depmod -a) ?
cp /usr/src/linux/System-map /boot/System.map-<kernel number>
rm /boot/System.map
ln -s System.map-<kernel number> System.map
- From Hal's comments, depmod -a seems to be optional? Am I missing any other
steps?
Thanks again!
--
****************
* Adam Getchell
* [EMAIL PROTECTED]
****************
"Invincibility is in oneself, vulnerability in the opponent." -- Sun Tzu
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.1
iQA/AwUBODX/VkpJObkD8YxXEQLDJQCg/baUESTUKsiexcvRKa6AAUIuz+cAn0pI
ZGxiYyBHRjn4Vh5eVBGwdoD3
=LayW
-----END PGP SIGNATURE-----
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.