+ -
当前位置:首页 → 问答吧 → kickstart安装出错问题

kickstart安装出错问题

时间:2011-01-14

来源:互联网

前面tftp,dhcp,default文件都配置正常了,网络启动的时候前面也正常。结果系统安装的时候就提示了,说什么安装树错误什么的,前面在论坛里面问过一次了,说是这个ks.cfg的问题,这次的这个ks.cfg文件是我从安装系统后直接从anaconda-ks.cfg复制过来的(前系统安装也是使用nfs,所以几乎不用改什么东西),大家看看错在什么地方啊。还是有其他的问题了?


#platform=x86, AMD64, 或 Intel EM64T
# System authorization information
auth  --useshadow  --enablemd5
# System bootloader configuration
bootloader --append="console=xvc0 rhgb quiet" --location=mbr --driveorder=xvda
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel
# Use graphical install
graphical
# Firewall configuration
firewall --disabled
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# Installation logging level
logging --level=info
# Use NFS installation media
nfs --server=192.168.205.160 --dir=/data/centos5.3
# Network information
network --bootproto=dhcp --device=eth0 --onboot=on
#Root password
rootpw --iscrypted $1$5oQzlBDR$IEZMMP/WTAMG5XF7eCurI0

# SELinux configuration
selinux --disabled
# System timezone
timezone --isUtc Asia/Shanghai
# Install OS instead of upgrade
install
# X Window System configuration information
xconfig  --defaultdesktop=GNOME --depth=8 --resolution=640x480
# Disk partitioning information
part /boot --bytes-per-inode=4096 --fstype="ext3" --size=100
part swap --bytes-per-inode=4096 --fstype="swap" --size=1000
part / --bytes-per-inode=4096 --fstype="ext3" --grow --size=1

%packages
@base
@core
@dialup
@editors
@gnome-desktop
@games
@graphical-internet
@graphics
@office
@printing
@sound-and-video
@text-internet
@base-x
keyutils
trousers
fipscheck
device-mapper-multipath
libsane-hpaio
xorg-x11-server-Xnest

作者: zing2046   发布时间: 2011-01-14

回复 zing2046


    安装树错误?  那就是前面的配置有问题   复制光盘内容   目录问题 ?

 先仔细检查配置各服务文件 路径设置!  

  

作者: taojie2000   发布时间: 2011-01-14

http://www.chinaunix.net/jh/4/1008703.html

cu的 文章

作者: taojie2000   发布时间: 2011-01-14

没有遇到,帮你顶一下,希望高手回答!

作者: ykaing   发布时间: 2011-01-14