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: [email protected] 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/
Quoted 6 lines · Kent S. Gordon
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.
Quoted 10 lines
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.
Quoted 1 line
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.
Quoted 1 line
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/
Quoted 2 lines · Christian Limpach
Quoted 1 line · Kent S. Gordon
Other question on NetBSD port deleted
Quoted 5 lines
Quoted 2 lines
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: [email protected] 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/