From: "J. Roeleveld" <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] installing Gentoo as a xen guest: installing grub
Date: Sat, 26 Sep 2015 13:56:37 +0200 [thread overview]
Message-ID: <1781961.59DOujk6JG@andromeda> (raw)
In-Reply-To: <56052BF9.7020903@gc-24.de>
On Friday, September 25, 2015 01:11:53 PM hw wrote:
> grub2-install /dev/xvda
> Installing for i386-pc platform.
> grub2-install: warning: File system `ext2' doesn't support embedding.
> grub2-install: warning: Embedding is not possible. GRUB can only be
> installed in this setup by using blocklists. However, blocklists are
> UNRELIABLE and their use is discouraged..
> grub2-install: error: will not proceed with blocklists.
>
> Now what?
Partition first, then install grub
> I'm guessing I can get away with grub not actually installed as long as
> I stick to PV.
PV does not supply a "BIOS", which means, Grub is not used.
> However, the guests all reside in partitions on an SSD, so my plan was
> to have one partition as swap and another one for the system. Both
> partitions would be let to the guest by entries in the config for the VM.
Most PVs are done that way.
> Now I'm wondering if I should rather have a larger partition for each
> guest and then partition the guest's /dev/xvda into swap and system from
> within the guest.
If using HVM, then yes.
If using PV, then up to you.
> (I'm not really fond of lvm because it lacks some very important
> features which greatly reduce its benefits.)
Which features are you missing that native partitions have?
Most Xen hosts use LVM.
> What would you guys do?
LVM for partitions
Pass LVs to Xen domains
For PV: Store kernel on Host and point to the kernel in the domain config.
For HVM: pretend it's a physical box
> On a side note, would grub even run, considering it's i386 and not
> amd64? 32bit support is kinda disabled.
When using PV, no. (And that's got nothing to do with the CPU architecture.)
> hw wrote:
> > Hi,
> >
> > I'm installing Gentoo as a xen PV guest. Do I need to install a
> > bootloader like grub, or should I rather just specify the kernel to boot
> > in the definition file of the guest? If I do the latter, what about the
> > kernel command line?
> >
> > Is there anything I should consider? The host is also running Gentoo.
prev parent reply other threads:[~2015-09-26 11:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-24 10:05 [gentoo-user] installing Gentoo as a xen guest hw
2015-09-24 12:53 ` Rich Freeman
2015-09-24 13:22 ` J. Roeleveld
2015-09-24 13:45 ` Rich Freeman
2015-09-24 13:50 ` J. Roeleveld
2015-09-24 15:09 ` Rich Freeman
2015-09-24 13:33 ` Håkon Alstadheim
2015-09-26 12:00 ` J. Roeleveld
2015-09-26 12:55 ` Håkon Alstadheim
2015-09-24 13:10 ` J. Roeleveld
2015-09-25 11:11 ` [gentoo-user] installing Gentoo as a xen guest: installing grub hw
2015-09-25 11:21 ` Rich Freeman
2015-09-26 11:56 ` J. Roeleveld [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1781961.59DOujk6JG@andromeda \
--to=joost@antarean.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox