mixing architectures with debootstrap

John Heim jheim at math.wisc.edu
Tue Jul 3 15:44:24 CEST 2007


----- Original Message ----- 
From: "Thomas Lange" <lange at informatik.Uni-Koeln.DE>
To: "linux-fai" <linux-fai at uni-koeln.de>
Sent: Tuesday, July 03, 2007 2:50 AM
Subject: Re: mixing architectures with debootstrap


>>>>>> On Mon, 2 Jul 2007 12:33:41 -0500, "John Heim" <jheim at math.wisc.edu> 
>>>>>> said:
>
>    > So, if make-fai-nfsroot is supposed to create the nfsroot in
>    > /sur/share/fai/nfsroot, I can just issue my own debootstrap command 
> to
>    > create an root directory there?
> make-fai-nfsroot does much more than just calling debootstrap. So it
> will not work if you just install the kernel into the nfsroot.


Well, I got it to work but I don't know why. It seems to be some kind of 
wierdness in debootstrap.  From my make-fai-nfsroot.config file:

# Of course, the original line works:
#FAI_DEBOOTSTRAP_OPTS="--exclude=dhcp-client,info"
#
# And this works:
FAI_DEBOOTSTRAP_OPTS="--arch i386"
#
# But when you combine them, it does not work:
#FAI_DEBOOTSTRAP_OPTS="--arch=i386 --exclude=dhcp-client,info"


I modified  make-fai-nfsroot to show the debootstrap command as it's really 
run, complete with options. Then I cut and pasted it into a terminal window 
so I was running it exactly as make-fai-nfsroot was running it.

# debootstrap --arch=i386 --exclude=dhcp-client,info etch 
/usr/share/fai/nfsroot http://ftp.debian.org/debian
E: No such script: http://ftp.debian.org/debian

Huh? The debootstrap command works withthe --arch arguement or with 
the --exclude argument but not with both.  So as far as i can tell, this is 
not a problem with fai but with debootstrap. Well, I am running sarge on a 
AMD64 machine and trying to create a root with etch





More information about the linux-fai mailing list