[xen-tools-discuss] Installing Ubuntu domU
Axel Beckert
abe at deuxchevaux.org
Wed Jan 23 12:33:53 CET 2013
Hi Muzaffer,
On Wed, Jan 23, 2013 at 11:20:05AM +0200, Muzaffer Tolga Özses wrote:
> I'm trying to install Ubuntu domU on my dom0, but I came across the
> following error:
>
> System installation failed. Aborting
> /tmp/gG1sOtZ_sZ/etc/ssh/ssh_host_rsa_key.pub: No such file or directory
The SSH host key error message is a follow up error.
> Running command 'umount /tmp/gG1sOtZ_sZ/proc 2>&1' failed with exit
> code 256.
That one, too.
The latter is definitely fixed in Git, it no more sees umount failures
as failures if something failed before. Not 100% sure if I found all
cases of trying to fetch the SSH host key after a step failed before.
> Copying files from new installation to host.
> Copying files from /tmp/gG1sOtZ_sZ/var/cache/apt/archives ->
> /var/cache/apt/archives/
> Done
That seems to have worked.
> Done
Comes from do_debootstrap in xt-install-image.
> Done
Comes from installSystem in xen-create-image.
> System installation failed. Aborting
Hrm. Not very helpful indeed, there's a reason missing. Will fix the
error message to be more helpful.
Comes from xen-create-image. It checks after calling installSystem
(which calls xt-install-image) if /bin/ls is present in the chroot.
The funny thing is that both, xt-install-image and xen-create-image
check if /bin/ls is in the chroot after debootstrapping.
xt-install-image seems to have found it, but xen-create-image hasn't
found it anymore and aborts.
I'll have to dig deeper here. Will let you know if I found out more
about this issue.
> What's wrong? The command I used is xen-create-image
> --hostname\=drupaltr.org --ip=5.9.235.22 --netmask=255.255.255.0
> --gateway\=5.9.235.16 --install-method\=debootstrap --dist\=precise
> --memory\=2048Mb --swap=4096Mb --force
For debugging, adding a "--verbose" option often already helps.
Looking at the code I though fear that it wouldn't have helped in this
case. So for now no need to send in the verbose log, too.
Oh, but please tell me, which version of xen-tools you are running.
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