SHA256
1
0
forked from pool/grub2

Accepting request 76157 from devel:openSUSE:Factory

Only run preun when deinstalling package (forwarded request 76120 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/76157
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=16
This commit is contained in:
Sascha Peilicke
2011-07-13 13:58:47 +00:00
committed by Git OBS Bridge
parent bffdec2b9f
commit 37a1adaf14
5 changed files with 86 additions and 26 deletions

View File

@@ -46,3 +46,31 @@ 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