Current-Users archive

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

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



Dear Cem,
I am attempting to get up Ubuntu domU under NetBSD dom0. I don't have a spare partition but have vmware esx server. My idea was to install Ubuntu on the esx sever, obtain the xen vmunix and initrd.img, copy the disk images over to my NetBSD dom0 box and boot.
   My first problem is obtaining a xen version of vmunix and initrd.img.
I first tried ubuntu server i386 8.10 and did an apt-get install ubuntu-xen-server. I did not see the kernel in the /boot directory and
listing the files of the package it showed only documentation files.
I next tried ubuntu server adm64 but when booting as a vm it complained that it was not running on x64 hardware. 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
8.04?
   Any insight would be appreciated.

johnh...
 On Wed, 19 Nov 2008, Cem Kayali wrote:

Date: Wed, 19 Nov 2008 19:44:27 +0200
From: Cem Kayali <cemkayali%eticaret.com.tr@localhost>
To: John Hayward <John.C.Hayward%wheaton.edu@localhost>
Cc: port-xen%NetBSD.org@localhost,
    NetBSD-current Users's Discussion List <current-users%netbsd.org@localhost>
Subject: Re: using linux as domU. --- done!!!


Hi,

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,
Cem





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?
johnh...
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...


Regards,
Cem





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