centos – 基于Kickstart的USB安装RHEL 6.4

前端之家收集整理的这篇文章主要介绍了centos – 基于Kickstart的USB安装RHEL 6.4前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我想用RHEL 6.4设置一些全新的服务器.服务器没有DVD,因此,我必须使用USB进行安装.
我已经有了一个带有kickstart文件自定义ISO,我在DVD服务器上使用它完美无瑕.我使用iso2usb将ISO移动到我的USB上.

当我从USB启动时,找到ks文件,anaconda启动,但随后停止并出现以下错误:@H_301_3@

“无法找到设备[‘sda1’]给出的安装源.请检查您的参数并重试”@H_301_3@

笔记:@H_301_3@

> USB是sda.
>我的自定义ISO文件从iso2usb重命名linux.iso,它出现在USB的根目录中.@H_301_3@

> Kickstart文件具有以下条目:
> harddrive –partition = sda1 –dir = /@H_301_3@

请帮我用kickstart自动安装.@H_301_3@

编辑1:
这是anaconda.log文件:@H_301_3@

09:01:57,029 INFO    : no /etc/zfcp.conf; not configuring zfcp  
09:01:57,259 INFO    : created new libuser.conf at /tmp/libuser.4rAbps with  instPath="/mnt/sysimage"
09:01:57,259 INFO    : anaconda called with cmdline = ['/usr/bin/anaconda','--stage2','hd:sda1:///images/install.img','--dlabel','--kickstart','/tmp/ks.cfg','--graphical','--selinux','--lang','en_US.UTF-8','--keymap','us','--repo','hd:sda1:/']  
09:01:57,260 INFO    : Display mode = g  
09:01:57,260 INFO    : Default encoding = utf-8  
09:01:59,444 DEBUG   : X server has signalled a successful start.  
09:01:59,446 INFO    : Starting window manager,pid 1345.  
09:01:59,537 INFO    : Starting graphical installation.  
09:01:59,741 INFO    : Detected 7968M of memory  
09:01:59,741 INFO    : Swap attempt of 7968M  
09:02:00,840 INFO    : ISCSID is /usr/sbin/iscsid  
09:02:00,840 INFO    : no initiator set

编辑2:
这是anaconda日志的一部分,表明它找到了USB等:@H_301_3@

09:01:47,918 INFO    : starting STEP_STAGE2
09:01:47,918 INFO    : partition is sda1,dir is //images/install.img
09:01:47,918 INFO    : mounting device sda1 for hard drive install
09:01:48,005 INFO    : Path to stage2 image is /mnt/isodir///images/install.img
09:01:54,214 INFO    : mounted loopback device /mnt/runtime on /dev/loop0 as /tmp/install.img
09:01:54,214 INFO    : Looking for updates for HD in /mnt/isodir///images/updates.img
09:01:54,214 INFO    : Looking for product for HD in /mnt/isodir///images/product.img
09:01:54,227 INFO    : got stage2 at url hd:sda1:///images/install.img
09:01:54,254 INFO    : Loading SELinux policy
09:01:54,700 INFO    : getting ready to spawn shell now
09:01:54,975 INFO    : Running anaconda script /usr/bin/anaconda
09:01:56,882 INFO    : _Fedora is the highest priority installclass,using it
09:01:56,921 INFO    : Running kickstart %%pre script(s)
09:01:56,922 WARNING : '/bin/sh' specified as full path
09:01:56,926 INFO    : All kickstart %%pre script(s) have been run
检查ISO文件内容是否在根路径中包含.discinfo和.treeinfo.

我曾经在RHEL 6.3上面对这个问题,因为我自定义ISO并忘记在刻录ISO之前将这些文件复制到根路径.@H_301_3@

原文链接:https://www.f2er.com/centos/373445.html

猜你在找的CentOS相关文章