WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] How to create an Ubuntu Hardy guest

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] How to create an Ubuntu Hardy guest
From: Stephen Liu <satimis@xxxxxxxxx>
Date: Mon, 15 Sep 2008 15:11:52 +0800 (CST)
Delivery-date: Mon, 15 Sep 2008 00:12:29 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=SSMDvDtzUop8maPcVyGz54VAABVQ4u9B3pUk5U/k0LViX/stvbOBDbhH3z51pq6U89Kw9N899g+YwLB8GcaZlz9Yfw7SdvRzF8glrf1OJ+EqWPvidwWUTw1bVyWbDb50dky53sqjcjuRjeRldSeqb54SP/m4YWP8ohhbmBQyVOQ=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1221459236.5365.56.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
--- Tim Post <echo@xxxxxxxxxxxx> wrote:

> On Mon, 2008-09-15 at 12:28 +0800, Stephen Liu wrote:
> [ snip ]
> 
> > # xen-create-image --hostname=xen3.satimis.com --size=2Gb
> --swap=256Mb
> > --ide --ip=192.168.0.113 --netmask=255.255.255.0
> --gateway=192.168.0.1
> > --force --dir=/vserver --memory=32Mb --arch=i386
> > --kernel=/boot/vmlinuz-2.6.18-xen --debootstrap --dist=hardy
> > --mirror=http://ftp.au.debian.org/debian/ --passwd
> 
> Try passing --mirror=http://archive.ubuntu.com/ubuntu/ , the Debian
> mirrors aren't going to know anything about hardy. :)
> 
> The 'hardy' script in debootstrap should take it from there.


Hi Tim,


# xen-create-image --hostname=xen3.satimis.com --size=2Gb --swap=256Mb
--ide --ip=192.168.0.113 --netmask=255.255.255.0 --gateway=192.168.0.1
--force --dir=/vserver --memory=32Mb --arch=i386
--kernel=/boot/vmlinuz-2.6.18-xen --debootstrap --dist=hardy
--mirror=http://archive.ubuntu.com/ubuntu/ --passwd

General Infomation
--------------------
Hostname       :  xen3.satimis.com
Distribution   :  hardy
Fileystem Type :  ext3

Size Information
----------------
Image size     :  2Gb
Swap size      :  256Mb
Image type     :  sparse
Memory size    :  32Mb
Kernel path    :  /boot/vmlinuz-2.6.18-xen

Networking Information
----------------------
IP Address 1   : 192.168.0.113
Netmask        : 255.255.255.0
Gateway        : 192.168.0.1

WARNING
-------
Loopback module not loaded and you're using loopback images
Run the following to load the module:

modprobe loop loop_max=255


Creating swap image: /vserver/domains/xen3.satimis.com/swap.img
Done

Creating disk image: /vserver/domains/xen3.satimis.com/disk.img
Done

Creating ext3 filesystem on /vserver/domains/xen3.satimis.com/disk.img
Done

Installing your system with debootstrap mirror
http://archive.ubuntu.com/ubuntu/
Done
System installation failed.  Aborting


Logfile produced at:
         /var/log/xen-tools/xen3.satimis.com.log
* end *


Failed


# tail /var/log/xen-tools/xen3.satimis.com.log

Copying files from new installation to host.
Copying files from /tmp/unZo4HI7LG/var/cache/apt/archives ->
/var/cache/apt/archives
Done
Done
The installation of the new system appears to have failed.

There is no '/bin/ls' installed in the new installation directory
Done
System installation failed.  Aborting
* end *

same warning.


B.R.
Stephen L



Send instant messages to your online friends http://uk.messenger.yahoo.com 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users