I am trying to specify a static IP on the new dracut format. I was using this: http://man7.org/linux/man-pages/man7/dracut.cmdline.7.html
So my grub entry consists menuentry "Install CentOS 8" { linux /boot/vmlinuz noverifyssl ks=https://something ip=192.168.1.3::192.168.1.1:255.255.255.0::eth0:on:192.168.1.1 biosdevname=0 net.ifnames=0 ksdevice=eth0 inst.sshd sshd=1 initrd /boot/initrd.img }
This seems OK to me. But rebooting to start the install for CentOS 8 it just stops and says "system halted". the lines above that have no errors. .3 is the IP I want to use .1 is the GW and the Nameserver in this case.
Thanks,
Jerry
On 11/29/19 6:55 AM, Jerry Geis wrote:
I am trying to specify a static IP on the new dracut format. I was using this: http://man7.org/linux/man-pages/man7/dracut.cmdline.7.html
So my grub entry consists menuentry "Install CentOS 8" { linux /boot/vmlinuz noverifyssl ks=https://something ip=192.168.1.3::192.168.1.1:255.255.255.0::eth0:on:192.168.1.1 biosdevname=0 net.ifnames=0 ksdevice=eth0 inst.sshd sshd=1 initrd /boot/initrd.img }
This seems OK to me. But rebooting to start the install for CentOS 8 it just stops and says "system halted". the lines above that have no errors. .3 is the IP I want to use .1 is the GW and the Nameserver in this case.
I'm guessing something with your kernel and/or initrd.img is incorrect. If it was just the interface not getting configured properly you should eventually get a bunch to dracut timeouts and then get dropped into the emergency shell where you could poke around, not "system halted".
On 29.11.19 17:06, Orion Poplawski wrote:
On 11/29/19 6:55 AM, Jerry Geis wrote:
I am trying to specify a static IP on the new dracut format. I was using this: http://man7.org/linux/man-pages/man7/dracut.cmdline.7.html
So my grub entry consists menuentry "Install CentOS 8" { linux /boot/vmlinuz noverifyssl ks=https://something ip=192.168.1.3::192.168.1.1:255.255.255.0::eth0:on:192.168.1.1 biosdevname=0 net.ifnames=0 ksdevice=eth0 inst.sshd sshd=1 initrd /boot/initrd.img }
This seems OK to me. But rebooting to start the install for CentOS 8 it just stops and says "system halted". the lines above that have no errors. .3 is the IP I want to use .1 is the GW and the Nameserver in this case.
I'm guessing something with your kernel and/or initrd.img is incorrect.
My first thought is something is wrong with the kickstart file. But without console output it is hard to tell. We do not know at what stage the error occured.
maybe a text based install gives more output to gain insight.
If it was just the interface not getting configured properly you should eventually get a bunch to dracut timeouts and then get dropped into the emergency shell where you could poke around, not "system halted".
I agree. But system halted before getting kickstart or after? Besides console output, another simple thing to check: have a look at web server logs at https://something
On Fri, Nov 29, 2019 at 11:06 AM Orion Poplawski orion@nwra.com wrote:
On 11/29/19 6:55 AM, Jerry Geis wrote:
I am trying to specify a static IP on the new dracut format. I was using this: http://man7.org/linux/man-pages/man7/dracut.cmdline.7.html
So my grub entry consists menuentry "Install CentOS 8" { linux /boot/vmlinuz noverifyssl ks=https://something ip=192.168.1.3::192.168.1.1:255.255.255.0::eth0:on:192.168.1.1 biosdevname=0 net.ifnames=0 ksdevice=eth0 inst.sshd sshd=1 initrd /boot/initrd.img }
This seems OK to me. But rebooting to start the install for CentOS 8 it just stops and says "system halted". the lines above that have no errors. .3 is the IP I want to use .1 is the GW and the Nameserver in this case.
I'm guessing something with your kernel and/or initrd.img is incorrect. If it was just the interface not getting configured properly you should eventually get a bunch to dracut timeouts and then get dropped into the emergency shell where you could poke around, not "system halted".
So the only thing I changed then was the ":on:" to ":off:", re-ran the
grub2-mkconfig and I get the dracut timeouts (3 of them) after rebooting then dracut stating it cannot download my ks file.
So seems like the format is OK. No idea why its stopping on the ":on:"
jerry
I found this format: ip=*<client-IP>*:[ *<server-id>* ]:*<gateway-IP>*:*<netmask>*: *<client_hostname>*:*<interface>*:*{none|off}*
What is "none" : off I assume means do not start the ethernet network. But what is none. When I have it set to "on" my installation halts with "system halted" and I cannot see a visible error. I have not tried none yet. Next week perhaps. Jerry
On 11/29/19 1:08 PM, Jerry Geis wrote:
I found this format: |ip=|/|<client-IP>|/:[/|<server-id>|/ ]:/|<gateway-IP>|/:/|<netmask>|/:/|<client_hostname>|/:/|<interface>|/:/|{none|off}|/
What is "none" : off I assume means do not start the ethernet network. But what is none. When I have it set to "on" my installation halts with "system halted" and I cannot see a visible error. I have not tried none yet. Next week perhaps. Jerry
"none" is the autoconfig method - so none = static. Or it could be auto/dhcp I think.
Hi,
<...> Are you trying to use the installed kernel (you mentioned "dracut") to boot a kickstart installation? That is not going to work, you need to use the **installation** kernel and initrd.img from BaseOS/x86_64/kickstart/images/pxeboot
btw, the ks syntax has changed from ks= -> inst.ks=
my 2 cts.
Tru