Hello Damir,
How did you run your genimage command ?
Did you try using the -k option specifying the kernel version you want to add?
Example:
# genimage -k 2.6.32-504.16.2.el6.x86_64 compute6.6gpfs4.2
If that does not work you could try a test with the following:
1. Place the rpms into /install/kernels top directory.
2. createrepo /install/kernels
3. Run the genimage -k command again.
If this does not help I hope someone else on the list can do some deeper
diagnosis for you.
Regards,
David
From: Damir Krstic [mailto:[email protected]]
Sent: Monday, March 21, 2016 2:19 PM
To: xCAT Users Mailing list
Subject: [xcat-user] couldn't find the kernel file matched
2.6.32-504.16.2.el6.x86_64 in
/install/netboot/rhels6.6/x86_64/compute6.6gpfs4.2/rootimg/boot at ./genimage
line 72..
Getting following error when generating new image:
couldn't find the kernel file matched 2.6.32-504.16.2.el6.x86_64 in
/install/netboot/rhels6.6/x86_64/compute6.6gpfs4.2/rootimg/boot at ./genimage
line 72..
Here is the lsdef for the image:
[root@mgt boot]# lsdef -t osimage compute6.6gpfs4.2
Object name: compute6.6gpfs4.2
exlist=/install/custom/netboot/rh/compute6.6gpfs4.2.exlist
imagetype=linux
kerneldir=/install/kernels/
kernelver=2.6.32-504.16.2.el6.x86_64
osarch=x86_64
osdistroname=rhels6.6-x86_64
osname=Linux
osvers=rhels6.6
otherpkgdir=/install/post/otherpkgs/rhels6.6/x86_64
otherpkglist=/install/custom/netboot/rh/compute6.6gpfs4.2.otherpkgs.pkglist
permission=755
pkgdir=/install/rhels6.6/x86_64
pkglist=/install/custom/netboot/rh/compute6.6gpfs4.2.pkglist
postinstall=/install/custom/netboot/rh/compute6.6gpfs4.2.postinstall
profile=compute6.6gpfs4.2
provmethod=netboot
rootimgdir=/install/netboot/rhels6.6/x86_64/compute6.6gpfs4.2
synclists=/install/custom/netboot/rh/synclist6.6gpfs4.2
Here is the listing of the directory /install/kernels
[root@mgt boot]# ls -l /install/kernels/
total 4
drwxr-xr-x 3 root root 4096 Mar 21 09:03 2.6.32-504.16.2.el6.x86_64
[root@mgt boot]# ls -l /install/kernels/2.6.32-504.16.2.el6.x86_64/
total 88160
-rwx------ 1 root root 371 Jan 13 10:02 install.sh
-rw-r--r-- 1 root root 30526712 Apr 21 2015
kernel-2.6.32-504.16.2.el6.x86_64.rpm
-rw-r--r-- 1 root root 31244080 Apr 21 2015
kernel-debug-2.6.32-504.16.2.el6.x86_64.rpm
-rw-r--r-- 1 root root 9831692 Apr 21 2015
kernel-devel-2.6.32-504.16.2.el6.x86_64.rpm
-rw-r--r-- 1 root root 15140648 Apr 21 2015
kernel-firmware-2.6.32-504.16.2.el6.noarch.rpm
-rw-r--r-- 1 root root 3517060 Apr 21 2015
kernel-headers-2.6.32-504.16.2.el6.x86_64.rpm
drwxr-xr-x 2 root root 4096 Mar 21 09:03 repodata
I ran the createrepo command after copying the kernel files in this directory.
Still getting the error in generating image. Any help is much appreciated.
Thanks,
Damir
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user