Re: PXE-based kickstart fails on RHEL/CentOS-7.4
Pushpendra Chavan <[email protected]> Thu, 18 Jan 2018 15:22:49 +0530
| Newsgroups | gmane.linux.redhat.kickstart.general |
|---|---|
| Message-ID | <CADEOTdH59VgxGLXpj1LVwzVOyMpfijV4gz-RWhMy=eAAkyA68A@mail.gmail.com> |
--===============6712967697664475745== Content-Type: multipart/alternative; boundary="001a114274604bd8b7056309ed6d" --001a114274604bd8b7056309ed6d Content-Type: text/plain; charset="UTF-8" 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]> 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 > > 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] > https://www.redhat.com/mailman/listinfo/kickstart-list > --001a114274604bd8b7056309ed6d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">You might want to try appending the following anaconda pa= rameter to the menu append line.=C2=A0<div dir=3D"auto"><br></div><div dir= =3D"auto">inst.stage2=3D<url where bootable full dvd media contents are = hosted></div><div dir=3D"auto"><br></div><div dir=3D"auto">This can also= be replaced by inst.repo parameter.</div><div dir=3D"auto"><br></div><div = dir=3D"auto"><br></div></div><div class=3D"gmail_extra"><br><div class=3D"g= mail_quote">On Jan 18, 2018 1:53 PM, <<a href=3D"mailto:[email protected]= e">[email protected]</a>> wrote:<br type=3D"attribution"><blockquote clas= s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad= ding-left:1ex"><div>Hi,<br></div><div><br></div><div>have for a long time u= sed a setup to use kickstart over PXE. The "netboot-file" respons= ible 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 l= inux<br></div><div>=C2=A0 kernel vmlinuz-centos73<br></div><div>=C2=A0 appe= nd console=3Dtty0 initrd=3Dinitrd-centos73.img ks=3D<a href=3D"http://192.1= 68.0.198/kickstart/ks-centos73.cfg" target=3D"_blank">http://192.168.0.198/= <wbr>kickstart/ks-centos73.cfg</a><br></div><div><br></div><div>However, wh= en I apply this on CentOS-7.4 (after changing image and kernel) it hangs on= "switchroot":<br></div><div><br></div><div>"... specified s= witch root path /sysroot does not seem to be an OS tree.=20 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=3D"mailto:[email protected]">[email protected]</a><= br> <a href=3D"https://www.redhat.com/mailman/listinfo/kickstart-list" rel=3D"n= oreferrer" target=3D"_blank">https://www.redhat.com/<wbr>mailman/listinfo/k= ickstart-<wbr>list</a><br></blockquote></div></div> --001a114274604bd8b7056309ed6d-- --===============6712967697664475745== 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 --===============6712967697664475745==--