[CentOS] CentOS 8 boot command line

Mon Nov 18 18:45:11 UTC 2019
Stephen John Smoogen <smooge at gmail.com>

On Mon, 18 Nov 2019 at 13:22, Jerry Geis <jerry.geis at 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.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>

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 at centos.org
> https://lists.centos.org/mailman/listinfo/centos



-- 
Stephen J Smoogen.