Yep! 

This is being ran on a CentOS 7.1 "build host". The management node is
CentOS 6.6. I am following the docs for building an OS image of a
different type. I am then running imgexport on the "build host", copying
the tar over to the management node, and running "imgimport". 

Here's the osimage definition: 

Object name: v7.1.0-dl-compute-apu
 groups=all
 imagetype=linux
 nodebootif=eth0
 osarch=x86_64
 osdistroname=centos7.1-x86_64
 osname=Linux
 osvers=centos7.1
 otherpkgdir=/install/custom/v7.1.0-dl-compute-apu/otherpkgs

otherpkglist=/install/custom/v7.1.0-dl-compute-apu/v7.1.0-dl-compute-apu.otherpkgs.pkglist
 permission=755
 pkgdir=/install/centos7.1/x86_64

pkglist=/install/custom/v7.1.0-dl-compute-apu/v7.1.0-dl-compute-apu.pkglist
 postbootscripts=otherpkgs

postinstall=/install/custom/v7.1.0-dl-compute-apu/v7.1.0-dl-compute-apu.postinstall
 profile=v7.1.0-dl-compute-apu
 provmethod=netboot
 rootimgdir=/install/netboot/centos7.1/x86_64/v7.1.0-dl-compute-apu

synclists=/install/custom/v7.1.0-dl-compute-apu/v7.1.0-dl-compute-apu.synclist


Here's the output during genimage time after yum has finished running: 

Complete!
Added vxlan.ko as an autodetected depedency
Added ip_tunnel.ko as an autodetected depedency
Added virtio_ring.ko as an autodetected depedency
Added virtio.ko as an autodetected depedency
Added mlx4_core.ko as an autodetected depedency
Added ptp.ko as an autodetected depedency
Added pps_core.ko as an autodetected depedency
Added i2c-algo-bit.ko as an autodetected depedency
Added dca.ko as an autodetected depedency
Added i2c-core.ko as an autodetected depedency
Added mdio.ko as an autodetected depedency
Added libcrc32c.ko as an autodetected depedency
Enter the dracut mode. Dracut version: 033. Dracut directory:
dracut_033.
Try to load drivers: pps_core i2c-core ip_tunnel ptp libcrc32c mdio dca
i2c-algo-bit mlx4_core vxlan virtio virtio_ring tg3 bnx2 bnx2x e1000
e1000e igb mlx4_en virtio_net be2net ext3 ext4 to initrd.
No '/dev/log' or 'logger' included for syslog logging
Turning off host-only mode: '/sys' is not mounted!
Turning off host-only mode: '/proc' is not mounted!
Turning off host-only mode: '/run' is not mounted!
Turning off host-only mode: '/dev' is not mounted!
the initial ramdisk for stateless is generated successfully.
Try to load drivers: pps_core i2c-core ip_tunnel ptp libcrc32c mdio dca
i2c-algo-bit mlx4_core vxlan virtio virtio_ring tg3 bnx2 bnx2x e1000
e1000e igb mlx4_en virtio_net be2net ext3 ext4 to initrd.
No '/dev/log' or 'logger' included for syslog logging
Turning off host-only mode: '/sys' is not mounted!
Turning off host-only mode: '/proc' is not mounted!
Turning off host-only mode: '/run' is not mounted!
Turning off host-only mode: '/dev' is not mounted!
the initial ramdisk for statelite is generated successfully. 

On 19.11.2015 20:21, Er Tao Zhao wrote: 

> Can you show me the osimage definition that you run genimage against?
> 
> 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
> 
> Russell Jones ---2015-11-20 上午 04:46:01---Hi all, I am attempting to create 
> my first diskless Centos 7.1 image using xCAT
> 
> From: Russell Jones <[email protected]>
> To: xCAT Users Mailing list <[email protected]>
> Date: 2015-11-20 上午 04:46
> Subject: [xcat-user] Diskless centos7.1 image failing to boot 
> -------------------------
> 
> Hi all,
> 
> I am attempting to create my first diskless Centos 7.1 image using xCAT 
> 2.10. I have built the image and my node is successfully PXE'ing, 
> however is failing to switch over to the rootimg with the following 
> error on the console:
> 
> switch_root: cannot access /sbin/init: No such file or directory
> switch_root: failed to execute /sbin/init: No such file or directory
> 
> Looking at the rootimg directory, /sbin/init does exist. Unpacking the 
> initrd-stateless file yields no /sbin/init, but there is an init at /. 
> This is the same when comparing it with an unpacked CentOS 6 image.
> 
> I know that RHEL/CentOS 7 introduces the systemd crud which I am not 
> very familiar with yet. Is there a package or configuration error I 
> could be making in my CentOS 7 osimage configuration that could be 
> causing this?
> 
> Thanks!
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user [1]
> 
> ------------------------------------------------------------------------------
>  
> 
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user [1]
 

Links:
------
[1] https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to