|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] How to create an Ubuntu Hardy guest
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
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- Re: [Xen-users] How to create an Ubuntu Hardy guest, (continued)
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Todd Deshane
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Stephen Liu
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Tim Post
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Stephen Liu
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Tim Post
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Stephen Liu
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Todd Deshane
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Stephen Liu
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Todd Deshane
- Re: [Xen-users] How to create an Ubuntu Hardy guest, Stephen Liu
Re: [Xen-users] How to create an Ubuntu Hardy guest,
Stephen Liu <=
|
|
|
|
|