<div dir="ltr">Thanks! I starting the process now. I'll let you know how it goes.<div>pjwelsh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 10, 2017 at 2:32 PM, Johnny Hughes <span dir="ltr"><<a href="mailto:johnny@centos.org" target="_blank">johnny@centos.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10/10/2017 01:46 PM, PJ Welsh wrote:<br>
> I'm trying to figure out how to replace the vmlinuz and initrd.img from<br>
> CentOS 7.4 with "fixed" kernel-plus versions in order create CentOS 7.4<br>
> VM's. So far I'm stuck booting via 7.3 install, adding new kernel-plus<br>
> and upgrading to 7.4. I've not found any complete Google answers and was<br>
> looking for help making sure I choose the correct approach.<br>
><br>
> I've tried to build an initrd.img from a kernel-plus booting system via<br>
> "mkinitrd -f -v /boot/initrd.img $(uname -r)", but the file size is less<br>
> than half the one from CentOS 7.4 (17MB -vs- 47MB). I'm not even sure I<br>
> can just replace those files yet either.<br>
><br>
> Any help going the correct path?<br>
<br>
</span>I have not had time to do this yet .. BUT .. you can edit the lorax<br>
template to to use kernel-plus instead of kernel (and new repodata)..<br>
then rerun lorax to get a bootable tree and boot.iso<br>
<br>
You would then need a tree with the new kernel-plus* packages instead of<br>
the kernel-* packages<br>
<br>
This bug kind of explains the process:<br>
<br>
<a href="https://bugs.centos.org/view.php?id=13763" rel="noreferrer" target="_blank">https://bugs.centos.org/view.<wbr>php?id=13763</a><br>
<br>
(look for lorax in the bug)<br>
<br>
I do want to create a process and tree somewhere for this (likely on<br>
<a href="http://buildlogs.centos.org" rel="noreferrer" target="_blank">buildlogs.centos.org</a>). Sometime soon after I finish the i386 distro<br>
release (hopefully that is this week .. next week for some kind of<br>
bootable x86_64 Xen PV solution).<br>
<br>
The good news is, the 7.5 RHEL kernel Source RPMs should have Kevin's<br>
patch in it and it should work as released on Xen PV.<br>
<br>
<br>
<br>
<br>______________________________<wbr>_________________<br>
CentOS-virt mailing list<br>
<a href="mailto:CentOS-virt@centos.org">CentOS-virt@centos.org</a><br>
<a href="https://lists.centos.org/mailman/listinfo/centos-virt" rel="noreferrer" target="_blank">https://lists.centos.org/<wbr>mailman/listinfo/centos-virt</a><br>
<br></blockquote></div><br></div>