i386 nfsroot

linux-service.be bvba guy at linux-service.be
Mon Jul 14 20:08:10 CEST 2014


Op maandag 14 juli 2014 19:43:49 schreef Holger Parplies:
> Thomas Neumann wrote on 2014-07-14 19:26:24 +0200 [Re: i386 nfsroot]:
> > On Monday 14 July 2014 19:09:26 Holger Parplies wrote:
> > > If the rationale is to *force* people to edit the setting (to prevent
> > > putting too much load on the default server(s)),
> > 
> > If that is the only reason then why not use http://cdn.debian.net/ instead?
> 
> Hmm. Googling 'cdn.debian.net' turns up http://http.debian.net which states
> 
> 	If you are familiar with cdn.debian.net you should think of
> 	http.debian.net as a superior replacement. 
> 
> In fact, if I try to access http://http.debian.net/debian/, I am correctly
> redirected to a mirror (I had tried without the trailing slash before, which
> did *not* work). So, the value *does* seem to be correct, and I must wonder
> what kind of problems the OP might have encountered (broken mirror?). I did
> not try debootstrapping wheezy with the setting right now, but there *was* a
> wheezy update released on Saturday, so mirror inconsistency seems a possible
> explanation. I recommend trying again :).
> 
> Regards,
> Holger
> 
> 


see errors below
setting the mirror as wheezy http://ftp.belnet.be/debian in nfsroot.conf
builds a i386 mirror correct.

# See fai.conf(5) for detailed information.

# Account for saving log files and calling fai-chboot.
LOGUSER=root
FAI_LOGPROTO=ssh
LOGSERVER=fai
# URL to access the fai config space
# If undefined, use default nfs://<install server>/$FAI_CONFIGDIR
#FAI_CONFIG_SRC=nfs://yourservername/path/to/config/space
FAI_CONFIG_SRC=nfs://192.168.5.1/srv/fai/config-i386
FAI=/var/lib/fai/config


# For a detailed description see nfsroot.conf(5)

# "<suite> <mirror>" for debootstrap
FAI_DEBOOTSTRAP="wheezy http://http.debian.net/debian"
FAI_ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1'

NFSROOT=/srv/fai/nfsroot-i386
TFTPROOT=/srv/tftp/fai
NFSROOT_HOOKS=/etc/fai/nfsroot-hooks/
FAI_DEBOOTSTRAP_OPTS="--arch i386 --exclude=info"
NFSROOT_ETC_HOSTS="192.168.5.1 fai"
# Configuration space
FAI_CONFIGDIR=/srv/fai/config-i386



errors:

Setting up dracut (038-1) ...
dracut: Generating /boot/initrd.img-3.2.0-4-686-pae
dpkg: error processing dracut (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-3.2.0-4-686-pae:
 linux-image-3.2.0-4-686-pae depends on initramfs-tools (>= 0.99~) | linux-initramfs-tool; however:
  Package initramfs-tools is not installed.
  Package linux-initramfs-tool is not installed.
  Package dracut which provides linux-initramfs-tool is not configured yet.


dpkg: error processing linux-image-686 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 dracut
 dracut-network
 linux-image-3.2.0-4-686-pae
 linux-image-686-pae
 linux-image-686
ERROR: 256 256
ERROR: chroot /srv/fai/nfsroot-i386 dpkg --configure --pending return code 1
install_packages: executing chroot /srv/fai/nfsroot-i386 dpkg -C
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 linux-image-686      Linux for modern PCs (dummy package)
 linux-image-686-pae  Linux for modern PCs (meta-package)
 dracut-network       Low-level tool for generating an initramfs image
 linux-image-3.2.0-4-686-pae Linux 3.2 for modern PCs

The following packages are only half configured, probably due to problems
configuring them the first time.  The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 dracut               Low-level tool for generating an initramfs image

install_packages: executing chroot /srv/fai/nfsroot-i386 apt-get clean
2 errors during executing of commands
Log file written to /var/log/fai/fai-make-nfsroot.log
root at fai:~# 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20140714/f5d6b268/attachment-0001.html>


More information about the linux-fai mailing list