after install of new Linux ISO with new kernel&initrd, could not boot
I believe that RedHat kernel rpms have a built-in
post install tool that calls /sbin/new-kernel-pkg
whichÂ*in turn calls /sbin/grubby to update the
grub configuration file.Â*
So examinie the built-in scriptsÂ*in a vendor kernel
rpm to see how they do this.
Â*
-dave
From: anaconda-devel-list-bounces@redhat.com [anaconda-devel-list-bounces@redhat.com] on behalf of zf5984599 [zf5984599@gmail.com]
Sent: Thursday, June 28, 2012 12:33 AM
To: anaconda-devel-list; anaconda-devel-list
Subject: after install of new Linux ISO with new kernel&initrd, could not boot
hi, dear experts
Â*
When I made my own centOS Linux ISO with new compiledÂ*kernel and initrd.img by myself. I met one problem.
there is some relation with anaconda, so i turn to ask for help here.
Â*
HereÂ*are steps:
1)build one kernel RPM with compiled kernel and initrd.img in the ISO.
2) when install the new centOS LinuxÂ*ISO, the installation is fine.
3)Â*after installation, it is not able to reboot, because grub "menu.lst" is broken. There is no "initrd initrd.img" line
Â*Â* in menu.lst file. The OS could not boot normally.
My questions:
Q)Â*since the menu.lst/grub.conf is generated by anaconda, I am wondering that there is something wrong when the
anaconda generating the grub menu.lst? Is that something wrong with my kernel name induced this ?
Â*
Many thanks for your help.
Â*
BRs
feng
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list