Hello, I'm trying to use xen on nixos. I have two problems one for the host, one for the guest:
For the host: I have a 32 bit machine. When I try to install a nixos xen host I get the following error during nixos-rebuild [pbuilding arch/x86/vdso/vdso32/vdso32.lds LDS arch/x86/vdso/vdso32/vdso32.lds [q[pbuilding arch/x86/vdso/vdso32/note.o AS arch/x86/vdso/vdso32/note.o [q[pbuilding arch/x86/vdso/vdso32/int80.o AS arch/x86/vdso/vdso32/int80.o [q[pbuilding arch/x86/vdso/vdso32-int80.so.dbg VDSO arch/x86/vdso/vdso32-int80.so.dbg gcc: error: elf_i386: No such file or directory make[2]: *** [arch/x86/vdso/vdso32-int80.so.dbg] Error 1 [qmake[1]: *** [arch/x86/vdso] Error 2 [qmake: *** [arch/x86] Error 2 [q[q[qbuilder for `/nix/store/kn86s2slq3ad2ykqpwac9xzkx4aj2764-linux-2.6.32.24-xen-179eca5.drv' failed with exit code 2 cannot build derivation `/nix/store/7x0n34dyhhrzqwhm10llba89r36q04nx-nixos-0.1pre-svn.drv': 1 dependencies couldn't be built error: build of `/nix/store/7x0n34dyhhrzqwhm10llba89r36q04nx-nixos-0.1pre-svn.drv' failed For the guest: When I try to install the nixos xen guest the nixos-install scripts fails with the message: error: selector `nixos' matches no derivations Thanks, Marco 2012/4/27 Eelco Dolstra <[email protected]>: > 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/ > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
