Go to file
Stephan Kulow f82e4ea3dc Accepting request 220920 from Base:System
- Enable grub2 for PowerPC LE (ppc64le)
- Add ppc64le to exclusive arches
- Don't require gcc-32bit (PowerLE don't have 32bit toolchain)
- added patches:
  * grub2-powerpc-libgcc.patch
     Provide 32bit libgcc functions for PowerLE
  * grub2-ppc64le-core-bigendian.patch
     Build grub kernel and images as BE on ppc64le (BL is BE there)
  * grub2-ppc64le-platform.patch
     Enable ppc64le platform (forwarded request 220504 from k0da)

OBS-URL: https://build.opensuse.org/request/show/220920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=83
2014-02-06 08:17:06 +00:00
.gitattributes Accepting request 32673 from devel:openSUSE:Factory 2010-02-18 14:10:48 +00:00
.gitignore Accepting request 32673 from devel:openSUSE:Factory 2010-02-18 14:10:48 +00:00
20_memtest86+ Accepting request 141984 from devel:openSUSE:Factory 2012-11-20 12:07:42 +00:00
90_persistent Accepting request 32673 from devel:openSUSE:Factory 2010-02-18 14:10:48 +00:00
0001-look-for-DejaVu-also-in-usr-share-fonts-truetype.patch Accepting request 214067 from Base:System 2014-01-17 10:03:50 +00:00
0001-script-provide-overridable-root-by-subvol.patch Accepting request 214182 from Base:System 2014-01-20 19:42:18 +00:00
0002-btrfs-add-ability-to-boot-from-subvolumes.patch Accepting request 212884 from Base:System 2014-01-10 20:19:21 +00:00
0002-script-create-menus-for-btrfs-snapshot.patch Accepting request 215222 from Base:System 2014-01-30 10:23:54 +00:00
0003-cmdline-add-envvar-loader_cmdline_append.patch Accepting request 211336 from Base:System 2013-12-19 11:10:56 +00:00
0004-btrfs-export-subvolume-envvars.patch Accepting request 211336 from Base:System 2013-12-19 11:10:56 +00:00
grub2-enable-theme-for-terminal-window.patch Accepting request 129226 from devel:openSUSE:Factory 2012-07-30 18:27:32 +00:00
grub2-fix-error-terminal-gfxterm-isn-t-found.patch Accepting request 128513 from devel:openSUSE:Factory 2012-07-23 08:00:52 +00:00
grub2-fix-Grub2-with-SUSE-Xen-package-install.patch Accepting request 212884 from Base:System 2014-01-10 20:19:21 +00:00
grub2-fix-locale-en.mo.gz-not-found-error-message.patch Accepting request 212884 from Base:System 2014-01-10 20:19:21 +00:00
grub2-fix-menu-in-xen-host-server.patch Accepting request 212884 from Base:System 2014-01-10 20:19:21 +00:00
grub2-GRUB_CMDLINE_LINUX_RECOVERY-for-recovery-mode.patch Accepting request 212884 from Base:System 2014-01-10 20:19:21 +00:00
grub2-iterate-and-hook-for-extended-partition.patch Accepting request 180827 from Base:System 2013-06-26 18:19:00 +00:00
grub2-linguas.sh-no-rsync.patch Accepting request 180827 from Base:System 2013-06-26 18:19:00 +00:00
grub2-linux.patch Accepting request 212884 from Base:System 2014-01-10 20:19:21 +00:00
grub2-once Accepting request 150545 from Base:System 2013-01-31 13:48:08 +00:00
grub2-pass-corret-root-for-nfsroot.patch Accepting request 212884 from Base:System 2014-01-10 20:19:21 +00:00
grub2-powerpc-libgcc.patch Accepting request 220920 from Base:System 2014-02-06 08:17:06 +00:00
grub2-ppc64le-core-bigendian.patch Accepting request 220920 from Base:System 2014-02-06 08:17:06 +00:00
grub2-ppc64le-platform.patch Accepting request 220920 from Base:System 2014-02-06 08:17:06 +00:00
grub2-ppc-terminfo.patch Accepting request 126597 from devel:openSUSE:Factory 2012-06-29 12:19:02 +00:00
grub2-s390x-01-Changes-made-and-files-added-in-order-to-allow-s390x.patch Accepting request 215222 from Base:System 2014-01-30 10:23:54 +00:00
grub2-secureboot-add-linuxefi.patch Accepting request 212884 from Base:System 2014-01-10 20:19:21 +00:00
grub2-secureboot-chainloader.patch Accepting request 180827 from Base:System 2013-06-26 18:19:00 +00:00
grub2-secureboot-no-insmod-on-sb.patch Accepting request 212884 from Base:System 2014-01-10 20:19:21 +00:00
grub2-secureboot-provide-linuxefi-config.patch Accepting request 212884 from Base:System 2014-01-10 20:19:21 +00:00
grub2-secureboot-use-linuxefi-on-uefi-in-os-prober.patch Accepting request 180827 from Base:System 2013-06-26 18:19:00 +00:00
grub2-secureboot-use-linuxefi-on-uefi.patch Accepting request 143018 from devel:openSUSE:Factory 2012-11-28 09:34:03 +00:00
grub2-use-DejaVuSansMono-for-starfield-theme.patch Accepting request 214067 from Base:System 2014-01-17 10:03:50 +00:00
grub2.changes Accepting request 220920 from Base:System 2014-02-06 08:17:06 +00:00
grub2.rpmlintrc Accepting request 79800 from devel:openSUSE:Factory 2011-08-26 08:01:42 +00:00
grub2.spec Accepting request 220920 from Base:System 2014-02-06 08:17:06 +00:00
grub-2.02~beta2.tar.xz Accepting request 212884 from Base:System 2014-01-10 20:19:21 +00:00
grub.default Accepting request 150545 from Base:System 2013-01-31 13:48:08 +00:00
not-display-menu-when-boot-once.patch Accepting request 212884 from Base:System 2014-01-10 20:19:21 +00:00
openSUSE-UEFI-CA-Certificate.crt Accepting request 198163 from Base:System 2013-09-11 09:59:38 +00:00
PATCH_POLICY Accepting request 132054 from devel:openSUSE:Factory 2012-08-31 07:28:14 +00:00
README.openSUSE Accepting request 76157 from devel:openSUSE:Factory 2011-07-13 13:58:47 +00:00
rename-grub-info-file-to-grub2.patch Accepting request 212884 from Base:System 2014-01-10 20:19:21 +00:00
SLES-UEFI-CA-Certificate.crt Accepting request 161581 from Base:System 2013-04-02 09:49:38 +00:00
translations-20130626.tar.xz Accepting request 181929 from Base:System 2013-07-04 08:10:40 +00:00
use-grub2-as-a-package-name.patch Accepting request 212884 from Base:System 2014-01-10 20:19:21 +00:00

