[xen-tools-discuss] xm create
Axel Beckert
abe at deuxchevaux.org
Wed Dec 15 10:59:31 CET 2010
Hi,
On Tue, Dec 14, 2010 at 10:23:08PM +0100, victor at collote.net wrote:
> #sudo xen-create-image - hostname = xen2.ivanvictor.com - force
^ ^ ^ ^
Are you sure you had those blanks in there after the dashes and around
the equals sign? The dashes should be double slashes anyway.
This should more look like this:
#sudo xen-create-image --hostname=xen2.ivanvictor.com --force
> and when I
> #sudo xm create -c /etc/xen/xen2.ivanvictor.com.cfg
> Loading, please wait...
> mount: mounting none on /dev failed: No such device
> W: devtmpfs not available, falling back to tmpfs for /dev
Interesting. Which kernel version in the DomU? And which on the Dom0?
> Begin: Loading essential drivers ... done.
> Begin: Running /scripts/init-premount ... done.
> Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
> Gave up waiting for root device. Common problems:
> - Boot args (cat /proc/cmdline)
> - Check rootdelay= (did the system wait long enough?)
> - Check root= (did the system wait for the right device?)
> - Missing modules (cat /proc/modules; ls /dev)
> ALERT! /dev/sda2 does not exist. Dropping to a shell!
Should usually be /dev/xvda2 or so. /dev/sda2 is said to no more work
with current kernels.
> BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)
This looks like Ubuntu 10.10 Maverick which (if I remember correctly)
has 2.3.36 kernels. If you use pygrub and kernels from the DomU, it's
very likely that /dev/sda2 doesn't work.
If that information doesn't help so far, please post your DomU config
file (/etc/xen/xen2.ivanvictor.com.cfg or so) and we probably can tell
you what needs to be changed.
BTW, which version of xen-tools do you use? (Ubuntu still hasn't
included xen-tools again.)
Kind regards, Axel
--
/~\ Plain Text Ribbon Campaign | Axel Beckert
\ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail)
X See http://www.asciiribbon.org/ | abe at noone.org (Mail+Jabber)
/ \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)
More information about the xen-tools-discuss
mailing list