GRUB2 upgrade trigger

2012-10-28 Thread Jacek Konieczny
There is this piece of code in grub2.spec: > %triggerpostun -- %{name} < %{version}-0 > if [ $1 -le 1 ]; then > exit 0 > fi > echo "Grub was upgraded, trying to setup it to boot sector" > /sbin/grub-install '(hd0)' || : And I don't like it. Having grub installed does not mean one wants i

Re: GRUB2 changes, introducing EFI

2012-10-28 Thread Jacek Konieczny
On Sun, Oct 28, 2012 at 09:27:29PM +0100, Grzesiek wrote: > > I guess you mean one of the options often used with legacy grub: > > 1. the space between MBR and the first partition > > 2. the unused space at the beginning of a ext[234] file system > > > > Which one? And how much space do you have th

Re: GRUB2 changes, introducing EFI

2012-10-28 Thread Grzesiek
W dniu 28.10.2012 20:46, Jacek Konieczny pisze: On Sun, Oct 28, 2012 at 08:12:29PM +0100, Grzesiek wrote: I'm using grub2 but some old version from RCD because new packages from TH won't fit into my MBR. Why do you want grub installed in MBR? I don't think any GRUB would fit into 446 bytes. I

Re: GRUB2 changes, introducing EFI

2012-10-28 Thread Jacek Konieczny
On Sun, Oct 28, 2012 at 08:12:29PM +0100, Grzesiek wrote: > I'm using grub2 but some old version from RCD because new packages from > TH won't fit into my MBR. Why do you want grub installed in MBR? I don't think any GRUB would fit into 446 bytes. I guess you mean one of the options often used

Re: GRUB2 changes, introducing EFI

2012-10-28 Thread Grzesiek
W dniu 27.10.2012 22:56, Jacek Konieczny pisze: Hello, I wanted to boot my servers natively, from UEFI, instead of BIOS compatibility mode. I wanted to use GRUB for that, but found out GRUB2 in PLD lacks EFI support. First I have updated out grub2.spec from version 1.99 to 2.00, then I have sta

Re: GRUB2 changes, introducing EFI

2012-10-28 Thread Michael Shigorin
On Sun, Oct 28, 2012 at 06:48:59PM +0100, Jacek Konieczny wrote: > > What ISO should I burn for the starters? > Oops... that is not that easy ;) I have assumed you are familiar with PLD > Linux... Rather theoretically, I st^H^Hborrowed a *lot* of PLD specs and patches into ALT Linux packages over

Re: GRUB2 changes, introducing EFI

2012-10-28 Thread Jacek Konieczny
On Sun, Oct 28, 2012 at 07:27:26PM +0200, Michael Shigorin wrote: > On Sun, Oct 28, 2012 at 06:19:58PM +0100, Jacek Konieczny wrote: > > Can you test the GRUB/EFI installation with standard PLD kernel? > > What ISO should I burn for the starters? Oops… that is not that easy ;) I have assumed you

Re: GRUB2 changes, introducing EFI

2012-10-28 Thread Michael Shigorin
On Sun, Oct 28, 2012 at 06:19:58PM +0100, Jacek Konieczny wrote: > Can you test the GRUB/EFI installation with standard PLD kernel? What ISO should I burn for the starters? -- WBR, Michael Shigorin -- Linux.Kiev http://www.linux.kiev.ua/ _

Re: GRUB2 changes, introducing EFI

2012-10-28 Thread Jacek Konieczny
On Sun, Oct 28, 2012 at 06:09:30PM +0200, Michael Shigorin wrote: > On Sun, Oct 28, 2012 at 02:56:25PM +0100, Jacek Konieczny wrote: > > Migrating a server with / on LVM on hardware RAID from > > GRUB-legacy/BIOS to GRUB2/EFI was much more complicated > > Just in case, I've got an AMD C60 based bo

Re: GRUB2 changes, introducing EFI

2012-10-28 Thread Michael Shigorin
On Sun, Oct 28, 2012 at 02:56:25PM +0100, Jacek Konieczny wrote: > Migrating a server with / on LVM on hardware RAID from > GRUB-legacy/BIOS to GRUB2/EFI was much more complicated Just in case, I've got an AMD C60 based board for UEFI testing and would be glad to help out PLD if that's needed. Th

Re: GRUB2 changes, introducing EFI

2012-10-28 Thread Jacek Konieczny
On Sun, Oct 28, 2012 at 01:39:54PM +0100, Paweł Sikora wrote: > > Booted without problems :) > > so, can you wraite a mini-howto for migrating from grub-legacy to grub2-eufi > for machines with "/" on lvm on raid ? :) I don't have EFI on my laptop. And no RAID, but Luks. Migrating from grub-lega

Re: GRUB2 changes, introducing EFI

2012-10-28 Thread Paweł Sikora
On Sunday 28 of October 2012 12:34:30 Jacek Konieczny wrote: > On Sun, Oct 28, 2012 at 12:23:16PM +0100, Paweł Gołaszewski wrote: > > On Sat, 27 Oct 2012, Jacek Konieczny wrote: > > > Please note: now the 'grub2' package does not contain any platform > > > files. You have to install grub2-pc (or g

Re: GRUB2 changes, introducing EFI

2012-10-28 Thread Jacek Konieczny
On Sun, Oct 28, 2012 at 12:23:16PM +0100, Paweł Gołaszewski wrote: > On Sat, 27 Oct 2012, Jacek Konieczny wrote: > > Please note: now the 'grub2' package does not contain any platform > > files. You have to install grub2-pc (or grub2-efi) too. > > virtual provides "grub2-platform" in each platfor

Re: GRUB2 changes, introducing EFI

2012-10-28 Thread Paweł Gołaszewski
On Sat, 27 Oct 2012, Jacek Konieczny wrote: > Please note: now the 'grub2' package does not contain any platform > files. You have to install grub2-pc (or grub2-efi) too. virtual provides "grub2-platform" in each platform package and "requires: grub2-platform" in main package will do that job.