Tuesday, September 30, 2014

xCAT 2.8.5 stateless bug

When trying to create a stateless xCAT image using the following commands:
  1. genimage centos6.5-x86_64-netboot-compute
  2. packimage centos6.5-x86_64-netboot-compute
  3. nodeset n1 osimage=centos6.5-x86_64-netboot-compute
The following error appears when trying to boot the node:
dracut: FATAL: No or empty root= argument
dracut: Refusing to continue
/lib/dracut-lib.sh: line 101: /emergency/01-die.sh: No such file or directory
dracut Warning: Signal caught! (when trying to boot the machine).
The problem is that there is a directory missing, it was skipped by xCAT installation for some reason, therefore, we need to create it manually:
  1. cd /opt/xcat/share/xcat/netboot
  2. ln -s ../rh/dracut dracut
Repeat the three commands above and you all set to go ! 

No comments:

Post a Comment