Using GNU GRUB 2 in openSUSE
============================

Though GRUB 2 provides various feature enhancements over previous GRUB
version (referred to as "GRUB", or "GRUB Legacy"), it did not reach its
stability and feature completness yet, and thus is not ready to replace
it for the whole user base. This package is primarily intended to
encourage testing and accelerate distribution integration.

It is generally safe to install the package. It is able to co-exist with
existing GRUB installation and adds itself to the GRUB menu upon
installation, so you'll able to select GRUB 2 from GRUB menu during
the boot.

Utilities
---------

The GRUB 2 utilities are prefixed (or postfixed) with 'grub2':

grub2-editenv
grub2-mkimage
grub2-mkelfimage
grub2-mkrescue
grub2-emu
grub2-install
grub2-mkdevicemap
grub2-probe
grub2-setup
update-grub2

Documentation
-------------

The GRUB 2 lacks documentation. While you are encouraged to contribute
the documentation, you can use the GRUB 2 Wiki [1] as primary source of
information pertaining to this development snapshot.

[1] http://grub.enbug.org/

If you intend to install grub2 as your primary boot loader refer to
the GRUB 2 Wiki for information on how to set it up.

Support channels
----------------

If you find a bug in this package, report them to the openSUSE Bugzilla [2].

[2] http://bugzilla.novell.com/

Installation
------------

There is not yet any support in openSUSE to configure and install
grub2. To install it for the first time, run (replace /dev/sdaX with
your boot partition or use /dev/sda for the MBR):

# grub2-install --no-floppy /dev/sdaX
# grub2-mkconfig -o /boot/grub2/grub.cfg

To just update the configuration after the kernel changes, run
# grub2-mkconfig -o /boot/grub2/grub.cfg

For testing, you might want to pass --grub-setup=/bin/true to
grub2-install - this way, grub2 is not setup in the MBR and you can
use grub to chainload a grub2 configuration.

In the grub menu.lst, just add (after changing the hd0,1 parameter):
title GNU GRUB 2 -- openSUSE 12.1 - GNU GRUB 2
    kernel (hd0,1)/boot/grub2/core.img

Warning
-------
Currently, perl-Bootloader does not support grub2 as bootloader.

Therefore you need to run the following after each kernel change:
# grub2-mkconfig -o /boot/grub2/grub.cfg