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

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Stephen Liu <satimis@xxxxxxxxx>
  • Date: Wed, 17 Sep 2008 00:22:38 +0800 (CST)
  • Delivery-date: Tue, 16 Sep 2008 09:23:16 -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=y5MGoYtT0+v8e3FIBMwVGEzl0d3yhB0dcpd2GAJPQHrk/Avn7MN7qkl2Y6h0Qob7zIMNmUa1bZkg7czuvXZiVmzplCIh/0j7ZuWr1J835m/+n9Arr/4lNGh1rwsLLq8+4z4zZuCXhTpkzcPE750EaXLPaYRrj2QP7gjhnWe8OyE=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi Rogier,


Thanks for your advice.


--- Rogier Wessel <rhwessel@xxxxxxxxx> wrote:

> Hi Stephen,
> 
> On Tue, 2008-09-16 at 00:43 +0800, Stephen Liu wrote:
> > $ cat /mnt/para/debootstrap/debootstrap.log
> > /usr/lib/debootstrap/scripts/hardy: line 3: default_mirror: command
> > not
> > found
> > 
> > 
> > Unable to proceed further.
> 
> cp /usr/lib/debootstrap/scripts/breezy
> /usr/lib/debootstrap/scripts/hardy worked for me although I'm not
> completely sure about the implications of using the info of an older
> config.


# cp /usr/lib/debootstrap/scripts/breezy
/usr/lib/debootstrap/scripts/hardy

# rm /usr/lib/xen-tools/hardy.d


# xen-create-image --hostname=xen5.satimis.com --size=2Gb --swap=256Mb
--ide --ip=192.168.0.115 --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

  We're trying to configure an installation of hardy in
 /vserver - but there is no hook directory for us to use.

  This means we don't know how to configure this installation.

  We'd expect the hook directory to be : /usr/lib/xen-tools/hardy.d

  Aborting.


Logfile produced at:
         /var/log/xen-tools/xen5.satimis.com.log


$ tail /var/log/xen-tools/xen5.satimis.com.log

  We're trying to configure an installation of hardy in
 /vserver - but there is no hook directory for us to use.

  This means we don't know how to configure this installation.

  We'd expect the hook directory to be : /usr/lib/xen-tools/hardy.d

  Aborting.


Fails


AGAIN
=====

# cd /usr/lib/xen-tools/

# ln -s ubuntu.d hardy.d

# xen-create-image --hostname=xen5.satimis.com --size=2Gb --swap=256Mb
--ide --ip=192.168.0.115 --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
.....
.....

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/xen5.satimis.com/swap.img
Done

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

Creating ext3 filesystem on /vserver/domains/xen5.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/xen5.satimis.com.log
* end *


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

Copying files from new installation to host.
Copying files from /tmp/P36A9rHTCz/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


Still fail


I don't understand "There is no '/bin/ls' installed in the new
installation directory".  What does it refer to?


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.