[xen-tools] Re: Problem's setting up new machines
Steve Kemp
steve at steve.org.uk
Wed Jun 21 14:51:03 CEST 2006
On Wed, Jun 21, 2006 at 02:28:26PM +0200, Mirco Schmidt wrote:
> Executing : /usr/sbin/debootstrap --verbose sarge /tmp/sMyaePcc7N
> http://ftp2.de.debian.org/debian/
> Running command '/usr/sbin/debootstrap --verbose sarge /tmp/
> sMyaePcc7N http://ftp2.de.debian.org/debian/ 2>&1' failed.
> Aborting
So the debootstrap command fails, but not a lot of details as
to why.
What happens if you run that manually? I tested this with:
mkdir /tmp/foo
/usr/sbin/debootstrap --verbose sarge /tmp/foo http://ftp2.de.debian.org/debian/
It seemed to work out OK for me.
> I hope one can give me hint, how I can solve the problem. The only
> idea I've left is that I might need to change the debootstrap command
> in /usr/bin/xt-install. This is what I tried but didn't work:
Yes that looks like a good idea, but I'm not too sure what to
suggest. At least I'd add:
2>/tmp/stderr.log >/tmp/stdout.log
Just to see if you can capture what went wrong.
> ---cut
> # This is the command we'll run
> #
> my $command = "/usr/sbin/debootstrap $VERBOSE $CONFIG{'dist'}
> $CONFIG{'location'} $CONFIG{'mirror'} --arch i386";
> ---cut
Debootstrap is fussy about command line argument order, you must
add '--arch xxx' to the *front* of the command line, that is why
the $VERBOSE flag is where it is. Trailing arguments get
ignored/refused.
> I also tried inserting '--arch i386' directly after /usr/bin/
> debootstrap but both with no eval...
That is a shame.
Steve
--
More information about the xen-tools-discuss
mailing list