View Single Post
  #13  
Old 4th October 2008, 05:31
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Hi maff,


Thanks for your advice.


Quote:
Originally Posted by maff View Post
hi,

as I got exactly the same problems as you I did some more research. I found this tutorial on a french site where the author uses a debootstrap backport. The article is in french, but you should get the details. I got some problems installing the package via apt on an amd64 box, so I downloaded the .deb manually and installed with dpkg. And guess what, with the new package debootstrapping hardy using xen-create-image works like a charm

Code:
xen-create-image --hostname=hardy --ip=xx.xx.xx.xx --size=10Gb --memory=256Mb --dist=hardy --mirror=http://archive.ubuntu.com/ubuntu/u.com/ubuntu/
The abovementioned command doesn't work here. It always complains;
Code:
...
 We'd expect the hook directory to be : /usr/lib/xen-tools/hardy.d

  Aborting.
..
ls -l /usr/lib/xen-tools/
Code:
total 24
drwxr-xr-x 2 root root 4096 2008-09-13 13:41 centos4.d
-rw-r--r-- 1 root root 2658 2006-11-19 21:51 common.sh
lrwxrwxrwx 1 root root    8 2008-09-13 13:41 dapper.d -> ubuntu.d
drwxr-xr-x 2 root root 4096 2008-09-13 13:41 debian.d
lrwxrwxrwx 1 root root    8 2008-09-13 13:41 edgy.d -> ubuntu.d
lrwxrwxrwx 1 root root    8 2008-09-13 13:41 etch.d -> debian.d
drwxr-xr-x 2 root root 4096 2008-09-13 13:41 fedora.d
drwxr-xr-x 2 root root 4096 2008-09-13 13:41 gentoo.d
lrwxrwxrwx 1 root root    8 2008-09-13 13:41 sarge.d -> debian.d
lrwxrwxrwx 1 root root    8 2008-09-13 13:41 sid.d -> debian.d
lrwxrwxrwx 1 root root    8 2008-09-13 13:41 stentz.d -> fedora.d
drwxr-xr-x 2 root root 4096 2008-09-19 14:04 ubuntu.d
I tried before creating a symbolic link;
Code:
$ cd /usr/lib/xen-tools
$ ln -s ubuntu.d hardy.d
It didn't solve the problem. I suppose the problem coming from the version of dbootstrap on this Xen box.


Quote:
ah, almost forgot - the golden link: http://howto.landure.fr/gnu-linux/de...bian-4-0-etch/
It is in French, hardly for me to follow.


Quote:
UPDATE: i wrote a short summary on my blog - http://maff.ailoo.net/2008/10/deboot...etch-xen-dom0/
I have;

$ apt-cache policy debootstrap
Code:
debootstrap:
  Installed: 0.3.3.2etch1
  Candidate: 0.3.3.2etch1
  Version table:
 *** 0.3.3.2etch1 0
        500 http://ftp.au.debian.org etch/main Packages
        100 /var/lib/dpkg/status
installed on this box.

Would the new version;
Code:
landure.fr/pool/etch/debootstrap/debootstrap_1.0.10_all.deb
$ dpkg -i debootstrap_1.0.10_all.deb
be conflict with the running package?


TIA


B.R.
satimis
Reply With Quote