SHA256
1
0
forked from pool/grub2
Go to file
Michael Chang 6f1bdfbcd3 Accepting request 308326 from home:michael-chang:grub2-btrfs-mountpoint
- Fix install into snapper controlled btrfs subvolume and can't
  load grub modules from separate subvolume (fate#318392)
  * added grub2-btrfs-06-btrfs-mount-subvol.patch 
  * grub2-snapper-plugin.sh: use absolute subvol name

OBS-URL: https://build.opensuse.org/request/show/308326
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=159
2015-05-22 11:45:25 +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
80_suse_btrfs_snapshot Accepting request 253157 from home:michael-chang:branches:Base:System 2014-10-01 07:24:29 +00:00
90_persistent Accepting request 32673 from devel:openSUSE:Factory 2010-02-18 14:10:48 +00:00
0001-Add-bootargs-parser-for-open-firmware.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
0001-efidisk-move-device-path-helpers-in-core-for-efinet.patch Accepting request 306256 from home:arvidjaar:grub2-next:efinet 2015-05-11 07:39:24 +00:00
0001-look-for-DejaVu-also-in-usr-share-fonts-truetype.patch Accepting request 214019 from home:arvidjaar:grub2-next 2014-01-16 03:44:50 +00:00
0002-Add-Virtual-LAN-support.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
0002-efinet-skip-virtual-IPv4-and-IPv6-devices-when-enume.patch Accepting request 306256 from home:arvidjaar:grub2-next:efinet 2015-05-11 07:39:24 +00:00
0003-efinet-open-Simple-Network-Protocol-exclusively.patch Accepting request 306256 from home:arvidjaar:grub2-next:efinet 2015-05-11 07:39:24 +00:00
aarch64-reloc.patch Accepting request 246608 from home:Andreas_Schwab:Factory 2014-08-27 10:07:53 +00:00
grub2-arm64-Reduce-timer-event-frequency-by-10.patch Accepting request 264612 from home:Andreas_Schwab:Factory 2014-12-10 15:43:05 +00:00
grub2-arm64-set-correct-length.patch Accepting request 290940 from home:Andreas_Schwab:Factory 2015-03-16 11:14:54 +00:00
grub2-btrfs-01-add-ability-to-boot-from-subvolumes.patch Accepting request 245527 from home:michael-chang:test 2014-08-21 03:39:11 +00:00
grub2-btrfs-02-export-subvolume-envvars.patch Accepting request 245527 from home:michael-chang:test 2014-08-21 03:39:11 +00:00
grub2-btrfs-03-follow_default.patch Accepting request 245527 from home:michael-chang:test 2014-08-21 03:39:11 +00:00
grub2-btrfs-04-grub2-install.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-btrfs-05-grub2-mkconfig.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-btrfs-06-subvol-mount.patch Accepting request 308326 from home:michael-chang:grub2-btrfs-mountpoint 2015-05-22 11:45:25 +00:00
grub2-btrfs-fix-get_root-key-comparison-failures-due-to-en.patch Accepting request 252657 from home:arvidjaar:grub2-next 2014-09-29 07:00:39 +00:00
grub2-btrfs-fix-incorrect-address-reference.patch Accepting request 244649 from home:michael-chang:branches:Base:System 2014-08-14 08:30:20 +00:00
grub2-btrfs-workaround-grub2-once.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-editenv-add-warning-message.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-efi_gop-avoid-low-resolution.patch Accepting request 242829 from home:tiwai:branches:Base:System 2014-07-29 10:28:18 +00:00
grub2-efi-chainloader-root.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-efi-disable-video-cirrus-and-bochus.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-efi-HP-workaround.patch Accepting request 289947 from home:michael-chang:boo902982 2015-03-09 06:53:28 +00:00
grub2-efi-xen-chainload.patch - fix grub2-mkconfig-aarch64.patch: fix arch detection broken 2015-04-29 13:20:46 +00:00
grub2-fix-error-terminal-gfxterm-isn-t-found.patch - fix grub2-mkconfig-aarch64.patch: fix arch detection broken 2015-04-29 13:20:46 +00:00
grub2-fix-Grub2-with-SUSE-Xen-package-install.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-fix-locale-en.mo.gz-not-found-error-message.patch Accepting request 212604 from home:arvidjaar:grub2-next 2014-01-06 03:50:43 +00:00
grub2-fix-menu-in-xen-host-server.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-getroot-support-NVMe-device-names.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-getroot-treat-mdadm-ddf-as-simple-device.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-glibc-2.20.patch Accepting request 249357 from home:arvidjaar:grub2-next 2014-09-16 05:55:16 +00:00
grub2-GRUB_CMDLINE_LINUX_RECOVERY-for-recovery-mode.patch - fix grub2-mkconfig-aarch64.patch: fix arch detection broken 2015-04-29 13:20:46 +00:00
grub2-Initialized-initrd_ctx-so-we-don-t-free-a-random-poi.patch Accepting request 250411 from home:arvidjaar:grub2-next 2014-09-23 03:10:36 +00:00
grub2-iterate-and-hook-for-extended-partition.patch Accepting request 179591 from home:arvidjaar:grub2-next 2013-06-18 17:11:34 +00:00
grub2-linguas.sh-no-rsync.patch Accepting request 179591 from home:arvidjaar:grub2-next 2013-06-18 17:11:34 +00:00
grub2-linux.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-mkconfig-aarch64.patch - fix grub2-mkconfig-aarch64.patch: fix arch detection broken 2015-04-29 13:20:46 +00:00
grub2-netboot-hang.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-once Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-once.service Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-pass-corret-root-for-nfsroot.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-ppc64-build-ppc64-32bit.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64-qemu.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-01-Add-Little-Endian-support-for-Power64-to-the-build.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-02-Build-grub-as-O1-until-we-add-savegpr-and-restgpr-ro.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-03-disable-creation-of-vsx-and-altivec-instructions.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-04-powerpc64-LE-s-linker-knows-how-to-handle-the-undefi.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-05-grub-install-can-now-recognize-and-install-a-LE-grub.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-06-set-the-ABI-version-to-0x02-in-the-e_flag-of-the-PPC.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-07-Add-IEEE1275_ADDR-helper.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-08-Fix-some-more-warnings-when-casting.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-09-Add-powerpc64-types.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-10-powerpc64-is-not-necessarily-BigEndian-anymore.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-11-Fix-warnings-when-building-powerpc-linux-loader-64bi.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-12-GRUB_ELF_R_PPC_-processing-is-applicable-only-for-32.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-13-Fix-powerpc-setjmp-longjmp-64bit-issues.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-14-Add-powerpc64-ieee1275-trampoline.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-15-Add-64bit-support-to-powerpc-startup-code.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-16-Add-grub_dl_find_section_addr.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-17-Add-ppc64-relocations.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-18-ppc64-doesn-t-need-libgcc-routines.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-19-Use-FUNC_START-FUNC_END-for-powerpc-function-definit.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-20-.TOC.-symbol-is-special-in-ppc64le-.-It-maps-to-the-.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-21-the-.toc-section-in-powerpc64le-modules-are-sometime.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-22-all-parameter-to-firmware-calls-should-to-be-BigEndi.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc64le-disable-video.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-ppc64le-fix-64bit-trampoline-in-dyn-linker.patch Accepting request 244238 from home:k0da:ppc 2014-08-12 02:33:07 +00:00
grub2-ppc64le-memory-map.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-ppc64le-timeout.patch Accepting request 229655 from home:k0da:branches:Base:System 2014-04-11 02:43:28 +00:00
grub2-ppc-terminfo.patch - fix grub2-mkconfig-aarch64.patch: fix arch detection broken 2015-04-29 13:20:46 +00:00
grub2-s390x-01-Changes-made-and-files-added-in-order-to-allow-s390x.patch - fix grub2-mkconfig-aarch64.patch: fix arch detection broken 2015-04-29 13:20:46 +00:00
grub2-s390x-02-kexec-module-added-to-emu.patch - fix grub2-mkconfig-aarch64.patch: fix arch detection broken 2015-04-29 13:20:46 +00:00
grub2-s390x-03-output-7-bit-ascii.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-s390x-04-grub2-install.patch - fix grub2-mkconfig-aarch64.patch: fix arch detection broken 2015-04-29 13:20:46 +00:00
grub2-s390x-05-grub2-mkconfig.patch - fix grub2-mkconfig-aarch64.patch: fix arch detection broken 2015-04-29 13:20:46 +00:00
grub2-secureboot-add-linuxefi.patch - fix grub2-mkconfig-aarch64.patch: fix arch detection broken 2015-04-29 13:20:46 +00:00
grub2-secureboot-chainloader.patch - fix grub2-mkconfig-aarch64.patch: fix arch detection broken 2015-04-29 13:20:46 +00:00
grub2-secureboot-no-insmod-on-sb.patch Accepting request 212604 from home:arvidjaar:grub2-next 2014-01-06 03:50:43 +00:00
grub2-secureboot-provide-linuxefi-config.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-secureboot-use-linuxefi-on-uefi-in-os-prober.patch - fix grub2-mkconfig-aarch64.patch: fix arch detection broken 2015-04-29 13:20:46 +00:00
grub2-secureboot-use-linuxefi-on-uefi.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-setup-try-fs-embed-if-mbr-gap-too-small.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-snapper-plugin.sh Accepting request 308326 from home:michael-chang:grub2-btrfs-mountpoint 2015-05-22 11:45:25 +00:00
grub2-use-rpmsort-for-version-sorting.patch Accepting request 230152 from home:scarabeus_iv 2014-04-15 08:46:01 +00:00
grub2-use-stat-instead-of-udevadm-for-partition-lookup.patch Accepting request 238198 from home:jeff_mahoney:branches:Base:System 2014-06-21 11:15:08 +00:00
grub2-use-Unifont-for-starfield-theme-terminal.patch Accepting request 229108 from home:arvidjaar:grub2-next 2014-04-07 03:38:20 +00:00
grub2-vbe-blacklist-preferred-1440x900x32.patch Accepting request 244649 from home:michael-chang:branches:Base:System 2014-08-14 08:30:20 +00:00
grub2-xen-legacy-config-device-name.patch Accepting request 250087 from home:michael-chang:branches:Base:System 2014-09-19 15:58:54 +00:00
grub2-xen-linux16.patch Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +00:00
grub2-xen.cfg Accepting request 306321 from home:michael-chang:boo926795 2015-05-11 11:16:27 +00:00
grub2-xfs-Add-helper-for-inode-size.patch Accepting request 238591 from home:jankara:branches:Base:System 2014-06-25 09:36:39 +00:00
grub2-xfs-Convert-inode-numbers-to-cpu-endianity-immediate.patch Accepting request 238591 from home:jankara:branches:Base:System 2014-06-25 09:36:39 +00:00
grub2-xfs-Fix-termination-loop-for-directory-iteration.patch Accepting request 238591 from home:jankara:branches:Base:System 2014-06-25 09:36:39 +00:00
grub2-xfs-V5-filesystem-format-support.patch Accepting request 240012 from home:k0da:ppc 2014-07-14 13:56:04 +00:00
grub2.changes Accepting request 308326 from home:michael-chang:grub2-btrfs-mountpoint 2015-05-22 11:45:25 +00:00
grub2.rpmlintrc Accepting request 296718 from home:michael-chang:branches:Base:System 2015-04-15 07:50:53 +00:00
grub2.spec Accepting request 308326 from home:michael-chang:grub2-btrfs-mountpoint 2015-05-22 11:45:25 +00:00
grub-2.02~beta2.tar.xz Accepting request 212604 from home:arvidjaar:grub2-next 2014-01-06 03:50:43 +00:00
grub.default Accepting request 150359 from home:arvidjaar:branches:Base:System 2013-01-30 07:29:03 +00:00
not-display-menu-when-boot-once.patch Accepting request 212604 from home:arvidjaar:grub2-next 2014-01-06 03:50:43 +00:00
openSUSE-UEFI-CA-Certificate.crt Accepting request 197984 from home:lnussel:branches:devel:openSUSE:Factory 2013-09-10 06:32:46 +00:00
PATCH_POLICY Accepting request 132054 from devel:openSUSE:Factory 2012-08-31 07:28:14 +00:00
README.ibm3215 Accepting request 295632 from home:michael-chang:sle-12-merge 2015-04-13 17:58:16 +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 212604 from home:arvidjaar:grub2-next 2014-01-06 03:50:43 +00:00
SLES-UEFI-CA-Certificate.crt Accepting request 161508 from home:michael-chang:branches:Base:System 2013-03-28 11:00:02 +00:00
translations-20140921.tar.xz Accepting request 250411 from home:arvidjaar:grub2-next 2014-09-23 03:10:36 +00:00
use-grub2-as-a-package-name.patch Accepting request 212604 from home:arvidjaar:grub2-next 2014-01-06 03:50:43 +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