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
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to