Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
6814c13c
Commit
6814c13c
authored
Feb 20, 2001
by
Leigh B. Stoller
Browse files
New file to document silly linux build/install procedure.
parent
8476be38
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/linux-kernel.txt
0 → 100644
View file @
6814c13c
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment