Add a kernel option using grub2

How to pass an option to the kernel – that should be from the bootline – using grub2:

Edit the kernel entry on /boot/grub2/grub.cfg, but that is going to be lost when the kernel is updated. To make it permanent, add it to GRUB_CMDLINE_LINUX on /etc/default/grub and run grub-makeconfig again.

Press ‘e‘ in the gray initialization menu. Edit the linux line, like for example:

linux /vmlinuz-3.10.0-64.el7.ppc64 root=UUID=807b0ca4-f10e-4a27-8d53-a
577fbd6eb98 ro vconsole.keymap=us crashkernel=auto vconsole.font=latarcyrheb-s
un16 LANG=en_US.UTF-8 disable_ddw=y

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s