[CentOS-devel] .config file for pxeboot kernel

Wed Apr 15 20:39:04 UTC 2020
Christoph <mangel at gmx.de>

I add these params to kernel: ip=dhcp
ks=http://astaroth.chao5.int/unattended/provision?token=880480ea-bbcf-4ec1-8280-6bdc083481d1
  network ksdevice=bootif ks.device=bootif BOOTIF=00-00-16-3e-2b-7b-73
kssendmac ks.sendmac inst.ks.sendmac

and see ever this in log:

  5.754931] kickstart.chao5.int systemd[1]: Reached target Switch Root.
[    5.756031] kickstart.chao5.int systemd[1]: Starting Switch Root...
[    5.763169] kickstart.chao5.int systemctl[623]: Failed to switch
root: Specified switch root path '/sysroot' does not seem to be an OS
tree. os-release file is missing.
[    5.763906] kickstart.chao5.int systemd[1]:
initrd-switch-root.service: Main process exited, code=exited,
status=1/FAILURE
[    5.764164] kickstart.chao5.int systemd[1]:
initrd-switch-root.service: Failed with result 'exit-code'.
[    5.764448] kickstart.chao5.int systemd[1]: Failed to start Switch
Root.

---
------
Greetz

Am 15.04.2020 21:54, schrieb Trevor Hemsley:
> On 15/04/2020 20:52, Christoph wrote:
>> hmmm is initramfs others then like the 'normal' one?
>> If I append kickstart parameters to the normal kernel then it doesnt
>> find root fs...
>
> Without knowing the details, I'd guess it's just one built with
> hostonly=no
>
> Trevor