Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] installing Gentoo as a xen guest: installing grub
Date: Fri, 25 Sep 2015 11:21:18
Message-Id: CAGfcS_=hd7wYAczB0KeAM-+c0qnfhQuxoW1PcF4_UQtz4SEPsg@mail.gmail.com
In Reply to: Re: [gentoo-user] installing Gentoo as a xen guest: installing grub by hw
1 On Fri, Sep 25, 2015 at 7:11 AM, hw <hw@×××××.de> wrote:
2 > grub2-install /dev/xvda
3 > Installing for i386-pc platform.
4 > grub2-install: warning: File system `ext2' doesn't support embedding.
5 > grub2-install: warning: Embedding is not possible. GRUB can only be
6 > installed in this setup by using blocklists. However, blocklists are
7 > UNRELIABLE and their use is discouraged..
8 > grub2-install: error: will not proceed with blocklists.
9 >
10
11 My understanding is that if you're using pvgrub you wouldn't actually
12 install grub from within the guest. You just set up a grub.cfg and
13 the pvgrub bootloader resides outside the guest.
14
15 If you are using full virtualization and want to run grub, then you
16 need to partition your disk, so your root wouldn't be /dev/xvda but
17 instead it would be /dev/xvda1.
18
19 Or you can just not use grub at all.
20
21 --
22 Rich