Package: fai-server
Version: 4.0.3
Severity: normal

i've applied all workaround in fai-make-nfsroot and overlay.sh inside the 
nfsroot and even after this fai-cd don't work

in fai-cd i've made this change and now seems to work; is a dir location problem

this is a dirty workaround.


# check if dracut or live-boot is used
#if [ -d $ONFSROOT/live ]; then
    hidedirs="$hidedirs /boot"
    mkdir -p $tmp/live/filesystem.dir
    nfsrootdir=$tmp/live/filesystem.dir
    mount -t aufs -o noatime,noxino,dirs=$cow=rw:$ONFSROOT=rr aufs $nfsrootdir  
&& echo "NFSROOT      $NFSROOT   mounted"

#       echo "$hidedirs"
#        echo "$tmp"
#        echo "$ONFSROOT"
#        echo "$nfsrootdir"

#else
#    # things to do for dracut
#    nfsrootdir=$tmp
#    mount -t aufs -o noatime,noxino,dirs=$cow=rw:$ONFSROOT=rr aufs $nfsrootdir 
 && echo "NFSROOT      $NFSROOT   mounted"
#    echo "Found dracut inside nfsroot, but booting a FAI CD with dracut inside 
the nfsrroot does not yet work." >&2
#fi


bye


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing'), (650, 'unstable'), (600, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fai-server depends on:
ii  debootstrap  1.0.42
ii  fai-client   4.0.3

Versions of packages fai-server recommends:
ii  isc-dhcp-server                   4.2.2.dfsg.1-5+deb70u2
ii  libproc-daemon-perl               0.14-1
ii  nfs-kernel-server                 1:1.2.6-3
ii  openbsd-inetd [inet-superserver]  0.20091229-2
ii  openssh-client                    1:6.0p1-3
ii  openssh-server                    1:6.0p1-3
ii  tftpd-hpa                         5.2-4

Versions of packages fai-server suggests:
ii  aptitude     0.6.8.1-2
pn  debmirror    <none>
ii  genisoimage  9:1.1.11-2
pn  grub         <none>
pn  perl-tk      <none>
ii  reprepro     4.12.4-1

-- Configuration Files:
/etc/fai/NFSROOT changed:
PACKAGES aptitude
nfs-common fai-nfsroot module-init-tools ssh rdate lshw rpcbind
rsync lftp less dump reiserfsprogs e2fsprogs usbutils
hwinfo psmisc pciutils hdparm smartmontools parted mdadm lvm2
dnsutils ntpdate dosfstools xfsprogs xfsdump
procinfo numactl dialog
console-tools #console-common
console-setup #console-setup-linux
iproute udev subversion
xz-utils
cupt
vim mc htop nload
mlocate
locales
live-boot live-boot-initramfs-tools initramfs-tools aufs-tools 
module-init-tools kmod
linux-image-amd64
grub

/etc/fai/apt/sources.list changed:
deb http://cdn.debian.net/debian wheezy main contrib non-free
deb http://security.debian.org/debian-security wheezy/updates main contrib 
non-free
deb http://fai-project.org/download wheezy koeln
deb http://cdn.debian.net/debian/ sid main contrib non-free

/etc/fai/grub.cfg changed:
set default="FAI rescue system, no installation"
set timeout=20
set superusers="grub"
if loadfont /boot/grub/ascii.pf2 ; then
   insmod png
   set gfxmode=640x480
   insmod gfxterm
   insmod vbe
   terminal_output gfxterm
fi
if background_image /boot/grub/fai.png ; then
  set color_normal=black/black
  set color_highlight=red/black
  set menu_color_normal=black/black
  set menu_color_highlight=black/yellow
else
  set menu_color_normal=white/black
  set menu_color_highlight=black/yellow
fi
insmod part_msdos
insmod part_gpt
if [ ${iso_path} ] ; then
    set loopback="findiso=${iso_path}"
fi
menuentry "Boot OS of first partition on first disk" {
    set root=(hd0,1)
    chainloader +1
}
menuentry "FAI rescue system, no installation" {
    set gfxpayload=800x600
    linux /boot/vmlinuz boot=live FAI_FLAGS="verbose,createvt,sshd" 
FAI_ACTION=sysinfo hostname=rescue
    initrd /boot/initrd.img
}
menuentry "FAI rescue system, no installation" {
    set gfxpayload=800x600
    linux /boot/vmlinuz boot=live FAI_FLAGS="verbose,createvt,sshd" 
FAI_ACTION=sysinfo hostname=rescue
    initrd /boot/initrd.img
}

/etc/fai/nfsroot.conf changed:
FAI_DEBOOTSTRAP="wheezy http://cdn.debian.net/debian";
FAI_ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1'
NFSROOT=/srv/fai/nfsroot
TFTPROOT=/srv/tftp/fai
NFSROOT_HOOKS=/etc/fai/nfsroot-hooks/
FAI_DEBOOTSTRAP_OPTS="--exclude=info"
FAI_CONFIGDIR=/srv/fai/config


-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to