- 论坛徽章:
- 0
|
谢您劳心看了。
问题基本描述如下:
在虚拟机和dell2950上分别使用kickstart安装,都出现
install exited abnormally Received Signal 11 ,然后直接退出了
以下我列出所有我的配置文件,如还需要什么请各位看官指导
(目前我的结论是,dhcp pxe启动都没问题 。问题应该是ks.cfg 但是 不清楚该如何写。)
1。DHCP配置
ddns-update-style interim;
ignore client-updates;
allow booting;
allow bootp;
subnet 192.168.100.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option nis-domain "domain.org";
option domain-name "domain.org";
option domain-name-servers 192.168.1.1;
option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;
range dynamic-bootp 192.168.100.200 192.168.100.250;
default-lease-time 21600;
max-lease-time 43200;
# we want the nameserver to appear at a fixed address
#host ns {
# next-server marvin.redhat.com;
# hardware ethernet 00:0c:29:e6:c9:fb;
# fixed-address 192.168.100.99;
filename "/linux-install/pxelinux.0";
#}
}
这一步应该已经没问题了。客户端可以顺利得到 IP,和获取ks.cfg文件
2。pxelinux.cfg/default
default linux
prompt 1
timeout 600
display boot.msg
F1 boot.msg
F2 options.msg
F3 general.msg
F4 param.msg
F5 rescue.msg
F7 snake.msg
label linux
kernel vmlinuz
append initrd=initrd.img
label text
kernel vmlinuz
append initrd=initrd.img text
label expert
kernel vmlinuz
append expert initrd=initrd.img
label ks
kernel vmlinuz
append ks initrd=initrd.img
label lowres
kernel vmlinuz
append initrd=initrd.img lowres
说明:从 图ks_error2可以看出,已经boot 完成。觉得不该是这里的问题
3。怀疑是否是 安装盘的问题,然后用该盘
不用ks.cfg直接 回车安装。使用同样的 http安装方式
即在 要求输入 Install Method方式下输入 http方式
可以正常完成安装。具体见图 install.http
4。在DELL 2950上 使用 安装光盘启动
输入linux ks=http://192.168.100.189/ks.cfg一样出问题。
那么是我的ks.cfg的问题罗!!
下面是我的ks.cfg。基本是从 anaconda-ks.cfg 复制过来的
ks.cfg
# Kickstart file automatically generated by anaconda.
install
url --url http://192.168.100.189
lang en_US.UTF-8
langsupport --default en_US.UTF-8 en_US.UTF-8
keyboard us
#mouse genericwheelps/2 --device psaux
xconfig --card "VMWare" --videoram 16384 --hsync 31.5-37.9 --vsync 50-70 --resolution 800x600 --depth 24 --defaultdesktop gnome
network --device eth0 --bootproto static --ip 192.168.100.201 --netmask 255.255.255.0 --nameserver 202.106.46.151,210.22.70.3 --hostname you.test
rootpw --iscrypted $1$C9NNkSwE$5Fckz/OfLZ4hNsRh/8v2U.
firewall --disabled
authconfig --enableshadow --enablemd5
timezone Asia/Shanghai
bootloader --location=mbr --append hdc=ide-scsi
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --all
part /boot --fstype ext3 --size=100
part swap --size=512
part / --fstype ext3 --size=1 --grow
%packages
@ editors
@ base-x
@ dialup
@ gnome-desktop
@ network-server
@ compat-arch-support
kernel
grub
%post
[ 本帖最后由 aaronyou 于 2007-11-30 16:02 编辑 ] |
|