[CentOS] CentOS 8 boot command line

Valeri Galtsev

galtsev at kicp.uchicago.edu
Mon Nov 18 19:05:15 UTC 2019



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...

(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
++++++++++++++++++++++++++++++++++++++++



More information about the CentOS mailing list