How do I make sure Im booting onto my custom kernel?
Ive compiled a kernel with some stuff I need, taking out some stuff I dont need. How do I make sure that Im booting onto the new kernel? I think Im still botting onto the old:(
|
After "make dep", if you added in some text, like "-custom", to the "EXTRAVERSION" line in the Makefile then "uname -r" will print the kernel release. e.g. "2.4.20-20.0-custom".
John |
Ive done that, but the uname -r still says 2.4.21-0.13mdk, which is the default kernel, and not my custom one.
|
Are you using LILO ? are there 2 kernels in the list to choose from ? what did you name your new kernel and is it in the list ?
|
.... or alternatively - did you actually make an entry for your new kernel in your bootloader configuration file?
|
Quote:
|
Typically you'd use a line like:
cp arch/i386/boot/bzImage /boot/bzImage-2.4.22 to copy your new kernel to your /boot directory - then use an image line like image=/boot/bzImage-2.4.22 (in LILO) Did you actually copy your new kernel anywhere? |
After compiling, did you (paths may vary)...
cp /usr/src/linux/arch/i386/bzImage /boot/vmlinuz-custom It's not clear whether you're using LILO or grub. In /etc/lilo.conf you should leave the entries for your original kernel alone. Copy them, as you have, but edit one to point at your new kernel, e.g. "image = /boot/vmlinuz-custom" and "label = linux-custom". John |
Im not sure, Im a little new at compiling, but not to Linux as a whole, so that shouldnt be that hard. Ill check it out later on
EDIT: I am using LILO |
|
Hmmm, well it looks like Im going to have to compile again tonight anyway, since I forgot to put something in on the first time. Also, I cant seem to find my new kernel. I dont know where it went :confused:
|
All times are GMT -5. The time now is 12:48 PM. |