Re: CentOS 8 boot command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





On 2019-11-18 12:45, Stephen John Smoogen wrote:
On Mon, 18 Nov 2019 at 13:22, Jerry Geis <jerry.geis@xxxxxxxxx> 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.cfg
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@xxxxxxxxxx
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@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux