Hi, Russell Will you pls show me the detailed log for genimage?
And the pkglist file is incorrect, it shall be like this: # cat /opt/xcat/share/xcat/netboot/ubuntu/compute.ubuntu14.04.2.x86_64.pkglist bash nfs-common openssl isc-dhcp-client libc-bin linux-image-generic-lts-utopic openssh-server openssh-client wget vim ntp rsync busybox-static gawk dnsutils Thx! Best Regards, ----------------------------------- Zhao Er Tao IBM China System and Technology Laboratory, Beijing Tel:(86-10)82450485 Email: [email protected] Address: 1/F, 28 Building,ZhongGuanCun Software Park, No.8 DongBeiWang West Road, Haidian District, Beijing, 100193, P.R.China From: Russell Jones <[email protected]> To: xCAT Users Mailing list <[email protected]> Date: 2015-12-11 上午 04:30 Subject: [xcat-user] Ubuntu 14.04.2 diskless image building problems Hi all, This is my first dive into trying to create a diskless Ubuntu image. I am an Ubuntu newbie coming from a heavy Redhat background. I have installed xCAT 2.10 on an Ubuntu 14.04.2 host. After setting up the osimage for it, running "genimage" produces the following error at the end: umount: /install/netboot/ubuntu14.04.2/x86_64/ubuntu-mapreduce/rootimg/proc: not mounted umount: /install/netboot/ubuntu14.04.2/x86_64/ubuntu-mapreduce/rootimg/mnt/pkgdir: not found couldn't find the kernel file matched 3.16.0-30-generic in /install/netboot/ubuntu14.04.2/x86_64/ubuntu-mapreduce/rootimg/boot at ./genimage line 73.. I don't understand why it can't find the kernel, I just want it to use whatever comes in the repo. I have not defined anything special to be done with the kernel in the image. Here's the osimage definition: Object name: ubuntu-mapreduce groups=all imagetype=linux nodebootif=eth0 osarch=x86_64 osdistroname=ubuntu14.04.2-x86_64 osname=Linux osvers=ubuntu14.04.2 otherpkgdir=/install/custom/ubuntu-mapreduce/otherpkgs otherpkglist=/install/custom/ubuntu-mapreduce/ubuntu-mapreduce.otherpkgs.pkglist permission=755 pkgdir=/install/ubuntu14.04.2/x86_64,http://repo02.evcluster/ubuntu trusty main multiverse restricted universe pkglist=/install/custom/ubuntu-mapreduce/ubuntu-mapreduce.pkglist postbootscripts=otherpkgs postinstall=/install/custom/ubuntu-mapreduce/ubuntu-mapreduce.postinstall profile=ubuntu-mapreduce provmethod=netboot rootimgdir=/install/netboot/ubuntu14.04.2/x86_64/ubuntu-mapreduce synclists=/install/custom/ubuntu-mapreduce/ubuntu-mapreduce.synclist Here's the pkglist file: openssh-server ntp gawk nfs-common snmpd Thoughts on how to get this resolved? Thank you! ------------------------------------------------------------------------------ _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
