On 08/09/2017 07:59 AM, mitchell.roe@xxxxxxxxxxxxxx wrote: > Rick Stevens <ricks@xxxxxxxxxxxxxx> writes: > >> <snip> >> >> root@prophead ~]# strings /usr/sbin/grubby | grep "^/" | uniq >> /lib64/ld-linux-x86-64.so.2 >> /boof >> /dev >> /boot/grub/menu.lst >> /etc/grub2-efi.cfg >> /boot/grub/grub.cfg >> /etc/grub.d/ >> /boot/grub2/grubenv >> /etc/mtab >> /boot >> /etc/sysconfig/grub >> /proc/mdstat >> /boot/boot.b >> /dev/md >> /boot/grub/stage1 >> /etc/yaboot.conf >> /etc/elilo.conf >> /boot/extlinux/extlinux >> /etc/grub2.cfg >> /boot/grub2/grub.cfg >> /boot/grub2-efi/grub.cfg >> /etc/grub.conf >> /boot/extlinux/extlinux.conf >> /etc/zipl.conf >> /etc/silo.conf >> /etc/lilo.conf >> /boot/efi/EFI/redhat/elilo.conf >> /etc/grub.conf >> /boot/grub/device.map >> /etc/SuSE-release >> /var/log/grubby >> >> So based on that, no it doesn't look at /etc/default/grub. > > /etc/sysconfig/grub is, at least on my system[1], a symlink to > /etc/default/grub. You're right. I didn't check the symlinks. My bad. The question still stands...does grubby actually create a new entry based on things such as /etc/sysconfig/grub or /etc/default/grub (e.g. by using grub2-mkconfig) or does it clone the last entry from /boot/grub2/grub.cfg itself and switch out the kernel and such? The man page doesn't say anything about HOW it does what it does and I don't have the time right now to pull down the source RPM and have a looksee. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - Is it progress if a cannibal uses a knife and fork? - - -- Stanislaw J. Lec - ---------------------------------------------------------------------- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx