There is a problem with some files named boot/strings......
Example, in RHEL 3 : /boot/strings_rhel3_vmlinuz-2.4.21-50.EL.txt
Then /boot/strings_rhel3_vmlinuz-2.4.21-50.EL.txt is used by
function GetInitrdFilesystemToUse()
instead of /boot/vmlinuz-2.4.21-50.EL
The problem comes from mindi, line 2376 (mindi r3104) :
Line 2376 of /usr/sbin/mindi :
for fname in `find $root -maxdepth 2 -type f | grep -Ei
'lin|kern|xen' | grep -Ev '^/proc/|^/net/'` ; do
Tests SLES 11 SP1
# find / -maxdepth 2 -type f | grep -Ei 'lin|kern|xen' | grep
-Ev '^/proc/|^/net/'
/lib/libselinux.so.1
/mondobackup/linux-m8p5-2012-12-17-1.iso
/bin/readlink
/lib64/libselinux.so.1
/lib64/libreadline.so.5.2
/sbin/get_kernel_version
/sbin/kernelversion
/sbin/installkernel
/sbin/modeline2fb
/sbin/activate_dm_linear
/boot/vmlinuz-2.6.32.12-0.7-default
/boot/vmlinux-2.6.32.12-0.7-default.gz
I recommend this solution :
# find / -maxdepth 2 -type f | grep -Ei 'lin|kern|xen' | grep
-Ev
'^/proc/|^/net/|^/lib|^/lib64|^/bin|^/sbin|^/etc|^/mondobackup|^/boot/strings'
/boot/vmlinuz-2.6.32.12-0.7-default
/boot/vmlinux-2.6.32.12-0.7-default.gz
Tests RHEL 6
# find / -maxdepth 2 -type f | grep -Ei 'lin|kern|xen' | grep
-Ev '^/proc/|^/net/'
/lib/libreadline.so.6.0
/lib/libselinux.so.1
/sbin/installkernel
/sbin/new-kernel-pkg
/sbin/telinit
/boot/.vmlinuz-2.6.32-279.22.1.el6.i686.hmac
/boot/vmlinuz-2.6.32-279.19.1.el6.i686
/boot/.vmlinuz-2.6.32-279.14.1.el6.i686.hmac
/boot/.vmlinuz-2.6.32-279.19.1.el6.i686.hmac
/boot/vmlinuz-2.6.32-279.22.1.el6.i686
/boot/vmlinuz-2.6.32-279.14.1.el6.i686
/bin/unlink
/bin/link
/bin/readlink
/etc/prelink.cache
/etc/prelink.conf
I recommend this solution :
# find / -maxdepth 2 -type f | grep -Ei 'lin|kern|xen' | grep -Ev
'^/proc/|^/net/|^/lib|^/lib64|^/bin|^/sbin|^/etc|^/mondobackup|^/boot/strings'
/boot/.vmlinuz-2.6.32-279.22.1.el6.i686.hmac
/boot/vmlinuz-2.6.32-279.19.1.el6.i686
/boot/.vmlinuz-2.6.32-279.14.1.el6.i686.hmac
/boot/.vmlinuz-2.6.32-279.19.1.el6.i686.hmac
/boot/vmlinuz-2.6.32-279.22.1.el6.i686
/boot/vmlinuz-2.6.32-279.14.1.el6.i686