Package: fai-server
Version: 3.4.8
Severity: normal

[crossposted from [email protected]]

currently I am creating a fai-image for a customized Debian squeeze
distribution, which shall be bootable from an USB stick.
I can boot this distribution through PXE. I can also create an ISO
image, burn it on CD and boot without problems. If however I put the
exact same image onto an USB stick, and I boot from there, I get a
kernel panic.
This works:
create debian mirror using fai-mirror -c... /var/www/debmirror
fai-cd -m /var/www/debmirror /tmp/demo.iso
then burning on CD, then booting, everything works fine.

This does not work:
same steps as before.
fai-cd -m /var/www/debmirror -u /media/stick
then booting from USB stick, I get a kernel panic (see below).

I also tried with the ISO image for i386 and amd64, (using FAI 3.4.8, kernel
2.6.32, size 563MB, http://fai-project.org/fai-cd/faicd-3.4.8.iso and
http://fai-project.org/fai-cd/faicd64-3.4.8.iso) and
transferred that on my USB stick as described in paragraph
"FAI CD on a USB stick (using grub2)" on page http://fai-project.org/fai-cd/
but I get the same kernel panic
(...snip...)
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have requested /sbin/init.
/init: line 276: 6: Bad file descriptor
[    7.815880] Kernel panic - not syncing: Attempt to kill init!
(...snip...)

I am using fai-3.4.8 (from testing) on a fresh Debian Squeeze amd64
installation. Before I used version fai-*-3.4.7 from stable, but in
order to create a CD ISO image, a component was missing (I forgot
which one), therefore I switched to version 3.4.8.



-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages fai-server depends on:
ii  debootstrap              1.0.26+squeeze1 Bootstrap a basic Debian system
ii  fai-client               3.4.8           Fully Automatic Installation clien

Versions of packages fai-server recommends:
ii  fai-setup-storage   3.4.8                automatically prepare storage devi
ii  isc-dhcp-server [dh 4.1.1-P1-15+squeeze2 ISC DHCP server for automatic IP a
ii  libproc-daemon-perl 0.03-2               Run Perl program as a daemon proce
ii  nfs-kernel-server   1:1.2.2-4            support for NFS kernel server
ii  openbsd-inetd [inet 0.20080125-6         The OpenBSD Internet Superserver
ii  openssh-client      1:5.5p1-6            secure shell (SSH) client, for sec
ii  openssh-server      1:5.5p1-6            secure shell (SSH) server, for sec
ii  syslinux-common     2:4.02+dfsg-7        collection of boot loaders (common
ii  tftpd-hpa           5.0-18               HPA's tftp server

Versions of packages fai-server suggests:
ii  apt-move                     4.2.27-1+b7 Maintain Debian packages in a pack
ii  aptitude                     0.6.3-3.2   terminal-based package manager (te
ii  debmirror                    1:2.4.5     Debian partial mirror script, with
ii  genisoimage                  9:1.1.11-1  Creates ISO-9660 CD-ROM filesystem
pn  grub                         <none>      (no description available)
pn  perl-tk                      <none>      (no description available)

-- Configuration Files:
/etc/fai/apt/sources.list changed:
deb http://cdn.debian.net/debian squeeze main contrib non-free
deb http://security.debian.org/debian-security squeeze/updates main contrib 
non-free
deb http://localhost/clazzes squeeze-fancylibs-2 main
deb http://localhost/ev-i squeeze-mokon-4.3 main

/etc/fai/grub.cfg changed:
set default=4
set timeout=20
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 "+------------------------------------------------------+" {
    set gfxpayload=1024x768
    linux   /boot/vmlinuz boot=live
}
menuentry "|    FAI-CD        (c) ASDIS automatic installation  |" {
    set gfxpayload=1024x768
    linux   /boot/vmlinuz boot=live
}
menuentry "| _VERSIONSTRING_ |" {
    set gfxpayload=1024x768
    linux   /boot/vmlinuz boot=live
}
menuentry "+------------------------------------------------------+" {
    set gfxpayload=1024x768
    linux   /boot/vmlinuz boot=live
}
menuentry "Fully Automatic Installation - asdisdemo" {
    set gfxpayload=1024x768
    linux   /boot/vmlinuz boot=live FAI_FLAGS="verbose,createvt" 
FAI_ACTION=install hostname=asdisdemo
    initrd  /boot/initrd.img
}

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


-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to