Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: using linux as domU. --- done!!!

Problems getting ubuntu xen kernel.

Is the apt package ubuntu-xen-server only for adm64 hardware? Is there something which needs to be done to get the kernel other than apt-get install ubuntu-xen-server? Is there an issue of going with server 8.10 vs
  Any insight would be appreciated.
It appears that ubuntu i386 server 8.10 ubuntu-xen-server does not contain
a xen kernel. ubuntu i386 server 8.04 ubuntu-xen-server I was at least able to obtain a xen kernel.

I probably should double check the 8.10 ubuntu-xen-server does not contain
a xen kernel.

Now on to copying the image over and seeing if I can get it to boot.


On Wed, 19 Nov 2008, Cem Kayali wrote:

Date: Wed, 19 Nov 2008 19:44:27 +0200
From: Cem Kayali <>
To: John Hayward <>
    NetBSD-current Users's Discussion List <>
Subject: Re: using linux as domU. --- done!!!


I'm neither NetBSD developer nor tester, but an end-user and i am really very happy to use NetBSD as my primary operating system on my notebook. As an end-user, i was planning to launch a blog type web site to publish an end-user's NetBSD experience and small tricks.

Xen, NetBSD and a linux distro... I've searched many resources and couldn't find a good tutorial mentioning about to use an existing linux distribution as Xen guest domain. NetBSD's offical one seems to be complex even for average users.

I partitioned the hard disk using Ubuntu's Gparted software on Ubuntu live cd, and then installed Grub while installing Ubuntu. Much easier. And then, i have installed NetBSD too. After installing some of packages and editing some of configuration files, result is perfectly working 'NetBSD as dom0 and Ubuntu as domU'.

Link to tutorial is

Please try at your own risk.

Best Regards,

John Hayward, 11/18/08 15:42:
I'm interested in "How to..." ASAP - could you shoot me an e-mail of
a what you have?
On Mon, 17 Nov 2008, Cem Kayali wrote:

Date: Mon, 17 Nov 2008 03:08:47 +0200
From: Cem Kayali <>
Subject: Re: using linux as domU. --- done!!!

For future references;

You can pass console parameters using extra="" lines in configuration file.

Tonight, i have successfully booted ubuntu as domU... What important is, i have installed ubuntu linux onto primary partition using standard way, its own installation cd. In other words, it is possible to use an already installed linux distribution as domU on NetBSD-current.

I will later mention about "How to..." in details.

Well, now time to enable X window system...


Manuel Bouyer, 11/16/08 23:54:
On Sun, Nov 16, 2008 at 11:48:04PM +0200, Cem Kayali wrote:

Thanks for your help!

Almost done! Ubuntu booted as domU domain...

No error message, all services initialized. It seems the *only remaining problem* is that, i couldn't specify a console for domU. It boots, and i just do not see "login:". If i run "xm shutdown linux", it properly shutdowns.

Do you know how to pass console variable to domU kernel?

I've not had this problem. Console worked out of the box for me.
But I see I have this line in /etc/ttytab:
co:2345:respawn:/sbin/agetty xvc0 9600 vt100-nav

Home | Main Index | Thread Index | Old Index