Results 1 to 4 of 4
I have build the linux kernel from the setup I have installed ( Ubuntu) ,
now I want to test I mean I want to install this new kernel , ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-09-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 5
installing a built Kernel
I have build the linux kernel from the setup I have installed ( Ubuntu) ,
now I want to test I mean I want to install this new kernel , the new kernel I have made , so how should I do that.
thanks
- 06-09-2010 #2
You just give it a good distinctive name, move it to /boot and point grub towards it.
Easiest way is to copy your default grub option (the one you normally boot) and change the entry for kernel to your new kernel. Change the title too. That way, you'll have an extra grub option during boot that loads your new kernel. And if it doesn't boot (that happens
) you still have your default.
Something like this exampleCan't tell an OS by it's GUI
- 06-09-2010 #3Just Joined!
- Join Date
- Jun 2010
- Posts
- 5
Thanks Freston
I wanna to ask that after editing the Kernel by command:
$ make menuconfig
I make the kernel and than gave the following command:
# make modules_install
and than the command
# make install
after that it immediately gave the bzimage of kernel .
So I wana to ask that was that command was executed successfully and was the imag of kernel was produced.
If yes than how should I get that image and how can I find out that the built kernel image is actually that one which I have built.
- 06-09-2010 #4
Heh, you caught me with your question about `make install`
I know it should install the kernel in it's rightful place (/boot). But, it should not finish immediately. That does not seem right.
After configuring, I do
Then you have your new (compressed) kernel in arch/x86/boot/bzImageCode:make modules bzImage make modules_install
This one you rename to something descriptive and put it in /boot
Code:cp arch/x86/boot/bzImage /boot/name_of_new_kernel
Can't tell an OS by it's GUI


Reply With Quote
