On 2014-12-04 02:14, lee wrote:
Hi,

I'd like to give Gentoo a try and want to install it in a xen VM.  The
server is otherwise running Debian.  What would be the best way to do
this?

Either you can run a virtual machine using paravirtualization (PV) or full virtualization (HVM).

If you want to use PV, then you create a partition for Gentoo, chroot, unpack stage3 and prepare your system for booting (follow the handbook). Then you create a configuration for your xen domU (Gentoo), provide a kernel and start it. You don't need the install-cd in this situation, nor any bootloader.

If you prefer HVM, then you create a partition and use the install-cd to boot. After your install cd boots up, you partition your disk provided by xen dom0 (Debian), chroot, unpack stage3 and install the system along with the kernel and a bootloader. You can boot your Gentoo with pvgrub that will handle the booting to grub and it will load the kernel. This way, the Gentoo machine is like a black box for your Debian.

I would recommend starting with HVM.

Reply via email to