Package: live-initramfs Version: 1.110.7-1 Severity: normal Following generation of a debian-live system with live-helper, following the instructions at
http://wiki.debian.org/DebianLive/Howto/Creating_a_Netboot_Image http://wiki.debian.org/DebianLive/Howto/Creating_a_Test_environment we have set up a server with working - DHCP (dhcp3-server, including necessary bootp/PXE bits) - TFTP (tftpd-hpa) - NFS (nfs-kernel-server) The DHCP server is working correctly. The clients are requesting the correct files from the TFTP server, and the pxelinux boot menu appears. pxelinux is getting the correct vmlinuz and initrd images, and successfully booting the kernel. However, once the root filesystem is mounted, the scripts fail to mount filesystems and copy files within either the real root filesystem or the union overlay (I'm not sure which). This results in failure to complete startup because /sbin/init can't be found. The complete log is shown below, with errors appearing as early as line 13. Using the busybox initramfs shell, the NFS root was mounted on /root/live/image, with /live/image being completely empty (no mounts on it). The /scripts/live script has hardcoded mount/umount commands referring to /root, e.g. /root/sys, but the commands fail because there is no filesystem mounted at this location. We tried fixing up the script to see if the problem was easily fixable, but could not find where the lh_ commands source the scipts/live script from. Modifying the copy under /usr/share/initramfs... did not seem to work (either on the host system or in chroot/). If you have any suggestions of what might be wrong here, or would like and assistance doing any testing, please let us know. Thanks, Roger Begin: Running /scripts/live-premount ... Done. IP-Config: eth0 hardware address 00:01:02:d8:7c:37 mtu 1500 DHCP RARP IP-Config: eth0 complete (from 192.168.1.1): address: 192.168.1.254 broadcast: 192.168.1.255 netmask: 255.255.255.0 gateway: 192.168.1.1 dns0 : 144.32.128.242 dns1 : 144.32.128.243 domain : cscipc002.york.ac.uk rootserver: 192.168.1.1 rootpath: filename : pxelinux.0 Begin: Trying netboot from 192.168.1.1:/nfsroot/debian-live ... Begin: Trying nfsmount -o nolock -o ro 192.168.1.1:/nfsroot/debian-live /live/image ... Done. Done. Begin: Running /scripts/live-bottom ... Begin: Copying config on real root fs... ... cp: unable to open `/root/etc/live.conf': No such file or directory Done. Begin: Setting timezone... ... chroot: cannot execute debconf-communicate: No such file or directory cp: /root/usr/share/zoneinfo/UTC: No such file or directory Done. Begin: Moving mount points... ... Done. Begin: Adding live session user... ... chroot: cannot execute debconf-communicate: No such file or directory chroot: cannot execute /usr/bin/env: No such file or directory chroot: cannot execute debconf-communicate: No such file or directory Done. Begin: Configuring fstab... ... /scripts/live-bottom/12fstab: /scripts/live-bottom/12fstab: 36: cannot create /root/etc/fstab: Directory nonexistent Done. Begin: Setting up swap... ... Done. Begin: Setting up locales... ... grep: /root/usr/share/i18n/SUPPORTED: No such file or directory /scripts/live-bottom/14locales: /scripts/live-bottom/14locales: 108: log_warning_message: not found /scripts/live-bottom/14locales: /scripts/live-bottom/14locales: 1: cannot create /root/etc/default/locale: Directory nonexistent /scripts/live-bottom/14locales: /scripts/live-bottom/14locales: 1: cannot create /root/etc/locale.gen: Directory nonexistent chroot: cannot execute /usr/sbin/locale-gen: No such file or directory Done. Begin: Setting up automatic login... ... chroot: cannot execute [: No such file or directory chroot: cannot execute [: No such file or directory Done. Begin: Setting hostname... ... /scripts/live-bottom/18hostname: /scripts/live-bottom/18hostname: 34: cannot create /root/etc/hostname: Directory nonexistent /scripts/live-bottom/18hostname: /scripts/live-bottom/18hostname: 37: cannot create /root/etc/hosts: Directory nonexistent Done. Begin: Setting up console keyboard... ... chroot: cannot execute /usr/sbin/install-keymap: No such file or directory chroot: cannot execute debconf-communicate: No such file or directory chroot: cannot execute debconf-communicate: No such file or directory chroot: cannot execute debconf-communicate: No such file or directory chroot: cannot execute debconf-communicate: No such file or directory Done. Begin: Configuring X... ... mount: Mounting /sys on /root/sys failed: No such file or directory mount: Mounting /proc on /root/proc failed: No such file or directory mount: Mounting /dev on /root/dev failed: No such file or directory chroot: cannot execute debconf-communicate: No such file or directory /bin/live-reconfigure: package 'xserver-xorg' is not installed umount: Couldn't umount /root/sys: No such file or directory umount: Couldn't umount /root/proc: No such file or directory umount: Couldn't umount /root/dev: No such file or directory Done. Begin: Configuring X kludges... ... Done. Begin: Configuring gnome-panel-data... ... Done. Begin: Configuring screensaver... ... Done. Begin: Preconfiguring /etc/modules... ... Done. Begin: Preconfiguring networking... ... /scripts/live-bottom/23networking: /scripts/live-bottom/23networking: 44: cannot create /root/etc/network/interfaces: Directory nonexistent /scripts/live-bottom/23networking: /scripts/live-bottom/23networking: 129: cannot create /root/etc/network/interfaces: Directory nonexistent cp: unable to open `/root/var/log/netboot.config': No such file or directory /scripts/live-bottom/23networking: /scripts/live-bottom/23networking: 129: cannot create /root/etc/resolv.conf: Directory nonexistent /scripts/live-bottom/23networking: /scripts/live-bottom/23networking: 129: cannot create /root/var/log/netboot.config: Directory nonexistent Done. Begin: Loading preseed file... ... chroot: cannot execute debconf-communicate: No such file or directory Done. Begin: Setting up init... ... sed: /root/etc/pam.d/login: No such file or directory Done. Begin: Configuring accessibility options... ... Done. Begin: Disabling update-notifier... ... chroot: cannot execute dpkg-divert: No such file or directory ln: /root/usr/lib/update-notifier/apt-check: No such file or directory Done. Begin: Configuring power management... ... Done. Begin: Enabling notifications about program crashes... ... Done. Begin: Disabling kpersonalizer... ... chroot: cannot execute /usr/bin/which: No such file or directory Done. Begin: Disabling kwallet... ... Done. Begin: Fixing language selector... ... Done. Begin: Disabling trackerd... ... Done. Begin: Disabling restricted-manager... ... sed: /root/etc/default/linux-restricted-modules-common: No such file or directory Done. Begin: Adding APT-CDROM source... ... chroot: cannot execute apt-cdrom: No such file or directory Done. Begin: Disabling AppArmor (does not work with stacked file systems)... ... chroot: cannot execute update-rc.d: No such file or directory Done. Done. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (990, 'unstable') Architecture: powerpc (ppc) Kernel: Linux 2.6.23-1-powerpc Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash _______________________________________________ debian-live-devel mailing list debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel