From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1200113881D for ; Sat, 26 Sep 2015 11:57:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59F3B21C024; Sat, 26 Sep 2015 11:56:52 +0000 (UTC) Received: from gw2.antarean.org (gw2.antarean.org [141.105.125.208]) by pigeon.gentoo.org (Postfix) with ESMTP id 20DD6E07ED for ; Sat, 26 Sep 2015 11:56:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gw2.antarean.org (Postfix) with ESMTP id B8570121730 for ; Sat, 26 Sep 2015 11:56:37 +0000 () X-Virus-Scanned: amavisd-new at antarean.org Received: from gw2.antarean.org ([127.0.0.1]) by localhost (gw2.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HzV4wQkO32Tc for ; Sat, 26 Sep 2015 11:56:36 +0000 (%Z) Received: from data.antarean.org (localhost [127.0.0.1]) by gw2.antarean.org (Postfix) with ESMTP id DF5C9121726 for ; Sat, 26 Sep 2015 11:56:36 +0000 () Received: from andromeda.localnet (unknown [10.20.13.50]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by data.antarean.org (Postfix) with ESMTPSA id F32C94C for ; Sat, 26 Sep 2015 13:55:23 +0200 (CEST) From: "J. Roeleveld" 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 Message-ID: <1781961.59DOujk6JG@andromeda> User-Agent: KMail/4.14.8 (Linux/4.0.5-gentoo; KDE/4.14.8; x86_64; ; ) In-Reply-To: <56052BF9.7020903@gc-24.de> References: <5603CAEB.2050709@gc-24.de> <56052BF9.7020903@gc-24.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: f3959d4e-3a56-4d0e-8fb6-f9e5c1814345 X-Archives-Hash: 160ce28660960c9267f12c5d3cf343ce 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.