Re: grubby fatal error: unable to find a suitable template

2011-12-20 Thread Don Zickus
On Mon, Dec 19, 2011 at 05:56:42PM -0500, Steve Dickson wrote:
 Hello all,
 
 I'm getting the $SUBJECT error when I try to
 install a rawhide kernel on an updated f16 vm.
 
 # rpm -ihv  kernel-3.2.0-0.rc6.git0.1.pnfsdlexp.fc16.x86_64.rpm   
 Preparing...### 
 [100%]  
1:kernel ### 
 [100%]  
 grubby fatal error: unable to find a suitable template
 # uname -r
 3.1.5-6.fc16.x86_64

My experience with the upgrading to F16 was the new grub2 was causing the
problems.  However, the way the install scripts were written, they update
both grub.conf (grub1) and grub2.cfg (grub2).  grub.conf is updated
correctly, it is just the grub2.cfg isn't (in fact it is empty, hence the
warning).  Because my system still uses grub1 in the bootloader (not sure
how to force it to use grub2), everything boots fine for me (for now :-/
).  So I just ignore the warning.

 
 Things like the network and NFS do not come up due the fact the modules can 
 not 
 be found... so things are not being installed correctly 

This I noticed on my one box is because systemd starts network and NFS in
parallel and NFS finishes ahead (and fails) of a fully configured network.
After I log in, usually a 'mount -a' fixes my NFS woes (though it is
annoying).  It would be nice to tell NFS to block until the network is up.

That is my experiences so far with the same problems you have.  I should
probably file bugzilla, then again you said others have already done that.

Cheers,
Don
___
kernel mailing list
kernel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/kernel

Re: grubby fatal error: unable to find a suitable template

2011-12-20 Thread Eric Paris
On Tue, 2011-12-20 at 09:35 -0500, Don Zickus wrote:
 On Mon, Dec 19, 2011 at 05:56:42PM -0500, Steve Dickson wrote:

  # rpm -ihv  kernel-3.2.0-0.rc6.git0.1.pnfsdlexp.fc16.x86_64.rpm   
  Preparing...### 
  [100%]  
 1:kernel ### 
  [100%]  
  grubby fatal error: unable to find a suitable template
  # uname -r
  3.1.5-6.fc16.x86_64
 
 My experience with the upgrading to F16 was the new grub2 was causing the
 problems.  However, the way the install scripts were written, they update
 both grub.conf (grub1) and grub2.cfg (grub2).  grub.conf is updated
 correctly, it is just the grub2.cfg isn't (in fact it is empty, hence the
 warning).  Because my system still uses grub1 in the bootloader (not sure
 how to force it to use grub2), everything boots fine for me (for now :-/
 ).  So I just ignore the warning.

My box had the exact opposite problem, I'm not using grub2.  On upgrade
to F16 grub1 (/boot/grub/grub.conf) was blank but grub2
(/boot/grub2/grub.cfg) worked just fine.  Deleting grub.conf caused it
to stop whining about being unable to find a template and now all is
well.

In my case (and Don's it sounds like) this was completely cosmetic...

-Eric

___
kernel mailing list
kernel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/kernel