免费注册 查看新帖 |

Chinaunix

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

使用 Cobbler 安装 Ubuntu 出现的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-05-05 10:00 |只看该作者 |倒序浏览
pxe 安装 Ubuntu 10.04,使用 apt-mirror 同步源在内网使用,然后在 preseed 文件上修改的这两段:
d-i mirror/http/hostname string http://your-private-ip
d-i mirror/http/directory string /ubuntu

在使用 iDRAC 打开安装界面,Ctrl+Alt+F4 观察安装的 log 时,发现启动到一定阶段系统没有相应了,出现如下的提示:
cat can't open '/tmp/net-retriever-xxxx-deduplicate/*': No such file or directory.

之前直接使用 mirrors.sohu.com 的源并没有出现问题,初步判定是由于使用了内部源引起的。
G 后发现是使用 apt-mirror 同步源时没有同步 netboot 下面的某些目录, rsync 下面的目录:
deb-amd64 http://mirrors.sohu.com/ubuntu lucid main/installer-amd64
deb-amd64 http://mirrors.sohu.com/ubuntu lucid main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
#deb-amd64 http://mirrors.sohu.com/ubuntu lucid-updates main/debian-installer restricted/debian-installer universe/debian-installer
#deb-amd64 http://mirrors.sohu.com/ubuntu lucid-security main/debian-installer restricted/debian-installer universe/debian-installer

其实只要同步前两个链接就可以,加 # 可选择性同步。

如果出现 "WARNING **: bad d-i Packages file" 类似的提示,修改 preseed 文件的认证:
d-i debian-installer/allow_unauthenticated string true

另外,apt-mirror 同步时,可注视掉 /etc/apt/mirror.list 里面的 deb-src 开头的几段,即不同步源文件,这样差不多 90G 可以同步一个 lucid x86_64 的 lucid/lucid-secuirty/lucid-updates/lucid-proposed/lucid-backports。

ref:
http://ubuntuforums.org/showthread.php?p=9369393
http://askubuntu.com/questions/35758/where-is-the-netboot-image

http://irclogs.ubuntu.com/2009/12/04/%23ubuntu-installer.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP