List Info

Thread: Xen




Xen
user name
2006-09-19 16:29:06
On Wed, Sep 20, 2006 at 01:59:58AM +1000, Petr Janda wrote:
> Hi there,
> Where I work we use NetBSD 3.0/386 and we have decided
to convert one of 
> our boxes to Xen to run Debian Linux as an unprivileged
domain. Ive 
> converted the box to Domain0 so far. But I have no idea
how to install 
> Debian Linux or any other Linux distribution for that
matter. I dont 
> have time to do much research/never used Xen before. I
will do an 
> in-depth research once we get the virtual debian server
up.
> 
> Can someone write up a simple step-by-step how to for
me what to do now 
> to get Debian running as quick as possible?
> 

This is not a NetBSD-specific issue.  There are a good
number of guides
on the web.

IIRC I've used
http://www.option-c.com/xwiki/Create_a_Debian_V
M_with_debootstrap
before.

That being said, nothing could be simpler than a NetBSD/xen
sysinst.
The Linux distros are really lacking in this.

	Jonathan Kollasch
Xen
user name
2006-09-19 19:01:23
On Tue, 19 Sep 2006, Jonathan A. Kollasch wrote:
> This is not a NetBSD-specific issue.  There are a good
number of guides
> on the web.
> IIRC I've used
> http://www.option-c.com/xwiki/Create_a_Debian_V
M_with_debootstrap
> before.

Try http://www.jailtime.org
or http://www.xen-get.org

(xen-get.org is a pain, you pretty much have to 'view xml
feed' for one of 
the mirrors, then cut-and-paste the .tar.gz file location,
but after that, 
you just untar the tarball on a filesystem of your choice
and you are 
done.)

oddly, the jailtime.org images mount fine as a NetBSD
file-backed 
VBD device, so you don't even need to dirty up your NetBSD
box with the 
ext2 tools.    Just remember to copy /lib/modules from
wherever you 
compiled your linux kernel to your DomU


Xen
user name
2006-09-19 19:01:23
On Tue, 19 Sep 2006, Jonathan A. Kollasch wrote:
> This is not a NetBSD-specific issue.  There are a good
number of guides
> on the web.
> IIRC I've used
> http://www.option-c.com/xwiki/Create_a_Debian_V
M_with_debootstrap
> before.

Try http://www.jailtime.org
or http://www.xen-get.org

(xen-get.org is a pain, you pretty much have to 'view xml
feed' for one of 
the mirrors, then cut-and-paste the .tar.gz file location,
but after that, 
you just untar the tarball on a filesystem of your choice
and you are 
done.)

oddly, the jailtime.org images mount fine as a NetBSD
file-backed 
VBD device, so you don't even need to dirty up your NetBSD
box with the 
ext2 tools.    Just remember to copy /lib/modules from
wherever you 
compiled your linux kernel to your DomU


Easiest way to get a Linux DomU running? (was: Xen)
user name
2006-09-20 01:20:39
Luke Crawford:

> Try http://www.jailtime.org
or http://www.xen-get.org

Yes, using a file-backed image might be the easiest way. But
the images 
from jailtime.org seem to be for Xen2 only. And they come
without a 
kernel (and modules)

Apart from that you need a configuration file to start the
Linux DomU. 
This is from my config file (/usr/pkg/etc/xen/ubuntu) with
Xen3 and 
NetBSD 4.0_BETA as Dom0):

	kernel = "/vmlinuz-2.6.16.13-xen"
	memory = 300
	name = "ubuntu"
	vif = [ 'mac=00:16:00:00:00:01, bridge=bridge0' ]
	disk = [ 'file:/xen/Ubuntu/ubuntu.img,0x308,w' ]
	root = "/dev/hda8 ro"


Greetings, Mark Weinem
Easiest way to get a Linux DomU running? (was: Xen)
user name
2006-09-20 01:20:39
Luke Crawford:

> Try http://www.jailtime.org
or http://www.xen-get.org

Yes, using a file-backed image might be the easiest way. But
the images 
from jailtime.org seem to be for Xen2 only. And they come
without a 
kernel (and modules)

Apart from that you need a configuration file to start the
Linux DomU. 
This is from my config file (/usr/pkg/etc/xen/ubuntu) with
Xen3 and 
NetBSD 4.0_BETA as Dom0):

	kernel = "/vmlinuz-2.6.16.13-xen"
	memory = 300
	name = "ubuntu"
	vif = [ 'mac=00:16:00:00:00:01, bridge=bridge0' ]
	disk = [ 'file:/xen/Ubuntu/ubuntu.img,0x308,w' ]
	root = "/dev/hda8 ro"


Greetings, Mark Weinem
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )