Hi All, I have posted same subject before also . i got suggestions . It worked also . I using source code of kernel 2.6.9( ie is in tar format) which is applied all the patches . I tried to make the rpm of kernel out of this but it's not creating initrd.img .Without this system is not booting . Is there any way do this ...?
Thanks in advance
Regards juliet
Have a look here: http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html
-Marco
----- Original Message ----- From: "PV Juliet" pvjuliet@gmail.com To: "CentOS mailing list" centos@centos.org Sent: Wednesday, April 26, 2006 10:24 PM Subject: [CentOS] Kernel RPM
Hi All, I have posted same subject before also . i got suggestions . It worked also . I using source code of kernel 2.6.9( ie is in tar format) which is applied all the patches . I tried to make the rpm of kernel out of this but it's not creating initrd.img .Without this system is not booting . Is there any way do this ...?
Thanks in advance
Regards juliet _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi, Thanks a lot . I found if i make the rpm of kernel from kernel.src.rpm . This creates the initrd.img . But when i tried from source code , it creates the rpm but it's not making initrd.img . So i have do this manually . BUt i don't know How i can do on my own installation CD ???
Thanks in advance
Regards juliet On 4/26/06, Marco Garza testuser@ccskavenger.info wrote:
Have a look here: http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html
-Marco
----- Original Message ----- From: "PV Juliet" pvjuliet@gmail.com To: "CentOS mailing list" centos@centos.org Sent: Wednesday, April 26, 2006 10:24 PM Subject: [CentOS] Kernel RPM
Hi All, I have posted same subject before also . i got suggestions . It worked also . I using source code of kernel 2.6.9( ie is in tar format) which is applied all the patches . I tried to make the rpm of kernel out of this but it's not creating initrd.img .Without this system is not booting . Is there any way do this ...?
Thanks in advance
Regards juliet _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.0/325 - Release Date: 4/26/2006
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Thursday 27 April 2006 06:17, PV Juliet wrote:
Hi, Thanks a lot . I found if i make the rpm of kernel from kernel.src.rpm . This creates the initrd.img . But when i tried from source code , it creates the rpm but it's not making initrd.img . So i have do this manually . BUt i don't know How i can do on my own installation CD ???
mkinitrd creates initrd files: mkinitrd /my/new/initrd.img my-kernel-version
/Peter
Hi, I need this do automatically . If i am doing this manually it works fine .After installing this rpm it should create automatically.
Thanks in advance
Regards juliet
On 4/30/06, Peter Kjellström cap@nsc.liu.se wrote:
On Thursday 27 April 2006 06:17, PV Juliet wrote:
Hi, Thanks a lot . I found if i make the rpm of kernel from kernel.src.rpm . This creates the initrd.img . But when i tried from source code , it creates the rpm but it's not making initrd.img . So i have do this manually . BUt i don't know How i can do on my own installation CD ???
mkinitrd creates initrd files: mkinitrd /my/new/initrd.img my-kernel-version
/Peter
--
Peter Kjellström | National Supercomputer Centre | Sweden | http://www.nsc.liu.se
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
PV Juliet spake the following on 5/2/2006 9:46 PM:
Hi, I need this do automatically . If i am doing this manually it works fine .After installing this rpm it should create automatically.
Your .spec file would need a %post-install% section with the commands to make the initrd. Look at the kernel source .spec file for some ideas.
On Wednesday 03 May 2006 06:46, PV Juliet wrote:
Hi, I need this do automatically . If i am doing this manually it works fine .After installing this rpm it should create automatically.
redhat kernel rpms typically does this automatically, the rpm you get from "make rpm" in a vanilla kernel source tree does not.
/Peter