Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have configured kernel 3.2.x and made some changes in the kernel. I have compiled it and have the compiled image of the kernel with me. The problem i am facing is as in how to modify the boot loader Grub 1.99 in my case, so that i can boot through the new kernel i have compiled.

I looked on net for any tutorials but all of them talked about older versions of Grub ?

Can someone please give some info or point me towards some resource ?

Currently i have compiled my new custom kernel image and have copied it to /boot.

share|improve this question
    
Possible duplicate of What's the easiest way to configure GRUB in a more user friendly way? –  NikTh Oct 27 '12 at 17:34
    
@NikTh I don't think it is. that question is asking about how to modify grub so that it permanently remembers the last kernel choice selected. It is kind of related as in talks about a different way to config the grub but i am asking about as in how to install a new kernel image with grub 1.99 –  abhi Oct 27 '12 at 17:45
    
How you installed the kernel ? didn't you create .deb packages? If you didn't create .deb packages then you should create an initramfs and then update the grub , is not an exclusive matter of grub. –  NikTh Oct 27 '12 at 18:29
    
@NikTh I have still not installed kernel. I have just compiled it and copied the image in /boot/mykernel . Yes this is wanted to know as in how to proceed after this till the end. Can you help me on this.. Thanks –  abhi Oct 27 '12 at 18:35
    
So you didn't create .deb packages , am I right? Because if you did create , then just install the packages and update-grub and should be fine. Or else have a look here: BodhiZazen.net - tutorials - Kernel compile/install. The comments section is not appropriate for such discuss. Good Luck. –  NikTh Oct 27 '12 at 18:41
show 2 more comments

1 Answer 1

up vote 1 down vote accepted

So you didn't create .deb packages , am I right? Because if you did create , then just install the packages and update-grub and should be fine.

You can update grub with the command below (in terminal)

sudo update-grub

Or else have a look here: BodhiZazen.net - tutorials - Kernel compile/install.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.