PXE-based kickstart fails on RHEL/CentOS-7.4

Jon Tegner tegner at renget.se
Thu Jan 18 19:02:34 UTC 2018


Thanks!

However, it turned out I had mixed up the initrd-file. With the correct 
one it worked as before.

Regards,

/jon

On 01/18/2018 10:52 AM, Pushpendra Chavan wrote:
> You might want to try appending the following anaconda parameter to 
> the menu append line.
>
> inst.stage2=<url where bootable full dvd media contents are hosted>
>
> This can also be replaced by inst.repo parameter.
>
>
>
> On Jan 18, 2018 1:53 PM, <tegner at renget.se <mailto:tegner at renget.se>> 
> wrote:
>
>     Hi,
>
>     have for a long time used a setup to use kickstart over PXE. The
>     "netboot-file" responsible for starting kickstart has the
>     following contents:
>
>     default linux
>     serial 0,9600n8
>     label linux
>       kernel vmlinuz-centos73
>       append console=tty0 initrd=initrd-centos73.img
>     ks=http://192.168.0.198/kickstart/ks-centos73.cfg
>     <http://192.168.0.198/kickstart/ks-centos73.cfg>
>
>     However, when I apply this on CentOS-7.4 (after changing image and
>     kernel) it hangs on "switchroot":
>
>     "... specified switch root path /sysroot does not seem to be an OS
>     tree. os-release file is missing."
>
>     Any hints on what may be causing this are greatly appreciated.
>
>     Thanks,
>
>     /jon
>
>     _______________________________________________
>     Kickstart-list mailing list
>     Kickstart-list at redhat.com <mailto:Kickstart-list at redhat.com>
>     https://www.redhat.com/mailman/listinfo/kickstart-list
>     <https://www.redhat.com/mailman/listinfo/kickstart-list>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20180118/10c5215a/attachment.htm>


More information about the Kickstart-list mailing list