Around 08:32am on Monday, April 30, 2012 (UK time), Frank Murphy scrawled:

> On 30/04/12 05:03, Fedora User wrote:
> >
> >That was my first thought. The problem is that grub.cfg is produced by
> >a template via grub2-mkconfig. And, of course, there is no manual page
> >for grub2-mkconfig.
> 
> It depends on how /boot/grub2/grub.cfg is being modified.
> If doing a yum update, grubby does most of the work, ignores 
> grub2-mkconfig. (history, grub-legacy never had a method to modify 
> ~/grub.cfg)
> Hence add your modifications to /etc/default/grub
> 
> If you manually modify /boot/grub2/grub.cfg or it's sym /etc/grub2.cfg.
> You need to run grub2-mkconfig -o /boot/grub2/grub.cfg
> 
> Currently if you do not modify both,
> I have found changes are not picked up.

I do the following at it works fine (persists over yum kernel updates):

  1) Edit /etc/default/grub

  2) Run grub2-mkconfig (# grub2-mkconfig -o /boot/grub2/grub.cfg)

  3) Set the default grub entry to 0 (# grub2-set-default 0)

Steve

-- 
 
Website:  www.stevesearle.com
Twitter:  @ReddishShift
Facebook: www.facebook.com/steve.searle

 11:13:36 up 10 days, 15:26,  0 users,  load average: 0.01, 0.04, 0.12

Attachment: pgpNWatFVd1dP.pgp
Description: PGP signature

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to