Kent S. Gordon
2004-Nov-28 05:31 UTC
[Xen-devel] Method of creating/populating NetBSD domain on Xen 2.0
What is the suggested method of creating a NetBSD domain? What userland tools are needed? Is the only code outside of the NetBSD source tree needed Twisted? My thoughts on doing this were to 1) Install NetBSD-2.0 snapshot directly on dedicated partition. Copy in Xen kernel. 2) create filesystem images on an NetBSD/i386 machine and dd image into a dedicated partion (Has anyone tried this using LVM). My worries are in getting the disk label information correct. 3) Cross compile NetBSD userland on Xen/Linux machine. Use cross-compiled disklabel/mkfs to create NetBSD filesystem. Have the Xen NetBSD patches been merged back into the NetBSD tree? What is the suggested NetBSD userland (NetBSD 2.0 RC4)? Kent S. Gordon Postal: 76 Corral Drive North, Keller, Texas 76248 e-mail: kgor@ggzoo.net Phone:(817)431-8775 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Christian Limpach
2004-Nov-29 14:49 UTC
Re: [Xen-devel] Method of creating/populating NetBSD domain on Xen 2.0
On Sat, Nov 27, 2004 at 11:31:25PM -0600, Kent S. Gordon wrote:> > What is the suggested method of creating a NetBSD domain? > > What userland tools are needed? > > Is the only code outside of the NetBSD source tree needed Twisted?Twisted is only needed in dom0 -- you can''t use NetBSD in dom0.> My thoughts on doing this were to > 1) Install NetBSD-2.0 snapshot directly on dedicated partition. > Copy in Xen kernel. > > 2) create filesystem images on an NetBSD/i386 machine and > dd image into a dedicated partion (Has anyone tried this using LVM). > My worries are in getting the disk label information correct. > > 3) Cross compile NetBSD userland on Xen/Linux machine. > Use cross-compiled disklabel/mkfs to create NetBSD filesystem.These should all work, alternatively you could use an install kernel which includes a ramdisk with sysinst. I have built such a kernel, you can grab it from: http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/NetBSD/NetBSD-2.0_RC4/xen-i386/binary/kernel/netbsd-INSTALL.gz Sysinst in this image is tweaked to give saner choices for installing a Xen unprivileged domain.> Have the Xen NetBSD patches been merged back into the NetBSD tree?No, the NetBSD tree includes support for Xen 1.2, I''m reluctant to checkin support for Xen 2.0 since there''s no support for running NetBSD as dom0.> What is the suggested NetBSD userland (NetBSD 2.0 RC4)?Any userland from the 2.0 branch should be fine. I''ll probably update the NetBSD sparse tree to a new snapshot soon since NetBSD 2.0 has been tagged now. christian ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Kent S. Gordon
2004-Nov-30 01:47 UTC
Re: [Xen-devel] Method of creating/populating NetBSD domain on Xen 2.0
Christian Limpach wrote:> On Sat, Nov 27, 2004 at 11:31:25PM -0600, Kent S. Gordon wrote: > >Other question on NetBSD port deleted> > > Have the Xen NetBSD patches been merged back into the NetBSD tree? > > No, the NetBSD tree includes support for Xen 1.2, I''m reluctant to checkin > support for Xen 2.0 since there''s no support for running NetBSD as dom0.Did the NetBSD Xen 1.2 code work for dom0? How much effort is it to port another OS to work in dom0? If the code is not going to be checked into NetBSD, how is drift between NetBSD code and the Xen 2.0 branch of NetBSD going to be handled? Kent S. Gordon Postal: 76 Corral Drive North, Keller, Texas 76248 e-mail: kgor@ggzoo.net Phone:(817)431-8775 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel