Re: upgrading the kernel !

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

El Mon, 23 Apr 2007 19:33:02 +0530
"Onkar N Mahajan" <onkar.n.m@xxxxxxxxx> ha escrit:

> I did that - up to compilation its ok !!  I am going wrong in the grub
> configuration
> title Red Hat Enterprise Linux AS (2.6.9-42.0.10.EL_lustre.1.4.10smp)
>         root (hd0,0)
>         kernel /boot /vmlinuz-2.6.9-42.0.10.EL_lustre.1.4.10smp ro
> root=LABEL=/ rhgb quiet
>         --->initrd /boot/initrd-2.6.9-42.0.10.EL_lustre.1.4.10smp.img
> 
> where do I get this file ???

you need to generate it with mkinitrd or mkinitramfs (newer kernel
versions need the second one, but i can't remember the cutoff version)

mkinitramfs usage is:

 mkinitramfs -o /boot/initrd-2.6.9-42.0.10.EL_lustre.1.4.10smp.img
2.6.9-42.0.10.EL_lustre.1.4.10smp

or in a more generic way:

 mkinitramfs -o /boot/initrd-`uname -r`.img `uname -r`


hope this help,

anyway, there are several 'kernel compilation howtos' that will help
you a lot.

regards,

topi

> & i copied the bzImage after compilation with this option
> 
>  make bzImage && make modules && make modules_install
> 
> into the /boot & also the System.map
> 
> what else I heed to do ..
> 
> 
> On 4/23/07, pradeep singh <2500.pradeep@xxxxxxxxx> wrote:
> > On 4/23/07, Onkar N Mahajan <onkar.n.m@xxxxxxxxx> wrote:
> > > I am a newbie. I want to upgrade the kernel from 2.6.9 to 2.6.12
> > > or higher. I have tried many links on the web but I am not able
> > > to boot the system with the new kernel. I am using rub boot
> > > loader. Can anyone give me a pointer to some tried and tested
> > > link.
> > Download the kernel source from kernel.org.
> > Untar it.
> > Follow the steps given in Readme.txt .
> > If you face any problem, please lets us know so that we can help.
> >
> > Good luck
> > ~psr
> > >
> > > onkar
> > >
> > > --
> > > To unsubscribe from this list: send an email with
> > > "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> > > Please read the FAQ at http://kernelnewbies.org/FAQ
> > >
> > >
> >
> >
> > --
> > play the game
> >
> 
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
> 

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux