From tegner at renget.se Thu Jan 18 08:22:44 2018 From: tegner at renget.se (tegner at renget.se) Date: Thu, 18 Jan 2018 09:22:44 +0100 Subject: PXE-based kickstart fails on RHEL/CentOS-7.4 Message-ID: <1516263764559.28569.3722@webmail9> 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= 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From chavanpushpendra at gmail.com Thu Jan 18 09:52:49 2018 From: chavanpushpendra at gmail.com (Pushpendra Chavan) Date: Thu, 18 Jan 2018 15:22:49 +0530 Subject: PXE-based kickstart fails on RHEL/CentOS-7.4 In-Reply-To: <1516263764559.28569.3722@webmail9> References: <1516263764559.28569.3722@webmail9> Message-ID: You might want to try appending the following anaconda parameter to the menu append line. inst.stage2= This can also be replaced by inst.repo parameter. On Jan 18, 2018 1:53 PM, 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 > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tegner at renget.se Thu Jan 18 19:02:34 2018 From: tegner at renget.se (Jon Tegner) Date: Thu, 18 Jan 2018 20:02:34 +0100 Subject: PXE-based kickstart fails on RHEL/CentOS-7.4 In-Reply-To: References: <1516263764559.28569.3722@webmail9> Message-ID: <4959c4bf-5283-de0f-deec-f297a3905dce@renget.se> 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= > > This can also be replaced by inst.repo parameter. > > > > On Jan 18, 2018 1:53 PM, > > 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 > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: