PXE+KickStart 自动化安装问题:dracut-initqueue[629]: curl: (23) Failed writing body

近期我在学习通过PXE+KickStart进行安装 CentOS7 时,内核加载到dracut-initqueue[629]: curl: (23) Failed writing body后面就一直报错,一会儿以后就与不断地报出dracut-initqueue[691]: Warning: dracut-initqueue timeout - starting timeout scripts地错误,一开始我通过最后行地错误去网上搜索超时问题,结果没有一个符合我的这种情况.无奈下,我把日志前面所报地错误挨个上网上搜了一下,功夫不负有心人,终于让我找到了我所遇到的到底时什么情况.链接如下:

  • Bug 1595369 - rhel 7.5 installation fails with 1GB ram

复现过程:

  1. 创建一个内存大小为1GB的虚拟机,并通过PXE+kickstart安装CentOS7
  2. 当进行内核初始化时在配置网络后的curl之后一直报错
Actual results:
 93  342M   93  319M    0     0  4955k      0  0:01:10  0:01:06  0:00:04 3326k
[  117.030748] dracut-initqueue[629]: curl: (23) Failed writing body (10176 != 16176)
[  118.551988] dracut-initqueue[629]: mount: wrong fs type, bad option, bad superblock on /dev/loop0,
[  118.553728] dracut-initqueue[629]:        missing codepage or helper program, or other error
[  118.557054] dracut-initqueue[629]:        In some cases useful info is found in syslog - try
[  118.558610] dracut-initqueue[629]:        dmesg | tail or so.
[  118.572160] dracut-initqueue[629]: umount: /run/initramfs/squashfs: not mounted
[  118.607805] dracut-initqueue[629]: /lib/anaconda-lib.sh: line 110: printf: write error: No space left on device

参考资料

Red Hat Bugzilla – Bug 1595369

你可能感兴趣的:(工作日志)