grub2-mkconfig doesn't take parameters from /etc/default/grub



Hi,

 

I’m using Atomic fedora 23, and try to add extra Linux cmdline parameters in /etc/default/grub, e.g.

 

-GRUB_CMDLINE_LINUX="no_timer_check console=tty1 console=ttyS0,115200n8 rd.lvm.lv=atomicos/root console=ttyS1"

+GRUB_CMDLINE_LINUX="no_timer_check console=tty1 console=ttyS0,115200n8 rd.lvm.lv=atomicos/root console=ttyS1 net.ifnames=0 biosdevname=0"

 

Then run “grub2-mkconfig -o /boot/grub2/grub.cfg”, however the generated grub.cfg doesn’t include the new added parameters “net.ifnames=0 biosdevname=0”. Seems that /etc/grub.d/15_ostree just reads /boot/loader.0/entries/ostree-fedora-atomic-x.conf but doesn’t combine the value from GRUB_CMDLINE_LINUX when generating the grub.cfg.

 

My question is that how could I add extra Linux kernel cmdline parameters in grub if ostree is installed in the system too?

 

 

Regards,

CY.



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