grub-efi replaces grub and grub2 along the way?

darrell pfeifer darrellpf at gmail.com
Fri Oct 14 06:32:32 UTC 2011


I did an update which I thought was going to do everything but grub but this
happened:

# yum update --exclude=grub
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package grub.x86_64 1:0.97-79.fc16 will be obsoleted
---> Package grub-efi.x86_64 1:0.97-83.fc17 will be obsoleting
---> Package grub2.x86_64 1:1.99-9.fc17 will be obsoleting


the final result was

Dependencies Resolved

========================================================================================================================
 Package                              Arch                Version
                  Repository           Size
========================================================================================================================
Installing:
 grub-efi                             x86_64              1:0.97-83.fc17
                 koji                120 k
     replacing  grub.x86_64 1:0.97-79.fc16
 grub2                                x86_64              1:1.99-9.fc17
                  koji                1.2 M
     replacing  grub.x86_64 1:0.97-79.fc16

which wasn't why I wanted at all since I was trying to avoid grub2 for the
moment. I also thought from the list that grub-efi was going to be a
subpackage of grub but maybe I read too quickly.

I didn't look too closely and did a kernel update later. This resulted in
another problem with grubby

Running Transaction
  Updating   : libkworkspace-4.7.2-5.fc17.x86_64
                                      1/20
  Updating   : ksysguard-libs-4.7.2-5.fc17.x86_64
                                       2/20
  Updating   : kdebase-workspace-4.7.2-5.fc17.x86_64
                                      3/20
  Updating   : kdebase-workspace-libs-4.7.2-5.fc17.x86_64
                                       4/20
  Updating   : kdm-4.7.2-5.fc17.x86_64
                                      5/20
  Installing : kernel-devel-3.1.0-0.rc9.git0.3.fc17.x86_64
                                      6/20
  Updating   : ksysguardd-4.7.2-5.fc17.x86_64
                                       7/20
  Updating   : kernel-tools-3.1.0-0.rc9.git0.3.fc17.x86_64
                                      8/20
  Updating   : kernel-headers-3.1.0-0.rc9.git0.3.fc17.x86_64
                                      9/20
  Installing : kernel-3.1.0-0.rc9.git0.3.fc17.x86_64
                                     10/20
grubby fatal error: unable to find a suitable template
  Cleanup    : kernel-devel-3.1.0-0.rc6.git0.0.fc17.x86_64
                                     11/20
  Cleanup    : kernel-headers-3.1.0-0.rc9.git0.0.fc17.x86_64
                                     12/20
  Cleanup    : kernel-3.1.0-0.rc6.git0.0.fc17.x86_64
                                     13/20
grubby fatal error: unable to find a suitable template
grubby: doing this would leave no kernel entries. Not writing out new
config.
  Cleanup    : kdebase-workspace-4.7.2-4.fc17.x86_64
                                     14/20
  Cleanup    : kdebase-workspace-libs-4.7.2-4.fc17.x86_64
                                      15/20
  Cleanup    : kdm-4.7.2-4.fc17.x86_64
                                     16/20
  Cleanup    : libkworkspace-4.7.2-4.fc17.x86_64
                                     17/20
  Cleanup    : ksysguard-libs-4.7.2-4.fc17.x86_64
                                      18/20
  Cleanup    : ksysguardd-4.7.2-4.fc17.x86_64
                                      19/20
  Cleanup    : kernel-tools-3.1.0-0.rc9.git0.0.fc17.x86_64
                                     20/20
  Verifying  : ksysguardd-4.7.2-4.fc17.x86_64
                                      20/20

Removed:
  kernel.x86_64 0:3.1.0-0.rc6.git0.0.fc17
kernel-devel.x86_64 0:3.1.0-0.rc6.git0.0.fc17

Installed:
  kernel.x86_64 0:3.1.0-0.rc9.git0.3.fc17
kernel-devel.x86_64 0:3.1.0-0.rc9.git0.3.fc17

Updated:
  kdebase-workspace.x86_64 0:4.7.2-5.fc17
kdebase-workspace-libs.x86_64 0:4.7.2-5.fc17
  kdm.x86_64 0:4.7.2-5.fc17
kernel-headers.x86_64 0:3.1.0-0.rc9.git0.3.fc17
  kernel-tools.x86_64 0:3.1.0-0.rc9.git0.3.fc17
ksysguard-libs.x86_64 0:4.7.2-5.fc17
  ksysguardd.x86_64 0:4.7.2-5.fc17
 libkworkspace.x86_64 0:4.7.2-5.fc17

Complete!
----------------------

But in fact grub.conf did get updated.

# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,4)
#          kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
#          initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title Fedora (3.1.0-0.rc9.git0.3.fc17.x86_64)
        root (hd0,4)
        kernel /vmlinuz-3.1.0-0.rc9.git0.3.fc17.x86_64 ro
root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root
rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8
SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet selinux=0 modeset=1
title Fedora (3.1.0-0.rc9.git0.0.fc17.x86_64)
        root (hd0,4)
        kernel /vmlinuz-3.1.0-0.rc9.git0.0.fc17.x86_64 ro
root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root
rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8
SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet selinux=0 modeset=1
        initrd /initramfs-3.1.0-0.rc9.git0.0.fc17.x86_64.img
title Fedora (3.1.0-0.rc8.git0.0.fc17.x86_64)
        root (hd0,4)
        kernel /vmlinuz-3.1.0-0.rc8.git0.0.fc17.x86_64 ro
root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root
rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8
SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet selinux=0 modeset=1
        initrd /initramfs-3.1.0-0.rc8.git0.0.fc17.x86_64.img
title Other
        rootnoverify (hd0,1)
        chainloader +1

Now grub is not longer installed

yum list grub\*
Loaded plugins: langpacks, presto, refresh-packagekit
Installed Packages
grub-efi.x86_64                                           1:0.97-83.fc17
                                     @koji
grub2.x86_64                                              1:1.99-9.fc17
                                      @koji
grubby.x86_64                                             8.2-1.fc17

So the question is, what do I have now? My guess is that while I have this
system running I should quickly follow the instructions to boot with grub2.

darrell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/devel/attachments/20111013/248764f5/attachment.html 


More information about the devel mailing list