RHEL6 Unable to download kickstart file

robertpas

In our lab we have a set of scripts that automatically configure a kickstart installation for RHEL5 on HP ProLiant DL380p Gen8. Based on data from several configuration files, it does the following steps:

  1. mounts redhat dvd
  2. modifies isolinux.cfg accordingly
  3. creates ks.cfg
  4. creates a bootdisk with the installation data (isolinux.cfg, ks.cfg, etc)
  5. creates a http server with the bootdisk directory.
  6. mounts the bootdisk through ILO (/dev/scd1)
  7. installs RHEL5

Here is the line referring to the kickstart file location :

append initrd=initrd.img ks=hd:scd1:/isolinux/ks.cfg ksdevice=eth4

Everything works well for RHEL5, but there have been requests for RHEL6.

For RHEL6, everything seems to work OK until #7, where it returns the message "unable to download kickstart file". I have commented some lines in the scripts, eliminating the installation part and leaving only the ILO mount part.

The bootdisk is mounted and accessible on /dev/scd1. The ks.cfg file is present there. I have also tested and the files from the Kickstart server are accessible with wget.

I have also tried accessing the ks.cfg file through http :

append initrd=initrd.img ks=http://<ip>:<port>/boot/isolinux/ks.cfg ksdevice=eth4

The above part did not work.

But what really vexes me is that RHEL5 works in the same conditions, but RHEL6 does not.

  • Does ks.cfg have a different structure?
  • Is the location of the ks.cfg file declared different from "hd:scd1:/isolinux/ks.cfg" on RHEL6?
  • It seems strange that isolinux.cfg and ks.cfg are both present on the bootdisk, but only isolinux.cfg can be accessed.

I have been talking to redhat support for a week and they don't seem to know what is wrong.

Any help would be greatly appreciated.

robertpas

I have figured out the problem.

There seems to be a difference between RHEL5 and RHEL6 at the installation level.

RHEL5 will detect your physical cdrom and mount it on /dev/scd0, therefore the location of the mount will be /dev/scd1. RHEL6 does not seem to do this, therefore the mount location will be /dev/scd0.

The correct way to declare the ks file location in a case like this is :

append initrd=initrd.img ks=hd:scd0:/isolinux/ks.cfg ksdevice=eth4

I hope someone will find this helpful in the future.

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

RHEL6无法下载kickstart文件

来自分类Dev

RHEL 7.6 maipo Kickstart安装

来自分类Dev

Kickstart未在Rhel 7.2上安装X

来自分类Dev

在UEFI上使用最少的启动媒体进行RHEL 6.7 Kickstart

来自分类Dev

RHEL6:无法启用回购

来自分类Dev

gcc 4.9.2在RHEL6上生成错误

来自分类Dev

RHEL6 +错误:xz压缩不可用

来自分类Dev

在RHEL6中为LDAP用户设置chroot

来自分类Dev

安装新软件时出现问题-RHEL6

来自分类Dev

Javascript - Download CSV as File

来自分类Dev

File download in struts 2

来自分类Dev

如何配置RHEL5或RHEL6系统使用ldap进行身份验证?

来自分类Dev

从RHEL5升级到RHEL6

来自分类Dev

LibreOffice无头服务器的RHEL6 SysV到RHEL7 systemd脚本

来自分类Dev

如何在kickstart中为Oracle Linux 6强制使用GPT分区

来自分类Dev

RHEL6 && OEL6如何在启动时确定$ DISPLAY?

来自分类Dev

RHEL6 / Centos 6-在引导时在/ etc / fstab中安装外部USB存储

来自分类Dev

Php - Secure File Download Facility

来自分类Dev

RHEL6 LDAP客户端未列出所有组

来自分类Dev

gcc无法在64位RHEL6中构建32位程序?

来自分类Dev

尝试运行iptables rhel6时出现分段错误(内核已转储)

来自分类Dev

登录后如何重置RHEL6以自动创建主目录?

来自分类Dev

通过RPM的RHEL6兼容性库和开发工具?

来自分类Dev

在RHEL6上运行passenger-install-apache2-module时出错

来自分类Dev

如何永久禁用恢复模式RHEL6的root-password提示

来自分类Dev

Table.getItem仅在RHEL6中返回错误的项目

来自分类Dev

我在RHEL6服务器上安装了python 2.7,想回到2.6

来自分类Dev

加强rhel6 / 7服务器的安全性

来自分类Dev

尝试将RHEL6初始化脚本转换为systemd