免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 34824 | 回复: 0
打印 上一主题 下一主题

centos atomic host pxe安装异常 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-12-25 16:59 |只看该作者 |倒序浏览
yum.localhost 是我的自定义源
install.localhost 是我的http服务器,用于下载kickstart文件

kickstrat
  1. #python -c 'import crypt; print(crypt.crypt("MyPassword", "$6$MySalt"))'
  2. rootpw --iscrypted $6$MySalt$e0fnxWlZ3UCN4HnSSx6U7zQGgzX7AlGBfZ75msCser0B2ZPRHBmwZjOVW6Cai/1Ba5f7B5uTsucedaHsEd8W6/
  3. auth --enableshadow --passalgo=sha512

  4. keyboard us
  5. timezone Asia/Shanghai --isUtc
  6. lang en_US.UTF-8

  7. install
  8. url --url='http://install.localhost/centos-atomic-host-7'

  9. bootloader --location=mbr --boot-drive=sda
  10. clearpart --all --initlabel --drives=sda
  11. part / --fstype='xfs' --ondisk=sda --size=50000
  12. #part swap --fstype='swap' --ondisk=sda --size=8000
  13. part /opt --fstype='xfs' --ondisk=sda --grow

  14. network --bootproto=static --device=78:2b:cb:69:10:f3 --gateway=192.168.48.1 --ip=192.168.48.122 --nameserver=192.168.48.116 --netmask=255.255.255.0 --ipv6=yes --onboot=yes --activate
  15. network --hostname=bjyh-48-122

  16. ostreesetup --nogpg --osname='centos-atomic-host' --remote='centos-atomic-host' --url='http://yum.localhost/centos/7/atomic/x86_64/repo' --ref='centos-atomic-host/7/x86_64/standard'

  17. firewall --disabled
  18. selinux --disabled
  19. firstboot --disabled

  20. services --disabled='NetworkManager,cloud-init,cloud-config,cloud-final,cloud-init-local'
  21. services --enabled='network'

  22. reboot
复制代码
报错信息
  1. Receiving objects: 98% (15435/15682) 287.7 MB
  2. Receiving objects: 98% (15502/15682) 299.4 MB
  3. Receiving objects: 99% (15567/15682) 311.2 MB
  4. Receiving objects: 99% (15670/15682) 322.9 MB
  5. Preparing deployment of centos-atomic-host/7/x86_64/standard
  6. Deployment starting: centos-atomic-host/7/x86_64/standard
  7. Deployment complete: centos-atomic-host/7/x86_64/standard
  8. Installing bootloader
  9. .
  10. Performing post-installation setup tasks

  11. ** (process:1415): WARNING **: Failed to load shared library 'libgtk-3.so.0' referenced by the typelib: dlopen: cannot load any more object with static TLS

  12. ** (process:1415): WARNING **: Failed to load shared library 'libgdk-3.so.0' referenced by the typelib: dlopen: cannot load any more object with static TLS
  13. An unknown error has occured, look at the /tmp/anaconda-tb* file(s) for more details

  14. ===============================================================================
  15. An unknown error has occurred
  16. ===============================================================================
  17. anaconda 19.31.79-1 exception report
  18. Traceback (most recent call first):
  19.   File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/rpmostreepayload.py", line 313, in postInstall
  20.     os.rename(boot_grub2_cfg, target_grub_cfg)
  21.   File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 207, in doInstall
  22.     payload.postInstall()
  23.   File "/usr/lib64/python2.7/threading.py", line 764, in run
  24.     self.__target(*self.__args, **self.__kwargs)
  25.   File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 211, in run
  26.     threading.Thread.run(self, *args, **kwargs)
  27. OSError: [Errno 2] No such file or directory

  28. What do you want to do now?
  29. 1) Report Bug
  30. 2) Debug
  31. 3) Quit

  32. Please make your choice from above:
  33. [anaconda] 1:main* 2:shell  3:log  4:storage-log  5:program-log                 
复制代码
试过了多次,全部是报这个错,post-installation 这个任务倒底是做哪些工作?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP