0

I'm working on making an offline installer for something I currently build using PXE and RHEL 7. The servers concerned (Dell 14G) need an addition driver loaded for the RAID controller. In the PXE version, I can add dd=http://somehost/blah.iso to the kernel parameters to load additional drivers at boot time. How do you do the same with local media?

I've got a script that lets me rebuild the ISO with additional content (from here: https://github.com/RedHatGov/ssg-el7-kickstart )

It works as it stands. I am planning to just rip out the 'payload' security hardening stuff and put in my existing kickstart script from the PXE install.

However, if I just put the RAID DUD iso on the disk, and add dd=cdrom:/megaraid_sas-07.700.52.00_el7.X-2.x86_64.iso to the boot parameters, the installer hangs, saying "Kickstart loaded. Please re-insert installation media". It actually flashes up that message briefly during a normal installation too, so I'm not certain that it's actually relevant.

I can't find much information on using dd= (or inst.dd=) with a local file instead of a URL... is it possible? What's the secret? If I just specify inst.dd with no params (to get the interactive mode), then choose my cdrom /dev/sr0, then it doesn't detect the driver iso (I think it's expecting the whole CD to be the content of that ISO instead of the installer disk)

AnotherHowie
  • 206
  • 3
  • 13

2 Answers2

0

local iso image is different like kickstart pxe So you should change the isolinux.cfg content like this label linux menu label ^Install ctyunos 2.0.1-220311 kernel vmlinuz append initrd=initrd.img ks=cdrom:/isolinux/ks.cfg quiet ks.cfg you can put it as isolinux folder

0

It seems to me the easiest method would be to put the driver disk contents onto a USB stick.

Copy the contents of the ISO image to the top level directory of a USB stick, change the USB drive's volume label to OEMDRV, and boot the server with both the installation media and this USB stick inserted. The RHEL installer will automatically find the drivers on the disk and load the appropriate driver.

The RHEL documentation explains this in slightly more detail and gives a couple of other alternatives.

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972
  • If you were in the same country as the server, that would be true :-) This is why I am looking for a single-media self-starting solution. It'll actually be mounted as an iso remotely. As far as I know, I can't mount a usb stick via idrac. – AnotherHowie Apr 18 '18 at 10:11
  • @AnotherHowie You can on iDRAC 7 1.30.30 or later. I think you can on iDRAC 6 but the interface is a bit different. [This](http://www.dell.com/support/article/us/en/04/sln296648/using-the-virtual-media-function-on-idrac-6-7-8-and-9?lang=en) ought to help. – Michael Hampton Apr 18 '18 at 10:13