Gentoo Archives: gentoo-user

From: Tomas Mozes <tomas.mozes@××××.sk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] installing Gentoo in a xen VM
Date: Thu, 04 Dec 2014 07:54:41
Message-Id: 98e6159b00f424333a61438f7f24b229@shmu.sk
In Reply to: [gentoo-user] installing Gentoo in a xen VM by lee
1 On 2014-12-04 02:14, lee wrote:
2 > Hi,
3 >
4 > I'd like to give Gentoo a try and want to install it in a xen VM. The
5 > server is otherwise running Debian. What would be the best way to do
6 > this?
7
8 Either you can run a virtual machine using paravirtualization (PV) or
9 full virtualization (HVM).
10
11 If you want to use PV, then you create a partition for Gentoo, chroot,
12 unpack stage3 and prepare your system for booting (follow the handbook).
13 Then you create a configuration for your xen domU (Gentoo), provide a
14 kernel and start it. You don't need the install-cd in this situation,
15 nor any bootloader.
16
17 If you prefer HVM, then you create a partition and use the install-cd to
18 boot. After your install cd boots up, you partition your disk provided
19 by xen dom0 (Debian), chroot, unpack stage3 and install the system along
20 with the kernel and a bootloader. You can boot your Gentoo with pvgrub
21 that will handle the booting to grub and it will load the kernel. This
22 way, the Gentoo machine is like a black box for your Debian.
23
24 I would recommend starting with HVM.

Replies

Subject Author
Re: [gentoo-user] installing Gentoo in a xen VM lee <lee@××××××××.de>