Re: PXE-based kickstart fails on RHEL/CentOS-7.4

Jon Tegner <[email protected]> Thu, 18 Jan 2018 20:02:34 +0100
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============4632590948382192475==
Content-Type: multipart/alternative;
	boundary="------------2D47838948D7AC41572922FF"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------2D47838948D7AC41572922FF
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

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, <[email protected] <mailto:[email protected]>> 
> 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
>     [email protected] <mailto:[email protected]>
>     https://www.redhat.com/mailman/listinfo/kickstart-list
>     <https://www.redhat.com/mailman/listinfo/kickstart-list>
>


--------------2D47838948D7AC41572922FF
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Thanks!<br>
    <br>
    However, it turned out I had mixed up the initrd-file. With the
    correct one it worked as before.<br>
    <br>
    Regards,<br>
    <br>
    /jon<br>
    <br>
    <div class="moz-cite-prefix">On 01/18/2018 10:52 AM, Pushpendra
      Chavan wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CADEOTdH59VgxGLXpj1LVwzVOyMpfijV4gz-RWhMy=eAAkyA68A@mail.gmail.com">
      <div dir="auto">You might want to try appending the following
        anaconda parameter to the menu append line. 
        <div dir="auto"><br>
        </div>
        <div dir="auto">inst.stage2=&lt;url where bootable full dvd
          media contents are hosted&gt;</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">This can also be replaced by inst.repo
          parameter.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Jan 18, 2018 1:53 PM, &lt;<a
            href="mailto:[email protected]" moz-do-not-send="true">[email protected]</a>&gt;
          wrote:<br type="attribution">
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>Hi,<br>
            </div>
            <div><br>
            </div>
            <div>have for a long time used a setup to use kickstart over
              PXE. The "netboot-file" responsible for starting kickstart
              has the following contents:<br>
            </div>
            <div><br>
            </div>
            <div>default linux<br>
            </div>
            <div>serial 0,9600n8<br>
            </div>
            <div>label linux<br>
            </div>
            <div>  kernel vmlinuz-centos73<br>
            </div>
            <div>  append console=tty0 initrd=initrd-centos73.img ks=<a
                href="http://192.168.0.198/kickstart/ks-centos73.cfg"
                target="_blank" moz-do-not-send="true">http://192.168.0.198/<wbr>kickstart/ks-centos73.cfg</a><br>
            </div>
            <div><br>
            </div>
            <div>However, when I apply this on CentOS-7.4 (after
              changing image and kernel) it hangs on "switchroot":<br>
            </div>
            <div><br>
            </div>
            <div>"... specified switch root path /sysroot does not seem
              to be an OS tree. os-release file is missing."<br>
            </div>
            <div><br>
            </div>
            <div>Any hints on what may be causing this are greatly
              appreciated.<br>
            </div>
            <div><br>
            </div>
            <div>Thanks,<br>
            </div>
            <div><br>
            </div>
            <div>/jon<br>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            Kickstart-list mailing list<br>
            <a href="mailto:[email protected]"
              moz-do-not-send="true">[email protected]</a><br>
            <a
              href="https://www.redhat.com/mailman/listinfo/kickstart-list"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://www.redhat.com/<wbr>mailman/listinfo/kickstart-<wbr>list</a><br>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------2D47838948D7AC41572922FF--


--===============4632590948382192475==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Kickstart-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/kickstart-list
--===============4632590948382192475==--