[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EasyBCD and GRUB2
From: |
Andrey Borzenkov |
Subject: |
Re: EasyBCD and GRUB2 |
Date: |
Wed, 26 Dec 2012 10:58:32 +0400 |
On Wed, Dec 26, 2012 at 8:55 AM, S O <address@hidden> wrote:
> menuentry "MyLinux2" {
> search --no-floppy --set root --label MYLINUX2
> set prefix=($root)/boot/grub
> configfile $prefix/grub.cfg
> }
>
> and so on.
>
> Thus GRUB is actually loaded only from master partition (which should reduce
> the risks of "blocklist" issues in case of backups etc.), but then menu
> directs it to instance-specific partition and grub.cfg in that partition.
Word of caution. ${prefix} also defines location of grub2 modules. So
you have to absolutely ensure that grub2 build in every OS is the same
as master. Otherwise you are risking running binaries from different
builds with undefined results.
I would rather use chain loading; you can directly load core.img using
chainload $prefix/i386-pc/core.img
(or x84_64-efi or rather exotic i386-efi)
which ensures your core.img and modules are consistent. There is no
blocklists involved, grub2 will read files so you are free to move
them around as you like.
- EasyBCD and GRUB2, S O, 2012/12/25
- Re: EasyBCD and GRUB2, Andrey Borzenkov, 2012/12/25
- Re: EasyBCD and GRUB2, S O, 2012/12/27
- Re: EasyBCD and GRUB2, Andrey Borzenkov, 2012/12/27
- Re: EasyBCD and GRUB2, Chris Murphy, 2012/12/27
- Re: EasyBCD and GRUB2, Andrey Borzenkov, 2012/12/27