Commit 6814c13c authored by Leigh B. Stoller's avatar Leigh B. Stoller

New file to document silly linux build/install procedure.

parent 8476be38
Some notes on how to build and install a new linux kernel.
1. Config the kernel with an existing .config file. Copy the file into
the toplevel directory, and then do "make oldconfig". A lot of stuff
will scroll by very fast. In some cases, if the modules have change,
it will ask you questions about configuring new stuff. I just take the
default value with a carriage return.
You can also "cp arch/i386/defconfig .config" and then change the
first section dealing with the CPU type from 386, to PIII. See below
2. Do a "make dep".
3. Build the kernel proper with "make".
4. Build the kernel modules with "make modules"
5. Build the compressed boot image with "make bzImage"
6. Install the modules with "su1 make modules_install"
7. Copy the kernel files into /boot with:
su1 cp System.map /boot/System.map
su1 cp vmlinux /boot/vmlinux-2.2.14-5.0
su1 cp arch/i386/boot/bzImage /boot/vmlinuz
8. Run lilo with "su1 lilo"
-----
#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
CONFIG_M686=y
# CONFIG_M686FX is not set
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
# CONFIG_X86_PN_OFF is not set
# CONFIG_X86_FX is not set
# CONFIG_X86_CPU_OPTIMIZATIONS is not set
CONFIG_MATH_EMULATION=y
CONFIG_MTRR=y
# CONFIG_SMP is not set
CONFIG_1GB=y
# CONFIG_2GB is not set
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment