Can not boot RHEL 7.3 by using iPXE
|
2016-12-21, 03:50
(This post was last modified: 2016-12-21 04:22 by mathp.)
Post: #13
|
|||
|
|||
RE: Can not boot RHEL 7.3 by using iPXE
If the hackish solution I posted earlier is for you, and like me, you don't like "force loading" some kernel modules because the ones in the squashfs.img images are an older version, you can completely skip creating and populating the "etc/modules-load.d" directory by also updating the modules inside the squashfs.img images:
"Unsquash" the image: Code: yum install squashfs-tools Mount the live O/S filesystem contained within the squashfs image: Code: cd ~mathp/POC Replace the kernel modules and unmount the live O/S filesystem: Code: rm -rf LiveOS-tmp/usr/lib/modules/3.10.0-514.el7.x86_64/ Re-create the squashfs image: Code: cd squashfs-tmp/ A this point, you need to copy the new squashfs image to a directory accessible by your iPXE client. The simplest form is to create a LiveOS directory and put the new squashfs.img file into it, then reference the parent directory in your iPXE config / kernel parameters (via inst.stage2=). For example, with the files accessible in the following structure: Code: http://install-services/boot-images/centos/7.3.1611/ you can use something like: Code: set my-initrd initrd.img-3.10.0-514.2.2.el7.x86_64 where ${params} is set to all your other installation parameters (inst.ks, console, inst.text BOOTIF=, etc.) Have fun ;-) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)