I am trying to boot a grub entry for CentOS 8
menuentry "Server Install CentOS 8" { linux /boot/vmlinuz noverifyssl ks= https://devgeis.LayeredSolutionsInc.com:443/kickstart/ks_update_to_server8.c... biosdevname=0 net.ifnames=0 ksdevice=eth0 ip=192.168.1.13 gateway=192.168.1.1 netmask=255.255.255. 0 nameserver=192.168.1.1 inst.sshd sshd=1 initrd /boot/initrd.img }
When booting it says that "ip=192.168.1.3" Sorry unknown value.
This works on CentOS 7. How do I specify the IP/SN/GW for CentOS kernel line? Thanks,
Jerry
On Mon, 18 Nov 2019 at 13:22, Jerry Geis jerry.geis@gmail.com wrote:
I am trying to boot a grub entry for CentOS 8
menuentry "Server Install CentOS 8" { linux /boot/vmlinuz noverifyssl ks= https://devgeis.LayeredSolutionsInc.com:443/kickstart/ks_update_to_server8.c... biosdevname=0 net.ifnames=0 ksdevice=eth0 ip=192.168.1.13 gateway=192.168.1.1 netmask=255.255.255. 0 nameserver=192.168.1.1 inst.sshd sshd=1 initrd /boot/initrd.img }
When booting it says that "ip=192.168.1.3" Sorry unknown value.
This works on CentOS 7. How do I specify the IP/SN/GW for CentOS kernel line?
That method was listed as deprecated in EL-7 and I think the method you need to use now is http://man7.org/linux/man-pages/man7/dracut.cmdline.7.html
ip=192.168.1.13::192.168.1.1:255.255.255.0:hostname.goes.here:eth0:on:1500:<mac-address-of-eth0>
I am going to guess that should work, but I have not had much luck with ethX interfaces with dracut
Thanks,
Jerry _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On 2019-11-18 12:45, Stephen John Smoogen wrote:
On Mon, 18 Nov 2019 at 13:22, Jerry Geis jerry.geis@gmail.com wrote:
I am trying to boot a grub entry for CentOS 8
menuentry "Server Install CentOS 8" { linux /boot/vmlinuz noverifyssl ks= https://devgeis.LayeredSolutionsInc.com:443/kickstart/ks_update_to_server8.c... biosdevname=0 net.ifnames=0 ksdevice=eth0 ip=192.168.1.13 gateway=192.168.1.1 netmask=255.255.255. 0 nameserver=192.168.1.1 inst.sshd sshd=1 initrd /boot/initrd.img }
When booting it says that "ip=192.168.1.3" Sorry unknown value.
This works on CentOS 7. How do I specify the IP/SN/GW for CentOS kernel line?
That method was listed as deprecated in EL-7 and I think the method you need to use now is http://man7.org/linux/man-pages/man7/dracut.cmdline.7.html
ip=192.168.1.13::192.168.1.1:255.255.255.0:hostname.goes.here:eth0:on:1500:<mac-address-of-eth0>
If MAC address is mandatory here, it becomes extra hassle compared to kickstart build I was using until now...
(Is <rant> tag due above ? ;-)
Valeri
I am going to guess that should work, but I have not had much luck with ethX interfaces with dracut
Thanks,
Jerry _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On Mon, 18 Nov 2019 at 14:05, Valeri Galtsev galtsev@kicp.uchicago.edu wrote:
On 2019-11-18 12:45, Stephen John Smoogen wrote:
On Mon, 18 Nov 2019 at 13:22, Jerry Geis jerry.geis@gmail.com wrote:
I am trying to boot a grub entry for CentOS 8
menuentry "Server Install CentOS 8" { linux /boot/vmlinuz noverifyssl ks= https://devgeis.LayeredSolutionsInc.com:443/kickstart/ks_update_to_server8.c... biosdevname=0 net.ifnames=0 ksdevice=eth0 ip=192.168.1.13 gateway=192.168.1.1 netmask=255.255.255. 0 nameserver=192.168.1.1 inst.sshd sshd=1 initrd /boot/initrd.img }
When booting it says that "ip=192.168.1.3" Sorry unknown value.
This works on CentOS 7. How do I specify the IP/SN/GW for CentOS kernel line?
That method was listed as deprecated in EL-7 and I think the method you need to use now is http://man7.org/linux/man-pages/man7/dracut.cmdline.7.html
ip=192.168.1.13::192.168.1.1:255.255.255.0:hostname.goes.here:eth0:on:1500:<mac-address-of-eth0>
If MAC address is mandatory here, it becomes extra hassle compared to kickstart build I was using until now...
The mac address isn't mandatory but you are then up to the whims of the kernel, dracut, and whatever else is involved on what gets picked for eth0. It works less often than it used to for me so I would end up on a very very long rant tag.
(Is <rant> tag due above ? ;-)
Valeri
I am going to guess that should work, but I have not had much luck with ethX interfaces with dracut
Thanks,
Jerry _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
-- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Am 18.11.19 um 19:21 schrieb Jerry Geis:
I am trying to boot a grub entry for CentOS 8
menuentry "Server Install CentOS 8" { linux /boot/vmlinuz noverifyssl ks= https://devgeis.LayeredSolutionsInc.com:443/kickstart/ks_update_to_server8.c... biosdevname=0 net.ifnames=0 ksdevice=eth0 ip=192.168.1.13 gateway=192.168.1.1 netmask=255.255.255. 0 nameserver=192.168.1.1 inst.sshd sshd=1 initrd /boot/initrd.img }
When booting it says that "ip=192.168.1.3" Sorry unknown value.
This works on CentOS 7. How do I specify the IP/SN/GW for CentOS kernel line?
JFYI: you post a configuration (URI) with cleartext passwords and IP addresses to a public list! ...?
-- Leon
ip=192.168.1.13::192.168.1.1:255.255.255.0:hostname.goes.here:eth0:on:1500:<mac-address-of-eth0>
Thanks for the information.
What "insanity". Take a perfectly good syntax and muck it up like that. The developer that "lost" backward compatibility for that mess needs a couple more drinks or something.
Jerry
On Mon, 18 Nov 2019 at 15:22, Jerry Geis jerry.geis@gmail.com wrote:
ip=192.168.1.13::192.168.1.1:255.255.255.0:hostname.goes.here:eth0:on:1500:<mac-address-of-eth0>
Thanks for the information.
What "insanity". Take a perfectly good syntax and muck it up like that. The developer that "lost" backward compatibility for that mess needs a couple more drinks or something.
The problem I think was that the syntax was one which worked for one OS and the dracut is meant to work for all Linuxes.. so they worked out a set of items which worked for Debian, SuSE, Mandrake, Fedora. The syntax change I think landed in Fedora right after RHEL-6 and was in RHEL-7 from the beginning. As the web page goes over, there are several different syntaxes which can be used for different environments.
[At this point i have been having to hack that syntax for 7 years so I have a severe case of Stockholm syndrome.]
On 2019-11-18 14:21, Jerry Geis wrote:
ip=192.168.1.13::192.168.1.1:255.255.255.0:hostname.goes.here:eth0:on:1500:<mac-address-of-eth0>
Thanks for the information.
What "insanity". Take a perfectly good syntax and muck it up like that. The developer that "lost" backward compatibility for that mess needs a couple more drinks or something.
No drinks will fix insanity, except, maybe, dink of kurare, which I for one would not recommend ;-)
Valeri
Jerry _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos