grub_cmdline_linux_default vs grub_cmdline_linux

I opened my  /etc/default/grub file while fixing a bug with laptop suspending…

And I read

# For full documentation of the options in this file, see:
# info -f grub -n ‘Simple configuration’

then I did info -f grub -n ‘Simple configuration’

 

and I found that the difference between GRUB_CMDLINE_LINUX_DEFAULT and GRUB_CMDLINE_LINUX

is that the _DEFAULT entry is fot non-recovery kernel menu entries only… that’s it!

 

Quote below:

 

 

 

`GRUB_CMDLINE_LINUX’
Command-line arguments to add to menu entries for the Linux kernel.

`GRUB_CMDLINE_LINUX_DEFAULT’
Unless `GRUB_DISABLE_RECOVERY’ is set to `true’, two menu entries
will be generated for each Linux kernel: one default entry and one
entry for recovery mode. This option lists command-line arguments
to add only to the default menu entry, after those listed in
`GRUB_CMDLINE_LINUX’.

 

Advertisements

About rsvelko

I am a geek.
This entry was posted in Uncategorized and tagged , , , . Bookmark the permalink.

One Response to grub_cmdline_linux_default vs grub_cmdline_linux

  1. rufo says:

    saved me looking this up. thanks!

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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