[CentOS] CentOS 8 boot command line

Stephen John Smoogen

smooge at gmail.com
Mon Nov 18 19:14:42 UTC 2019


On Mon, 18 Nov 2019 at 14:05, Valeri Galtsev <galtsev at 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 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>
>
> 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 at 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 at centos.org
> https://lists.centos.org/mailman/listinfo/centos



-- 
Stephen J Smoogen.



More information about the CentOS mailing list