[Nix-dev] xen nixos guest on a debian host

Eelco Dolstra eelco.dolstra at logicblox.com
Fri Apr 27 15:27:17 CEST 2012


Hi,

On 27/04/12 14:41, Marco Maggesi wrote:

> the subject basically says everything.
> I would like to run a xen virtual appliance hosted by a debian machines.
> I already have a debian configured guest (it is an empty scratchy
> machine that I can erase) and I would like to turn it into a nixos
> guest.
> Can you see an easy way to do this?
> My first attempt is: bootstrap the guest with the nixos minimal CD iso
> image and make a new installation.
> However, the kernel available on the CD do not have a kernel that
> understand xen paravitualization.

See "Creating NixOS guests" in http://nixos.org/wiki/NixOS_and_Xen.  The
"nixos-install" call assumes that you're running NixOS, so you should do the
image creation on a NixOS machine rather than in your Debian Dom0, then copy it
over to the Debian machine.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/


More information about the nix-dev mailing list