|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] How to create an Ubuntu Hardy guest
--- Todd Deshane <deshantm@xxxxxxxxx> wrote:
- snip -
> > Could you please explain in more detail how to do the job?
> >
> >
> On the debian box do as root or with sudo:
> cd /usr/share/debootstrap/scripts/
> wget http://todddeshane.net/tmp/hardy
> Next, run your xen-create-image command again
> Enjoy.
Hi Todd.
Performed following test but failed;
# find / -name debootstrap -type d
/usr/lib/debootstrap
/usr/share/doc/debootstrap
# ls /usr/lib/debootstrap/
devices.tar.gz functions scripts
# ls /usr/lib/debootstrap/scripts/
breezy hoary.buildd sarge sid woody
etch lenny sarge.buildd warty woody.buildd
hoary potato sarge.fakechroot warty.buildd
# cd /usr/lib/debootstrap/scripts/
# wget http://todddeshane.net/tmp/hardy
--20:39:14-- http://todddeshane.net/tmp/hardy
=> `hardy'
Resolving todddeshane.net... 128.153.22.41
Connecting to todddeshane.net|128.153.22.41|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5,839 (5.7K) [text/plain]
100%[=============================================================>]
5,839 19.94K/s
20:39:15 (19.88 KB/s) - `hardy' saved [5839/5839]
* end *
# 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
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/xen3.satimis.com.log
* end *
Remark: logfile same as above described.
AGAIN
=====
# cp /usr/lib/debootstrap/scripts/hardy /usr/lib/xen-tools/hardy.d
# ls /usr/lib/xen-tools/
centos4.d dapper.d edgy.d fedora.d hardy.d sid.d ubuntu.d
common.sh debian.d etch.d gentoo.d sarge.d stentz.d
# 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
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/xen3.satimis.com.log
* end *
Remark: logfile same as above described
# ls -l /usr/lib/xen-tools/
total 32
drwxr-xr-x 2 root root 4096 2008-09-12 22:41 centos4.d
-rw-r--r-- 1 root root 2658 2006-11-19 05:51 common.sh
lrwxrwxrwx 1 root root 8 2008-09-12 22:41 dapper.d -> ubuntu.d
drwxr-xr-x 2 root root 4096 2008-09-12 22:41 debian.d
lrwxrwxrwx 1 root root 8 2008-09-12 22:41 edgy.d -> ubuntu.d
lrwxrwxrwx 1 root root 8 2008-09-12 22:41 etch.d -> debian.d
drwxr-xr-x 2 root root 4096 2008-09-12 22:41 fedora.d
drwxr-xr-x 2 root root 4096 2008-09-12 22:41 gentoo.d
-rw-r--r-- 1 root root 5839 2008-09-14 20:46 hardy.d
lrwxrwxrwx 1 root root 8 2008-09-12 22:41 sarge.d -> debian.d
lrwxrwxrwx 1 root root 8 2008-09-12 22:41 sid.d -> debian.d
lrwxrwxrwx 1 root root 8 2008-09-12 22:41 stentz.d -> fedora.d
drwxr-xr-x 2 root root 4096 2008-09-12 22:41 ubuntu.d
AGAIN
=====
# rm /usr/lib/xen-tools/hardy.d
# cd /usr/lib/xen-tools/
# ln -s ubuntu.d hardy.d
# ls -l
total 24
drwxr-xr-x 2 root root 4096 2008-09-12 22:41 centos4.d
-rw-r--r-- 1 root root 2658 2006-11-19 05:51 common.sh
lrwxrwxrwx 1 root root 8 2008-09-12 22:41 dapper.d -> ubuntu.d
drwxr-xr-x 2 root root 4096 2008-09-12 22:41 debian.d
lrwxrwxrwx 1 root root 8 2008-09-12 22:41 edgy.d -> ubuntu.d
lrwxrwxrwx 1 root root 8 2008-09-12 22:41 etch.d -> debian.d
drwxr-xr-x 2 root root 4096 2008-09-12 22:41 fedora.d
drwxr-xr-x 2 root root 4096 2008-09-12 22:41 gentoo.d
lrwxrwxrwx 1 root root 8 2008-09-14 21:02 hardy.d -> ubuntu.d
lrwxrwxrwx 1 root root 8 2008-09-12 22:41 sarge.d -> debian.d
lrwxrwxrwx 1 root root 8 2008-09-12 22:41 sid.d -> debian.d
lrwxrwxrwx 1 root root 8 2008-09-12 22:41 stentz.d -> fedora.d
drwxr-xr-x 2 root root 4096 2008-09-12 22:41 ubuntu.d
# 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
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://ftp.au.debian.org/debian/
Done
System installation failed. Aborting
Logfile produced at:
/var/log/xen-tools/xen3.satimis.com.log
* end *
# tail /var/log/xen-tools/xen3.satimis.com.log
Copying files from new installation to host.
Copying files from /tmp/xxmLdO1cNA/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 *
B.R.
Stephen
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>
|
- [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, 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, 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
|
|
|
|
|