免费注册 查看新帖 |

Chinaunix

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

PXE安装ESX4 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-09-14 15:48 |只看该作者 |倒序浏览
1. 配置PXE (略)
2. 将iso文件解压出来,放到/ks/iso/32/esx40/iso下。
3. 将/ks/iso/32/esx40/iso/isolinux下的vmlinuz和initrd.img copy到tftpboot下
4. 添加启动行
LABEL ks_32_esx40
  menu label esx4.0
  kernel bootimg/32/esx40/vmlinuz
  append initrd=bootimg/32/esx40/initrd.img mem=512m quiet ks=nfs:10.224.106.11:/ks/iso/32/esx40/esx4.cfg
5. 配置ks脚本
[root@szpxe esx40]# cat esx4.cfg
#root Password
rootpw pass
# Authconfig
authconfig --enableshadow --enablemd5
# BootLoader (Use grub by default.)
bootloader --location=mbr
# Timezone
timezone America/Los_Angeles
#Install
install nfs --server=10.224.106.11 --dir=/ks/iso/32/esx40/iso
#Network install type
network --bootproto=dhcp --nodns
#Keyboard
keyboard us
#Reboot after install?
reboot
# Clear partitions
clearpart --firstdisk
autopart --firstdisk
# Partitioning
#VMware Specific Commands
accepteula
%post
注意:一定要将iso解压出来才可以。


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/13393/showart_2052102.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP