grub2 confusion

Adam Williamson awilliam at redhat.com
Thu Oct 6 20:48:49 UTC 2011


On Thu, 2011-10-06 at 18:11 +0200, Michael Schwendt wrote:

>   # grub2-mkconfig -o /etc/grub2.cfg
>   Generating grub.cfg ...
>   ...
>   # ls /etc/grub2.cfg 
>   /etc/grub2.cfg
>   #
> 
> WTF? It didn't _follow_ the symlink, it replaced it with a file.
> The reboot didn't use it, of course, but used the old one in /boot/grub2.
> Useless stuff.
> 
> Notice how it says "Generating grub.cfg ..." when in fact it creates a
> file grub2.cfg. This is extra misleading.

/etc/grub2.cfg is in fact a symlink to /boot/grub2/grub.cfg , so this is
sort of technically correct...
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net



More information about the test mailing list