+ -
当前位置:首页 → 问答吧 → 红帽8下配置 kickstart 无人职守安装出问题啦!哪位大侠能帮忙解决!

红帽8下配置 kickstart 无人职守安装出问题啦!哪位大侠能帮忙解决!

时间:2005-05-26

来源:互联网


#Generated by Kickstart Configurator

#System language
lang zh_CN.GB2312

#Language modules to install
langsupport zh_CN.GB2312

#System keyboard
keyboard us

#System mouse
mouse genericps/2

#System timezone
timezone --utc Asia/Shanghai

#Root password
rootpw --iscrypted $1$xoJ4JCJ7$18nShrBMWnqiN1sE50SgM.

#Reboot after installation
reboot

#Use interactive kickstart installation method
interactive

#Install Red Hat Linux instead of upgrade
install

#Use CDROM installation media
cdrom

#System bootloader configuration
bootloader --location=mbr

#Clear the Master Boot Record
zerombr yes

#Clear all partitions from the disk
clearpart --all --initlabel

#Disk partitioning information
part swap --size 512
part / --fstype ext3 --size 1024
part /boot --fstype ext3 --size 1024
part /var --fstype ext3 --size 4096
part /opt --fstype ext3 --size 2048
part /tmp --fstype ext3 --size 4096
part /home --fstype ext3 --size 4096
part /usr --fstype ext3 --size 6400

#Use static networking
network --device=eth0 --bootproto=static --ip=10.0.0.9 --netmask=255.255.255.0 --hostname=ucd

#System authorization information
auth --useshadow --enablemd5

#Firewall configuration
firewall --disabled

#XWindows configuration information
#Probe for video card
#Probe for monitor
xconfig --depth 24 --resolution 1024x768 --defaultdesktop=GNOME

%packages --resolvedeps
@X Window System
@GNOME Desktop Environment
@Editors
@Server Configuration Tools
@Web Server
@Network Servers
@Development Tools
@Kernel Development
@Administration Tools
@System Tools



%post
/bin/mkdir /usr/src/test

/usr/sbin/useradd dog
chfn -f '' dog
/usr/sbin/usermod -p '$1$3HwBxpRQ$TJL5ssC38bU2oVAPGVfCy1' dog

/sbin/chkconfig --level 345 httpd on
/sbin/chkconfig --level 345 telnet on


======================

问题如下:

1)安装后网卡没有啦! 看/etc/modules.conf alias eth0 XXX ,存在
2)无法进入交互式 安装,且是字符界面
3)不能增加用户和执行命令


如果手动安装,网卡和显示都正常

命令 linux ks=floppy

有什么问题吗!

作者: davidtseng   发布时间: 2005-05-26

无人?

作者: davidtseng   发布时间: 2005-05-26

wwww

作者: davidtseng   发布时间: 2005-05-27

不懂 我也想知道网卡是怎么配置的 如果把 /etc/sysconfig/networking/devices/ifcfg-eth0 和 /etc/sysconfig/network-scripts/ifcfg-eth0 删掉,怎么重建它们。system-config-network-cmd 是不是由 kudzu 来调用的呢?

作者: bbbush   发布时间: 2005-05-27

Redhat网络接口的配置文件很令人迷惑:

引用:
The /etc/sysconfig/networking/ directory is used by the Network Administration Tool (system-config-network) and its contents should not be edited manually. In ddition, any use ofthe Network Administration Tool, even launching the application, will override any directives previously set in /etc/sysconfig/network-scripts. Using only one method for network configuration is strongly encouraged, due to the risk of configuration deletion.

作者: troll   发布时间: 2005-05-27

谢谢,还是没有解决,也不能图形化,不知道为什么

作者: davidtseng   发布时间: 2005-05-27

相关阅读 更多

热门下载

更多