Xen on Ubuntu: DomU hangs on boot

Nathan Howell nathan at atdot.ca
Sat Dec 1 19:34:03 UTC 2007


Allen Fowler wrote:
> Hello,
> 
> I am trying to install Xen, and I followed the directions at:
> http://www.howtoforge.com/ubuntu-7.10-server-install-xen-from-ubuntu-repositories
> 
> The physical machine and Dom0 boot fine.
> 
> However, I can't seem to get any DomU to start.

I've been fighting with this recently as well. There are a few things
you'll need to do to get everything working... I'll try to list the key
ones here, and I'll link to the pages where I found them. It's quite
likely I'll forget something. :-)

To get the domU to boot, there's a few things to do, most of which are
summarized near the end of the bug entry (144631) linked below.
Specifically, create /etc/event.d/xvc0, remove/disable the hwclock
stuff, and add the extra= line to the domU config. I also set the option
s in /etc/xen-tools/xen-tools.conf to use xvc0 and xvda devices (and
change the domU config to match). I'm not sure whether that's actually
necessary or not, but things are working for me that way.

Once the domU is booting, it may not have networking at all. I think the
essential thing to fix this is to manually set a MAC address in the domU
config (ie. vif = [ 'mac=00:16:3e:01:02:01' ]).

Here are the main sources that helped me get this running:
https://bugs.launchpad.net/ubuntu/+source/xen-tools/+bug/144631
https://bugs.launchpad.net/ubuntu/+source/xen-3.1/+bug/150805
https://bugs.launchpad.net/ubuntu/+source/xen-tools/+bug/139046
http://kirrus.co.uk/the-kirrus-blog/xen-gutsy-links
http://ubuntuforums.org/showthread.php?t=605192


Nathan





More information about the ubuntu-users mailing list