Port-xen archive

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

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 http://netbsd.eticaret.com.tr/index.php?sayfa=xen-netbsd-linux

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 <cemkayali%eticaret.com.tr@localhost>
To: port-xen%NetBSD.org@localhost
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