Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3858 - How to recompile your kernel after installation.
Summary: How to recompile your kernel after installation.
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sherman Boyd (meekrob) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-18 15:33 UTC by Lester Yee
Modified: 2002-06-19 17:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lester Yee 2002-06-18 15:33:37 UTC
When I boot up my machine now after install there is nothing in the /boot dir. 
If I want to recompile my kernel again .. how do I do this w/o reinstalling?


thanks,
Comment 1 SpanKY gentoo-dev 2002-06-18 19:34:24 UTC
uhhh ... did you setup your fstab correctly ?
as for making a new kernel ...
just cd /usr/src/linux
make menuconfig (setup your kernel options here ...)
make clean dep bzImage modules modules_install
then you should have /usr/src/linux/arch/i386/boot/bzImage
i'm assuming of course you are using x86 as your cpu
move the bzImage to wherever you want, and edit /boot/grub/menu.lst to actually 
boot it ...
Comment 2 Artur Brodowski 2002-06-19 05:45:53 UTC
/boot is not mounted automatically at boot, so you won't hurt your kernel by
accident. mount /boot as root, then update the kernel as in SpanKY posting.
and mark this FIXED ;)