Gentoo Archives: gentoo-user

From: hw <hw@×××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] installing Gentoo as a xen guest: installing grub
Date: Fri, 25 Sep 2015 11:12:08
Message-Id: 56052BF9.7020903@gc-24.de
In Reply to: [gentoo-user] installing Gentoo as a xen guest by hw
1 grub2-install /dev/xvda
2 Installing for i386-pc platform.
3 grub2-install: warning: File system `ext2' doesn't support embedding.
4 grub2-install: warning: Embedding is not possible. GRUB can only be
5 installed in this setup by using blocklists. However, blocklists are
6 UNRELIABLE and their use is discouraged..
7 grub2-install: error: will not proceed with blocklists.
8
9
10 Now what?
11
12 I'm guessing I can get away with grub not actually installed as long as
13 I stick to PV.
14
15 However, the guests all reside in partitions on an SSD, so my plan was
16 to have one partition as swap and another one for the system. Both
17 partitions would be let to the guest by entries in the config for the VM.
18
19 Now I'm wondering if I should rather have a larger partition for each
20 guest and then partition the guest's /dev/xvda into swap and system from
21 within the guest.
22
23 (I'm not really fond of lvm because it lacks some very important
24 features which greatly reduce its benefits.)
25
26 What would you guys do?
27
28
29 On a side note, would grub even run, considering it's i386 and not
30 amd64? 32bit support is kinda disabled.
31
32
33 hw wrote:
34 >
35 > Hi,
36 >
37 > I'm installing Gentoo as a xen PV guest. Do I need to install a
38 > bootloader like grub, or should I rather just specify the kernel to boot
39 > in the definition file of the guest? If I do the latter, what about the
40 > kernel command line?
41 >
42 > Is there anything I should consider? The host is also running Gentoo.
43 >

Replies