PDA

View Full Version : /etc/default/grub after fedup upgrade



wangmaster
15th January 2013, 02:49 AM
I noticed that after a fedup upgrade /etc/default/grub wasn't updated.

I also noticed that a handful of the options have changed a little, but more specifically GRUB_CMDLINE_LINUX changed quite a bit. Addition of:
$([ -x /usr/sbin/rhcrashkernel-param ] && /usr/sbin/rhcrashkernel-param || :)

and vconsole.keymap instead of KEYTABLE

Is there a preferred process for identifying this and updating it? It seems the file is created by anaconda during initial install.

I checked the file against my virtualbox fresh install and made the changes manually, but it seems like there should be a documented process for doing this.

nonamedotc
15th January 2013, 02:58 AM
I noticed that too. If I am not mistaken, these are the relevant man pages - http://www.gnu.org/software/grub/manual/grub.html#Shell_002dlike-scripting

wangmaster
15th January 2013, 05:20 AM
The contents of /etc/default/grub though aren't really grub "specific" but rather specific to the boot process of the kernel/initrd grub is using.

I think this:
http://people.redhat.com/harald/dracut.html

is more relevant for explaining WHAT the various kernel parameters do for the dracut initramfs. I used that to confirm that the new command line args made sense but am still wondering if this is the best process or if there is some other mechanism.

I guess what I'm really asking is short of having a fresh install to compare to is there something I'm missing that should communicate these types of changes after an update.