how to add new kernel under Ubuntu ?

Goh Lip g.lip at gmx.com
Wed Mar 3 07:06:13 UTC 2010


On 03/03/2010 11:52 AM, loody wrote:
> Dear all:
> I try to compile a new kernel under Ubuntu and replace the original one.
> But I find my ubuntu use Grub2 instead of grub1.
> in Grub1, I cp the new kernel image and new initrd to /boot/.
> but how to do that under grub2?
> Is there document can help me?
> appreciate your help,
> miloody
>

In grub2 (unlike grub-legacy), there is no need to copy kernel and 
initrd.img to /boot/.
Just make sure the grub.cfg is addressing the new kernel and new 
initrd.img (just like in grub-legacy menu.lst).

But there should be no harm if you copy over to /boot/, what is the 
problem you're getting?

Regards - Goh Lip





More information about the ubuntu-users mailing list